Re: [PATCH] ASoC: rcar: tidyup simple-card example for CPU node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




CC DT

On Fri, Dec 22, 2017 at 6:29 AM, Kuninori Morimoto
<kuninori.morimoto.gx@xxxxxxxxxxx> wrote:
>
> From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
>
> commit a5702e1cb3c ("ASoC: rsnd: Drop unit-addresses without reg
> properties") modifies simple-card multi CPU nodes.
> But, naming of "cpu-x" breaks probing.
> Let's add reg = <x>; instead of renaming node.
>
> Reported-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@xxxxxxxxxxx>
> CC: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
> ---
>  Documentation/devicetree/bindings/sound/renesas,rsnd.txt | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
> index 085bec3..51b7324 100644
> --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
> +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
> @@ -197,12 +197,17 @@ Ex)
>         [MEM] -> [SRC2] -> [CTU03] -+
>
>         sound {
> +               #address-cells = <1>;
> +               #size-cells = <0>;
> +
>                 compatible = "simple-scu-audio-card";
>                 ...
> -               simple-audio-card,cpu-0 {
> +               simple-audio-card,cpu@0 {
> +                       reg = <0>;
>                         sound-dai = <&rcar_sound 0>;
>                 };
> -               simple-audio-card,cpu-1 {
> +               simple-audio-card,cpu@1 {
> +                       reg = <1>;
>                         sound-dai = <&rcar_sound 1>;
>                 };
>                 simple-audio-card,codec {
> --
> 1.9.1
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux