From patchwork Thu Sep 1 17:29:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 602459 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 13977ECAAD1 for ; Thu, 1 Sep 2022 17:30:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233404AbiIARaA (ORCPT ); Thu, 1 Sep 2022 13:30:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232448AbiIAR35 (ORCPT ); Thu, 1 Sep 2022 13:29:57 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D45DDDF9E for ; Thu, 1 Sep 2022 10:29:54 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id 145so17755899pfw.4 for ; Thu, 01 Sep 2022 10:29:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=aEdHMfIGdtLpgQABmHB5FAb5y4ZWlHDUTnfIlMSvXfY=; b=BYFUvve325d13qmtzzWxYDe2qdOVUiCzyah59NhIi3R4+yxdWwUUsCx/IgGmZVBFGL E97lIyPk0InE4KS8d1W8wmOHAGdghOCobSx2/Ghy/c8mZ959oaMWMEJ6u7ic7wA9H6lG jq2ivBKrZAfnI7+LpLTlpUy62ULMyrpMG6Fe4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=aEdHMfIGdtLpgQABmHB5FAb5y4ZWlHDUTnfIlMSvXfY=; b=Qaiht3iUJ5KIq5Js3kelWg1tuBmuHsvAGuwYCw46lHvCIiof6xlqG9fPFstMi0IICY 9Zej/Zm531O9UAE0wRXI9V4jjJNmAwJE/qUZsZryQ2kiXffxlQ4GKPJ31ojqEwKTaa60 FcSsdBQPfInULfAtByUVQqeoJ1vYmzxqZVWXjmX9t26RVwQmSUc9uBLwRLWmeguSgRtf 9/UKgTyH6RBXfOkcKnWt+QKMjQINrLMPWinkDzmS6m5+m2JjXa1GW87AIJVN/+0kAJ/i Wi1aGeUWuYqSf9PmsAGNR1IV5rSQ1p5U5LHrXMZmYrE1VedORwfjRau+YO+l8LAJW9jQ v73Q== X-Gm-Message-State: ACgBeo2vzP9nan2b8Baoy6J9HuA4OQXqqiS33UDa4UetQ0CyMbLKtfPf +Mtuw9yB0kufFLJ243pEfNzAkshXMr2XYg== X-Google-Smtp-Source: AA6agR41hr8BNob0m3jPe5drjS5xktzGPZfgiELVke4qhZdqfmbWfo9tbzS0Vle0ZWaUXbrGOVCA2w== X-Received: by 2002:a65:5889:0:b0:428:90f3:6257 with SMTP id d9-20020a655889000000b0042890f36257mr27637380pgu.590.1662053394413; Thu, 01 Sep 2022 10:29:54 -0700 (PDT) Received: from localhost ([2620:15c:11a:202:34cd:3659:c11f:5d05]) by smtp.gmail.com with UTF8SMTPSA id f5-20020a170902684500b00172f6726d8esm14193442pln.277.2022.09.01.10.29.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Sep 2022 10:29:54 -0700 (PDT) From: Matthias Kaehlcke To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: Douglas Anderson , linux-arm-msm@vger.kernel.org, Krishna Kurapati , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Matthias Kaehlcke Subject: [PATCH v2] arm64: dts: qcom: sc7180: Configure USB as wakeup source Date: Thu, 1 Sep 2022 10:29:50 -0700 Message-Id: <20220901102946.v2.1.I347ea409ee3134bd32a29e33fecd1a6ef32085a0@changeid> X-Mailer: git-send-email 2.37.2.789.g6183377224-goog MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org The dwc3 USB controller of the sc7180 supports USB remote wakeup, configure it as a wakeup source. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- Changes in v2: - use qcom/arm64-for-6.1 as base, v1 was unintendedly based on a downstream branch that was used for testing arch/arm64/boot/dts/qcom/sc7180.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi index e8debb0da411..af5bab27eaf3 100644 --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi @@ -2782,6 +2782,8 @@ usb_1: usb@a6f8800 { <&gem_noc MASTER_APPSS_PROC 0 &config_noc SLAVE_USB3 0>; interconnect-names = "usb-ddr", "apps-usb"; + wakeup-source; + usb_1_dwc3: usb@a600000 { compatible = "snps,dwc3"; reg = <0 0x0a600000 0 0xe000>;