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 4226AECAAD1 for ; Thu, 1 Sep 2022 17:25:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233160AbiIARZp (ORCPT ); Thu, 1 Sep 2022 13:25:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbiIARZo (ORCPT ); Thu, 1 Sep 2022 13:25:44 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57B982F642 for ; Thu, 1 Sep 2022 10:25:43 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id y127so18120637pfy.5 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=XZsXBzvYi2e/jPPQeaggVKj9dLvb0Yj74WrylDL6q17ykwOlIJyQkF9QqtoiMGf2Y9 0uGyurITLm+++M1KqE0N/mqljC1rIoSYSh5OQyntJ8uniXgxKsr82DtudQA6CMebL468 HSVECxPdQsgdCcG7BoviaxNgm7FZ6XOPVDXqRJshxUsR+wJ5qfa8JIEUlnOOa9rxUIiS D8kkGtWkaddoKqQ9bomG53QTzP388Snd2oK20U/NoNNQm5UT61l/INxaTeZc5namXUCE 3YFj1Mi+qD4vIDhi01tuVC9OWs5BNjdfYsfREendZzJC1lwxRoOGJV4Zr3AISAWWVJzP dniw== X-Gm-Message-State: ACgBeo31GkbSiFlSlDMYClOf7AJ6riH3TmU2gavRKWO8FgPxMk5mS3EF HMq8joCaa0rRy1kQmSRbA4N/+g== 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: linux-arm-msm@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 >