Re: [PATCH v5 RESEND] drivers: bus: simple-pm-bus: Use clocks

From: Maxim Kochetkov
Date: Wed Jan 18 2023 - 01:42:20 EST




On 26.12.2022 06:14, Liu Ying wrote:
Simple Power-Managed bus controller may need functional clock(s)
to be enabled before child devices connected to the bus can be
accessed. Get the clock(s) as a bulk and enable/disable the
clock(s) when the bus is being power managed.

One example is that Freescale i.MX8qxp pixel link MSI bus controller
needs MSI clock and AHB clock to be enabled before accessing child
devices.

Signed-off-by: Liu Ying <victor.liu@xxxxxxx>
Tested-by: Maxim Kochetkov <fido_max@xxxxxxxx>