linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: Li Jun <jun.li@nxp.com>, shawnguo@kernel.org
Cc: s.hauer@pengutronix.de, kernel@pengutronix.de,
	festevam@gmail.com,  linux-imx@nxp.com,
	laurent.pinchart@ideasonboard.com, aford173@gmail.com,
	 marex@denx.de, martink@posteo.de,
	linux-arm-kernel@lists.infradead.org,  xu.yang_2@nxp.com
Subject: Re: [PATCH] soc: imx: gpcv2: add GENPD_FLAG_ACTIVE_WAKEUP flag for usb of imx8mm/n
Date: Tue, 25 Oct 2022 09:14:40 +0200	[thread overview]
Message-ID: <ad3ce3b823f062ef30df5116985a89c0e307aed6.camel@pengutronix.de> (raw)
In-Reply-To: <1666577916-32650-1-git-send-email-jun.li@nxp.com>

Am Montag, dem 24.10.2022 um 10:18 +0800 schrieb Li Jun:
> To keep the power domain on if usb remote wakeup is enabled, add the
> GENPD_FLAG_ACTIVE_WAKEUP for otg1/2 of imx8mm/n.
> 
> Signed-off-by: Li Jun <jun.li@nxp.com>

Reviewed-by: Lucas Stach <l.stach@pengutronix.de>

> ---
>  drivers/soc/imx/gpcv2.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/soc/imx/gpcv2.c b/drivers/soc/imx/gpcv2.c
> index 88aee59730e3..7a47d14fde44 100644
> --- a/drivers/soc/imx/gpcv2.c
> +++ b/drivers/soc/imx/gpcv2.c
> @@ -755,6 +755,7 @@ static const struct imx_pgc_domain imx8mm_pgc_domains[] = {
>  	[IMX8MM_POWER_DOMAIN_OTG1] = {
>  		.genpd = {
>  			.name = "usb-otg1",
> +			.flags = GENPD_FLAG_ACTIVE_WAKEUP,
>  		},
>  		.bits  = {
>  			.pxx = IMX8MM_OTG1_SW_Pxx_REQ,
> @@ -766,6 +767,7 @@ static const struct imx_pgc_domain imx8mm_pgc_domains[] = {
>  	[IMX8MM_POWER_DOMAIN_OTG2] = {
>  		.genpd = {
>  			.name = "usb-otg2",
> +			.flags = GENPD_FLAG_ACTIVE_WAKEUP,
>  		},
>  		.bits  = {
>  			.pxx = IMX8MM_OTG2_SW_Pxx_REQ,
> @@ -1232,6 +1234,7 @@ static const struct imx_pgc_domain imx8mn_pgc_domains[] = {
>  	[IMX8MN_POWER_DOMAIN_OTG1] = {
>  		.genpd = {
>  			.name = "usb-otg1",
> +			.flags = GENPD_FLAG_ACTIVE_WAKEUP,
>  		},
>  		.bits  = {
>  			.pxx = IMX8MN_OTG1_SW_Pxx_REQ,



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-10-25  7:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-24  2:18 [PATCH] soc: imx: gpcv2: add GENPD_FLAG_ACTIVE_WAKEUP flag for usb of imx8mm/n Li Jun
2022-10-25  7:14 ` Lucas Stach [this message]
2022-10-29  8:21 ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ad3ce3b823f062ef30df5116985a89c0e307aed6.camel@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=aford173@gmail.com \
    --cc=festevam@gmail.com \
    --cc=jun.li@nxp.com \
    --cc=kernel@pengutronix.de \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=marex@denx.de \
    --cc=martink@posteo.de \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    --cc=xu.yang_2@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).