[PATCH 2/3] drivers: bus: simple-pm-bus: Use clocks
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Tue Aug 2 03:59:30 PDT 2022
On 02/08/2022 12:56, Krzysztof Kozlowski wrote:
> On 02/08/2022 09:13, 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.
>
> No, because it is not simple bus anymore.
Hm, actually I take back my no, as this pm-bus was done for such
purpose. Since we allow power domains, we should also allow clocks.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list