Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp218091pxh; Thu, 7 Apr 2022 19:30:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxouVllqvgodN5VTl1UzBUDZ/iV+nuJ4U6oaPb+8XlnOFOz4zHeSj2TbF1jGgzyZxk1k57o X-Received: by 2002:a17:90b:1bc6:b0:1c7:3229:652a with SMTP id oa6-20020a17090b1bc600b001c73229652amr19425644pjb.65.1649385045410; Thu, 07 Apr 2022 19:30:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649385045; cv=none; d=google.com; s=arc-20160816; b=pjiNgpBmlF4tsf39Nuo5Iy8m7UxeKipq6QEa/NWJkFy9mY89JPJvHyqoOny77LIaeU /88rXHgvgd1vIOL8XxitvdpLlivzbqxGEH1qpU2VD4i8JiSSdNu5PcrB8n5LSR+9ltGM Yg3Kens9JlNoH/pBgNe5E3F6+fkNNYohKvF2aQCMsHhCj38j/TEsP89oxGUZcger1rRp yAvrBIdpWfXBsnxffzkFXu6Kv9wpF/GdanaEbL6YO1/DX1qnNvvOv8HorfauX/svkPHD RyKtlJYPqs5rtzY9woyQw3rr5LAzeALoZKdK+hvVhkz/d+i8+fflwYJu/IFIrcBlXZID /ccA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=kCtRjmPJHZtKCwSJI0Bb0v75i4UuOAABzuBcCUcdzbU=; b=TQomUGz7Lk0QbO7eUJUOPykKN4IhZiruAZA4ePXUu633uMPGd0QXgyU/iXlUdn5F7k lb/mgG0oFsEfn/ULiOUp12d6EIpZVx2z8NSC22mjJij7+TMFrV4w2x3lSRqCWU4GDR94 eh/DWSthxl2AMlgkwGG3aM8xUN2SYLMLbU56AnjSVRNxTJzHNbRecMoy8VQm+c6k9lbo idIo8W+X8V5NV0wxV6WSc63W+ddg7zyLbOxv9oM+O5FNG4xCrHpyXPbbSt+9NjGH+5HE Ag0bm0MJfUE7qfrXGE0rPSFwd+VpFHBXarzAoqM1C47Ld9MNx+XPbABA/M/fl8UFwtlT IEBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=rvYSB518; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id c17-20020a170903235100b00153d85f77e5si1366406plh.503.2022.04.07.19.30.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 19:30:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=rvYSB518; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7A139AF1FC; Thu, 7 Apr 2022 19:02:57 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233573AbiDHCEy (ORCPT + 99 others); Thu, 7 Apr 2022 22:04:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229726AbiDHCEw (ORCPT ); Thu, 7 Apr 2022 22:04:52 -0400 Received: from alexa-out-sd-02.qualcomm.com (alexa-out-sd-02.qualcomm.com [199.106.114.39]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE30FF1AD0; Thu, 7 Apr 2022 19:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1649383371; x=1680919371; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=kCtRjmPJHZtKCwSJI0Bb0v75i4UuOAABzuBcCUcdzbU=; b=rvYSB518Z0PD/GuoKNUKh2rfcB+w6lV7SWAFrR3jc4AL/Q9a+NDDkyRO 4P0PFD3LO5361ssOlFaJKodSSu2vnnjBJ3yk1g8oNR3l2hN9+q3U6c2SS 7Ur7+1JIU2e9K/X6V9rw1M8wa+1GAciDwdewIeIss9JZFrAZ5WGR1z4Ox o=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-02.qualcomm.com with ESMTP; 07 Apr 2022 19:02:50 -0700 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Apr 2022 19:02:49 -0700 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 7 Apr 2022 19:02:49 -0700 Received: from hu-pkondeti-hyd.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.22; Thu, 7 Apr 2022 19:02:43 -0700 Date: Fri, 8 Apr 2022 07:32:39 +0530 From: Pavan Kondeti To: Matthias Kaehlcke CC: Sandeep Maheswaram , Rob Herring , Andy Gross , Bjorn Andersson , Greg Kroah-Hartman , Felipe Balbi , Stephen Boyd , Doug Anderson , Mathias Nyman , Krzysztof Kozlowski , , , , , , , , Subject: Re: [PATCH v12 6/6] arm64: dts: qcom: sc7280: Add wakeup-source property for USB node Message-ID: <20220408020239.GB26536@hu-pkondeti-hyd.qualcomm.com> References: <1649321104-31322-1-git-send-email-quic_c_sanm@quicinc.com> <1649321104-31322-7-git-send-email-quic_c_sanm@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=no 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, Apr 07, 2022 at 11:06:40AM -0700, Matthias Kaehlcke wrote: > On Thu, Apr 07, 2022 at 02:15:04PM +0530, Sandeep Maheswaram wrote: > > Adding wakeup-source property for USB controller in SC7280. > > This property is added to inform that the USB controller is > > wake up capable and to conditionally power down the phy during > > system suspend. > > > > Signed-off-by: Sandeep Maheswaram > > --- > > arch/arm64/boot/dts/qcom/sc7280.dtsi | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi > > index f0b64be..046262a 100644 > > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > > @@ -2916,6 +2916,7 @@ > > phys = <&usb_1_hsphy>, <&usb_1_ssphy>; > > phy-names = "usb2-phy", "usb3-phy"; > > maximum-speed = "super-speed"; > > + wakeup-source; > > }; > > }; > > Not all SC7280 boards may want to enable wakeup from USB, so this is > probably best configured on a per-board basis. This wakeup capability is provided by the SoC. If a particular board does not want to support, ideally it needs to be disabled from user space. The capability is always there but some platforms choose to disable it. Thanks, Pavan