On Thu, Sep 9, 2021 at 6:21 AM Daniel Baluta [off-list ref] wrote:
quoted
quoted
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>;
}
Yes.
And then inside the DSP driver we can get access to sai1 clocks. Do
you know of any standard property name?
There isn't. So it needs a vendor prefix.
There's been some discussions around 'system devicetree' where all
processors (like the DSP) view of the system get represented. Device
assignment is one of the issues to solve with that, but it's not
anywhere close to having something to help here.
Rob