Unverified Commit f0c0f5a4 authored by Johan Jonker's avatar Johan Jonker Committed by Mark Brown
Browse files

ASoC: rockchip-spdif: add #sound-dai-cells property



'#sound-dai-cells' is required to properly interpret
the list of DAI specified in the 'sound-dai' property,
so add them to 'rockchip-spdif.yaml'

Signed-off-by: default avatarJohan Jonker <jbx6244@gmail.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200404115225.4314-2-jbx6244@gmail.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4d1a015a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -57,6 +57,9 @@ properties:
      The phandle of the syscon node for the GRF register.
      Required property on RK3288.

  "#sound-dai-cells":
    const: 0

required:
  - compatible
  - reg
@@ -65,6 +68,7 @@ required:
  - clock-names
  - dmas
  - dma-names
  - "#sound-dai-cells"

if:
  properties:
@@ -90,4 +94,5 @@ examples:
      clock-names = "mclk", "hclk";
      dmas = <&dmac1_s 8>;
      dma-names = "tx";
      #sound-dai-cells = <0>;
    };