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 30F42C433EF for ; Thu, 7 Apr 2022 18:06:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231749AbiDGSIs (ORCPT ); Thu, 7 Apr 2022 14:08:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234770AbiDGSIo (ORCPT ); Thu, 7 Apr 2022 14:08:44 -0400 Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC1371E8CC4 for ; Thu, 7 Apr 2022 11:06:43 -0700 (PDT) Received: by mail-pg1-x52b.google.com with SMTP id s137so2886965pgs.5 for ; Thu, 07 Apr 2022 11:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zsMzuXd+r/gGNu25Y2YqB8KwP80W1Nu0q91qDYpe8G8=; b=EsZrsDrKDDnH2WosGK6v464NbIxx8Do5CMKlCNXQE/QXA386Xrzpt+4hqdy8gO/viE Wb5DTVPupHc2/bvEbty2T9hFk5MlVsPxDUK+L7Xwxgo6sDLvTTz9gSdWWUXX/QrvEmfk v+FQXq0mnnW4PD8xC3bTIfJQ7oKm1nccD+OhY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zsMzuXd+r/gGNu25Y2YqB8KwP80W1Nu0q91qDYpe8G8=; b=1k2nv97ClxQnOtmQz0QPqfboZipg/4p4O54dHJSfrNJ/ZBX5yIzkCHpbdFGHCzPCyR JBJhnYZa/fUSoIdwDuicDO6ybPEhnPNATy47Pm4IYtqsFt+nCFJnWDmwWR1zbac9cOQu pZX9cRB+r5fTeafWK1BmHTBF5wx1k346kbn9EeXQq74KIFsdX8tTpCr6Flefm3lTxGHM Gu1zzRNzZVz7UVcGsBQRN4CJYTvxnILgIOvp9gd4QSyBAf3KfBWDbKuCoc3L4/Ss3Ye1 lTgySHpu6zGmB5SREXUvdBk8lzzV2RVe4Y99ad4qaIISWg3lrjMo3tK4+4QffRtVbYvZ IKyw== X-Gm-Message-State: AOAM532UNcd7mJzPmvm4IJUGH1qb1fizoLRVLzTM6AO89EadyNM/dtxW MOA28NvUf+pK7xMXRdSin9vr+PA0fdJBdg== X-Google-Smtp-Source: ABdhPJygNkNjwnBFdsduVzGuUGdmQn/+8t2Hpw8qCogNXLLlj0/CsjD/AY2ipAum3jC39PZtDfML4w== X-Received: by 2002:a63:f4e:0:b0:382:1e31:79e8 with SMTP id 14-20020a630f4e000000b003821e3179e8mr12532181pgp.167.1649354803124; Thu, 07 Apr 2022 11:06:43 -0700 (PDT) Received: from localhost ([2620:15c:202:201:693e:9ca0:42a0:6bf7]) by smtp.gmail.com with UTF8SMTPSA id n19-20020a62e513000000b005048eef5827sm3940718pff.142.2022.04.07.11.06.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Apr 2022 11:06:42 -0700 (PDT) Date: Thu, 7 Apr 2022 11:06:40 -0700 From: Matthias Kaehlcke To: Sandeep Maheswaram Cc: Rob Herring , Andy Gross , Bjorn Andersson , Greg Kroah-Hartman , Felipe Balbi , Stephen Boyd , Doug Anderson , Mathias Nyman , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, quic_pkondeti@quicinc.com, quic_ppratap@quicinc.com, quic_kriskura@quicinc.com, quic_vpulyala@quicinc.com Subject: Re: [PATCH v12 6/6] arm64: dts: qcom: sc7280: Add wakeup-source property for USB node Message-ID: 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=utf-8 Content-Disposition: inline In-Reply-To: <1649321104-31322-7-git-send-email-quic_c_sanm@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.