Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1020017rwe; Thu, 1 Sep 2022 11:06:46 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Zfwar0mciRyQaXv40clSLyGnuF5R7+WUbndXLCLNXi2xCD90o8j1i0vy37h+dMl/z6oM7 X-Received: by 2002:a05:6402:538a:b0:43a:298e:bc2b with SMTP id ew10-20020a056402538a00b0043a298ebc2bmr29366936edb.125.1662055606373; Thu, 01 Sep 2022 11:06:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662055606; cv=none; d=google.com; s=arc-20160816; b=mzI+K1DjICUGT8aACAjy20VE0hQ0HBHzzdlxQUzYuII0XMxuH1tvWwh7RNkIa7qKyt 8nFDIhP0yPIOH+rQdCOaY06L5IqQu/37XedqSahoRv2u7Baub1kBx50COMbYx++F2Hb4 p+cBOQbu22ld+hwlsek4zUDuL5nYeUSdT8nHHLdXxL2Kk90bQV57LQFVk8J5mZjJkBLd wtkOpbKZIUzT4P9ZzAytVKR0dQQQX/7VpsKma3cUmPh1+mOrKccVe85nI2ysoZKLF33R IY3vUmEke+A6ch9PqItt+RW3MBcItfudaFc85i+B7hTuXzC7ujLGqxfnQ/eAw/IhuQDE 7/eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=b7m23koJ1VppwfdVnRo0EjHn4J3Xyy4vt6H6+/PQAvc=; b=VcCZ/ovUC1/gGo+OLpq8XAg9GpOxwYS10uw2RxJ1OJE+FSfXKldYfhOhdok4YU+3OH SbsPaP2Q+PVIrzRnch0zpD4R6ks+03+z5bcRrRgHdpsLGLkc8ik93+6avrbjOB8K4Hu3 SPCevPeWYnPz2xtdbS0v5TmcYrUgfVNFlDeAdhe0boGxVWp9pCiD6WxBXEtBTeX0oqMK u1+zrV6Oy/05dWTqj0PAs6IjEV1jsy9cL+kB6Xg61sPpOFJ/V7yvIlsCNIazgyDq+MR8 GoeljeIWoRoQKo8G6qpz9L/Yu5wp2TbaXbW3xYgtmboFJu1ia2IGfUPSy19tK0TmzcZB WMgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Mtu6yhsv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dd16-20020a1709069b9000b0073d6c93e4d1si11844192ejc.942.2022.09.01.11.06.20; Thu, 01 Sep 2022 11:06:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Mtu6yhsv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233080AbiIARZq (ORCPT + 99 others); Thu, 1 Sep 2022 13:25:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232128AbiIARZo (ORCPT ); Thu, 1 Sep 2022 13:25:44 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 564392E9E2 for ; Thu, 1 Sep 2022 10:25:43 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id z187so18073467pfb.12 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=nz6kIXbQjeh75tLSMT7qRsLJPMs3mRwPvgay0sLy5SIv6Tp2/IrUIXIWnsTXlkZH6i 1tsr/NF5kIGRpED223JfVwCGCUGkKx1V0CM8n0K1oPJOdAyx4bFicUw1UZIV0B2UVyXh xQtoN4dZkhN2T+6Xahn2eQTw3uWptDwl9t9o44mQNs8VcYDVkMgnL5cw8TDuWJX+u3CO G2jxx1+vv8emP+z744nzeHvr4pj7m0WjOj/rYm/BMvj4KVYcPUf6u/Fk8zJRCfE6GqFD CNAOwM/9zvNp4kH2xOhyl9vc1JgCY4p6lG4fQBRDK4gsbbIplQCt86D82FkbMLkehf4u WrDg== X-Gm-Message-State: ACgBeo1vzRV8cGToXhkRAeGl6hzVAULorSM8Ul8IMgweJeT+LR0YBLyE WsgK/d9aFe01zLT7be51ILCo3w== 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> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 >