[alsa-devel] [RFC][PATCH 2/2 v3] ASoC: simple-card: add Device Tree support

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Tue Feb 5 01:31:59 CET 2013

Hi Stephen

> In most DT bindings where phandles are used, you specify both a phandle
> and some arguments related to that phandle. The arguments could easily
> encode the port ID. In other words, instead of:
> simple-audio,codec = <&phandle>;
> you could write:
> simple-audio,codec = <&phandle PORT_NUMBER>;
> where PORT_NUMBER could be 0, 1, 2, or any other integer value or
> sequence of integer values, which the driver for the CODEC would
> interpret itself, and return an ASoC-internal port name.

I see.
I will consider this logic on next patch

Best regards
Kuninori Morimoto

More information about the Alsa-devel mailing list