Re: [PATCH v2 2/2] dt-bindings: dsp: fsl: Add DSP optional clocks documentation
From: Rob Herring
Date: Thu Sep 09 2021 - 13:16:02 EST
On Thu, Sep 9, 2021 at 6:21 AM Daniel Baluta <daniel.baluta@xxxxxxxxx> wrote:
>
> > > 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