Re: [PATCH] dt-bindings: soc: imx8mp-media-blk-ctrl: Add LDB into DT example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/07/2022 10:06, Marek Vasut wrote:
> In the local patch I have to imx8mp.dtsi , the simple-mfd had to be 
> added for the ldb bridge child node to bind.
> 
>> 'simple-mfd' is saying the child has 0 dependence on the parent. IMO,
>> 'syscon' contradicts that, but that's an all to common pattern. You are
>> saying all the clocks (or any other resources) in the parent can be off
>> and the LDB bridge is still functional.
> 
> The bridge itself should work even if the block control is clocked off. 
> The block controller apb (register) clock have to be enabled only when 
> accessing these two LDB registers, which should be handled by runtime 
> PM. Or what am I missing here ?

If I understand correctly, you need the device's APB clocks to be
enabled to use the child device? You have a dependency between child and
parent, so it is not a simple-mfd.

Best regards,
Krzysztof



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux