Re: [PATCH v2 2/2] dt-bindings: dsp: fsl: Add DSP optional clocks documentation
From: Daniel Baluta
Date: Thu Sep 09 2021 - 07:21:29 EST
> > The H/W block is controlled by the DSP firmware. So, we don't want
> > to use the Linux kernel driver (thus the H/W block device tree node).
>
> 'status' is how you disable a device to not be used by the OS.
>
> The information about that device's resources are already in DT, we
> don't need to duplicate that here. If you want a list of devices
> assigned to the DSP here, that would be okay.
Thanks! This is a very good idea. I was thinking at a totally different thing.
So having something like this:
dsp {
hw-block-list = <&sai1>, <&sai2>;
}
And then inside the DSP driver we can get access to sai1 clocks. Do
you know of any standard property name?
>
> > The only thing that we cannot control from the DSP firmware are the clocks
> > hence we handle them in the DSP node.
> >
> > We moved the DAI clocks under the DSP node as I think you suggested here:
> >
> > https://www.lkml.org/lkml/2020/3/12/969
>
> No, that's certainly not what I was suggesting. The resources in the
> DSP node should be the h/w resources of the DSP itself.
I see thanks!