From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6BA9ECAAD5 for ; Thu, 1 Sep 2022 17:25:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230136AbiIARZp (ORCPT ); Thu, 1 Sep 2022 13:25:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35304 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233080AbiIARZo (ORCPT ); Thu, 1 Sep 2022 13:25:44 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58B33326E2 for ; Thu, 1 Sep 2022 10:25:43 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id q15so12725768pfn.11 for ; Thu, 01 Sep 2022 10:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=b7m23koJ1VppwfdVnRo0EjHn4J3Xyy4vt6H6+/PQAvc=; b=Mtu6yhsvW8qiKbyEly7EpT1duLSR1DH5Xjg+oh1zWg4osVtwVvkuniTTXCxk7YysNU /stFYJp+dxJTmgFqtMSuTLfClSNXUj1S+a4sBMJJ/6YePuflPUzI7lq3P+YvUDal9FB1 K2FYWmgbKDpZld2MLf+NS/szmQ7c19keXbZcM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=b7m23koJ1VppwfdVnRo0EjHn4J3Xyy4vt6H6+/PQAvc=; b=dkEqjoYFVyDClT/jXPCsdLZNdXgkF9yVUdxe5RWC9TXUM87cbi6bsilhN/Co4Dl85L TUr5CPDYeO8XGfgC7C6r32Ih6hBsNdqDEm5Gb7PALIl+2AQxKxC4zStGaw2rn51qgAWl lyNke14jSKnoty7gXe84/D8SJJaTZs4pPm9nf9P+bKjJArPgcWfrCDqm4XLID93WlKzt tYEuiOXN01s2hV7Gu5iSjosz1FwR/w9Adz54nNnY7iX0ibFJuGoM3u948mVyWDKrx5RX E5oLzVeKHJXbUJ3BhPjr/2SSeg3dGZl4fi/8dW78Qi5ybv872K3JiyV256d0qfZgWD7D nDiA== X-Gm-Message-State: ACgBeo0EiscN1dkXisKuyR/N+WQ/4eJHKLGGX5bL5OyvRcvZqLOmFyvc 0h+TOcCYxQYlHwZFDftGyJUViA== X-Google-Smtp-Source: AA6agR6lKIv9iH6jOojdIWEvRNKtfkVnpIQauHMaIBrvj9jiSNYExlbDTYtiTUYW1ZzzKIyOMj7qFA== X-Received: by 2002:a05:6a00:a05:b0:534:b1ad:cfac with SMTP id p5-20020a056a000a0500b00534b1adcfacmr31672604pfh.35.1662053142874; Thu, 01 Sep 2022 10:25:42 -0700 (PDT) Received: from localhost ([2620:15c:11a:202:34cd:3659:c11f:5d05]) by smtp.gmail.com with UTF8SMTPSA id n6-20020a170903110600b0016ee26224a4sm9084805plh.305.2022.09.01.10.25.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 10:25:42 -0700 (PDT) Date: Thu, 1 Sep 2022 10:25:41 -0700 From: Matthias Kaehlcke To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Krishna Kurapati , Douglas Anderson , devicetree@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: sc7180: Configure USB as wakeup source Message-ID: References: <20220901101658.1.I347ea409ee3134bd32a29e33fecd1a6ef32085a0@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220901101658.1.I347ea409ee3134bd32a29e33fecd1a6ef32085a0@changeid> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Thu, Sep 01, 2022 at 10:17:03AM -0700, Matthias Kaehlcke wrote: > The dwc3 USB controller of the sc7180 supports USB remote > wakeup, configure it as a wakeup source. > > Signed-off-by: Matthias Kaehlcke > --- > > arch/arm64/boot/dts/qcom/sc7180.dtsi | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi > index 2d1f38342858..507718f309e1 100644 > --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > @@ -2780,7 +2780,9 @@ usb_1: usb@a6f8800 { > <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3 0>; > interconnect-names = "usb-ddr", "apps-usb"; > > - usb_1_dwc3: dwc3@a600000 { > + wakeup-source; > + > + usb_1_dwc3: usb@a600000 { Please disregard this version, it is based on a downstream branch which I used for testing. > compatible = "snps,dwc3"; > reg = <0 0x0a600000 0 0xe000>; > interrupts = ; > -- > 2.37.2.789.g6183377224-goog >