* [PATCH v3 0/1] phy: fsl-imx8-mipi-dphy: Hook into runtime pm
@ 2020-12-16 18:22 Guido Günther
2021-02-19 9:38 ` Guido Günther
0 siblings, 1 reply; 3+ messages in thread
From: Guido Günther @ 2020-12-16 18:22 UTC (permalink / raw)
To: Kishon Vijay Abraham I, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Robert Chiras, Sam Ravnborg, linux-kernel, linux-arm-kernel
This allows us to shut down the mipi power domain on the imx8. The alternative
would be to drop the dphy from the mipi power domain in the SOCs device tree
and only have the DSI host controller visible there but since the PD is mostly
about the PHY that would defeat it's purpose.
This is basically a resend from February 2020 which went without feedback.
This allows to shut off the power domain hen blanking the LCD panel:
pm_genpd_summary before:
domain status slaves
/device runtime status
----------------------------------------------------------------------
mipi on
/devices/platform/soc@0/soc@0:bus@30800000/30a00300.dphy unsupported
/devices/platform/soc@0/soc@0:bus@30800000/30a00000.mipi_dsi suspended
after:
mipi off-0
/devices/platform/soc@0/soc@0:bus@30800000/30a00300.dphy suspended
/devices/platform/soc@0/soc@0:bus@30800000/30a00000.mipi_dsi suspended
Changes from v1:
- Tweak commit message slightly
Changes from v2:
- As pre review comment by Lucas Stach
https://lore.kernel.org/linux-arm-kernel/ee22b072e0abe07559a3e6a63ccf6ece064a46cb.camel@pengutronix.de/
Check for pm_runtime_get_sync failure
Guido Günther (1):
phy: fsl-imx8-mipi-dphy: Hook into runtime pm
.../phy/freescale/phy-fsl-imx8-mipi-dphy.c | 25 ++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
--
2.29.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3 0/1] phy: fsl-imx8-mipi-dphy: Hook into runtime pm
2020-12-16 18:22 [PATCH v3 0/1] phy: fsl-imx8-mipi-dphy: Hook into runtime pm Guido Günther
@ 2021-02-19 9:38 ` Guido Günther
2021-02-20 5:29 ` Liu Ying
0 siblings, 1 reply; 3+ messages in thread
From: Guido Günther @ 2021-02-19 9:38 UTC (permalink / raw)
To: Kishon Vijay Abraham I, Shawn Guo, Sascha Hauer,
Pengutronix Kernel Team, Fabio Estevam, NXP Linux Team,
Robert Chiras, Sam Ravnborg, linux-kernel, linux-arm-kernel
Hi,
On Wed, Dec 16, 2020 at 07:22:32PM +0100, Guido Günther wrote:
> This allows us to shut down the mipi power domain on the imx8. The alternative
> would be to drop the dphy from the mipi power domain in the SOCs device tree
> and only have the DSI host controller visible there but since the PD is mostly
> about the PHY that would defeat it's purpose.
Is there anything I can do to move that forward. I assume this needs to
go via the phy/ subsystem not drm?
Cheers,
-- Guido
>
> This is basically a resend from February 2020 which went without feedback.
>
> This allows to shut off the power domain hen blanking the LCD panel:
>
> pm_genpd_summary before:
>
> domain status slaves
> /device runtime status
> ----------------------------------------------------------------------
> mipi on
> /devices/platform/soc@0/soc@0:bus@30800000/30a00300.dphy unsupported
> /devices/platform/soc@0/soc@0:bus@30800000/30a00000.mipi_dsi suspended
>
> after:
>
> mipi off-0
> /devices/platform/soc@0/soc@0:bus@30800000/30a00300.dphy suspended
> /devices/platform/soc@0/soc@0:bus@30800000/30a00000.mipi_dsi suspended
>
> Changes from v1:
> - Tweak commit message slightly
>
> Changes from v2:
> - As pre review comment by Lucas Stach
> https://lore.kernel.org/linux-arm-kernel/ee22b072e0abe07559a3e6a63ccf6ece064a46cb.camel@pengutronix.de/
> Check for pm_runtime_get_sync failure
>
> Guido Günther (1):
> phy: fsl-imx8-mipi-dphy: Hook into runtime pm
>
> .../phy/freescale/phy-fsl-imx8-mipi-dphy.c | 25 ++++++++++++++++++-
> 1 file changed, 24 insertions(+), 1 deletion(-)
>
> --
> 2.29.2
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v3 0/1] phy: fsl-imx8-mipi-dphy: Hook into runtime pm
2021-02-19 9:38 ` Guido Günther
@ 2021-02-20 5:29 ` Liu Ying
0 siblings, 0 replies; 3+ messages in thread
From: Liu Ying @ 2021-02-20 5:29 UTC (permalink / raw)
To: Guido Günther, Kishon Vijay Abraham I, Shawn Guo,
Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
NXP Linux Team, Robert Chiras, Sam Ravnborg, linux-kernel,
linux-arm-kernel
Hi Guido,
On Fri, 2021-02-19 at 10:38 +0100, Guido Günther wrote:
> Hi,
> On Wed, Dec 16, 2020 at 07:22:32PM +0100, Guido Günther wrote:
> > This allows us to shut down the mipi power domain on the imx8. The alternative
> > would be to drop the dphy from the mipi power domain in the SOCs device tree
> > and only have the DSI host controller visible there but since the PD is mostly
> > about the PHY that would defeat it's purpose.
>
> Is there anything I can do to move that forward. I assume this needs to
> go via the phy/ subsystem not drm?
I cannot find patch 1/1 of v3 in my mailbox, so I'll provide comment on
v2.
Regards,
Liu Ying
> Cheers,
> -- Guido
>
> > This is basically a resend from February 2020 which went without feedback.
> >
> > This allows to shut off the power domain hen blanking the LCD panel:
> >
> > pm_genpd_summary before:
> >
> > domain status slaves
> > /device runtime status
> > ----------------------------------------------------------------------
> > mipi on
> > /devices/platform/soc@0/soc@0:bus@30800000/30a00300.dphy unsupported
> > /devices/platform/soc@0/soc@0:bus@30800000/30a00000.mipi_dsi suspended
> >
> > after:
> >
> > mipi off-0
> > /devices/platform/soc@0/soc@0:bus@30800000/30a00300.dphy suspended
> > /devices/platform/soc@0/soc@0:bus@30800000/30a00000.mipi_dsi suspended
> >
> > Changes from v1:
> > - Tweak commit message slightly
> >
> > Changes from v2:
> > - As pre review comment by Lucas Stach
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Flinux-arm-kernel%2Fee22b072e0abe07559a3e6a63ccf6ece064a46cb.camel%40pengutronix.de%2F&data=04%7C01%7Cvictor.liu%40nxp.com%7Ccac0b14c892c4a35340508d8d4ba2e16%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637493243396909710%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=PU5kegolJwKK%2BQ7nD7V9qjrKJ2fJ9eKoySoFihnFoD8%3D&reserved=0
> > Check for pm_runtime_get_sync failure
> >
> > Guido Günther (1):
> > phy: fsl-imx8-mipi-dphy: Hook into runtime pm
> >
> > .../phy/freescale/phy-fsl-imx8-mipi-dphy.c | 25 ++++++++++++++++++-
> > 1 file changed, 24 insertions(+), 1 deletion(-)
> >
> > --
> > 2.29.2
> >
> >
> > _______________________________________________
> > linux-arm-kernel mailing list
> > linux-arm-kernel@lists.infradead.org
> > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.infradead.org%2Fmailman%2Flistinfo%2Flinux-arm-kernel&data=04%7C01%7Cvictor.liu%40nxp.com%7Ccac0b14c892c4a35340508d8d4ba2e16%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C637493243396909710%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=kkC3Go0wvHemjxaKVHwU%2F6gWRsgVOFoVz7QEHB7Zqx0%3D&reserved=0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-02-20 5:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-16 18:22 [PATCH v3 0/1] phy: fsl-imx8-mipi-dphy: Hook into runtime pm Guido Günther
2021-02-19 9:38 ` Guido Günther
2021-02-20 5:29 ` Liu Ying
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).