mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
soc: imx: gpcv2: add GENPD_FLAG_ACTIVE_WAKEUP flag for usb of imx8mm/n
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> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
parent
d9b98063c3
commit
98572487e5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user