[PATCH v2 0/4] soc: xilinx: pm_domains: cleanup and fix PM_INIT_FINALIZE
Michal Simek
michal.simek at xilinx.com
Mon Oct 18 06:09:56 PDT 2021
On 8/25/21 17:03, Michael Tretter wrote:
> Hi,
>
> This is v2 of the series to cleanup and fix the zynqmp_pm_domains driver [0].
>
> Patch 1 of this series fixes the ZynqMP PMU FW power management
> initialization, which was done by the wrong driver. PM_INIT_FINALIZE must be
> called from the zynqmp_pm_domains driver, which handles power domains, instead
> of the zynmp_power driver, which is responsible for suspend and shutdown. As a
> side effect, PM_INIT_FINALIZE powers down all devices that have not been
> requested, which might lead to misbehaving devices. Calling it from the
> sync_state callback ensures that all consumers have probed and are able to
> handle power management themselves.
>
> Patches 2 to 4 are various cleanup patches to improve the readability and
> debugging experience of the zynqmp_pm_domains driver.
>
> Michael
>
> [0] https://lore.kernel.org/linux-arm-kernel/20210317160410.2097178-1-m.tretter@pengutronix.de/
>
> Changelog:
>
> v2:
>
> - move PM_INIT_FINALIZE to sync_state callback
>
> Michael Tretter (4):
> soc: xilinx: move PM_INIT_FINALIZE to zynqmp_pm_domains driver
> soc: xilinx: cleanup debug and error messages
> soc: xilinx: use a properly named field instead of flags
> soc: xilinx: add a to_zynqmp_pm_domain macro
>
> drivers/soc/xilinx/zynqmp_pm_domains.c | 91 +++++++++++++++-----------
> drivers/soc/xilinx/zynqmp_power.c | 1 -
> 2 files changed, 51 insertions(+), 41 deletions(-)
>
Applied.
M
More information about the linux-arm-kernel
mailing list