Audio codec device tree entries
Grant Likely
grant.likely at secretlab.ca
Thu Oct 25 01:08:55 EST 2007
On 10/24/07, Timur Tabi <timur at freescale.com> wrote:
> > codec0: i2s-codec at 0 {
> > compatible = "ti,tas5508";
> > reg = <0>;
> > i2s-handle = <&i2s at 2000>;
> > };
>
> I'd do this the other way around -- that is:
>
> i2s at 2200 { // PSC2
> compatible = "fsl,mpc5200b-psc-i2s","fsl,mpc5200-psc-i2s";
> ...
> i2c-handle = <&codec0>; /* Or something like that */
i2c-handle is a poor property name here. It should be 'codec-handle'.
The codec could theoretically live on just about *any* control bus;
not just i2c.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195
More information about the Linuxppc-dev
mailing list