Hi Stephen

> > +- simple-audio,[prefix],bitclock-inversion : if CPU/CODEC needs clock 
> > inversion
> > +- simple-audio,[prefix],frame-inversion            : if CPU/CODEC needs 
> > frame inversion
> > +- simple-audio,[prefix],system-clock-frequency     : system clock rate for 
> > each CPU/CODEC
> 
> I know Mark had a preference to store DAI-specific data in sub-nodes
> rather than using this "[prefix]" thing... If that doesn't end up
> happening though, rather than "[prefix],", I think it'd be more typical
> to use "[prefix]-" since I've never seen a DT property name with two
> ","; "-" is typically used as the word separator in DT property names.

Hmm...
If I can use sub-node, I can use below style for getting dai name ?
I guess it is easy/simple, but, what do you think about this ?

sound {

        ak4642-hifi {
                simple-audio,codec;
                simple-audio,dev = <&ak4642>;
                ...
        }
        fsia-dai {
                simple-audio,cpu;
                simple-audio,dev = <&sh_fsi2>;
                ...
        }
}


Best regards
---
Kuninori Morimoto
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to