Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: soundwire: fix example

As wsa881x schema mentions #sound-dai-cells as required property,
so update soundwire-controller.yaml example so that dt_bindings_check
does not fail as below:

Documentation/devicetree/bindings/soundwire/soundwire-controller.example.dt.yaml:
speaker@0,1: '#sound-dai-cells' is a required property
Documentation/devicetree/bindings/soundwire/soundwire-controller.example.dt.yaml:
speaker@0,2: '#sound-dai-cells' is a required property

Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200114094806.15846-1-srinivas.kandagatla@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Srinivas Kandagatla and committed by
Vinod Koul
5098cae1 550f9052

+2
+2
Documentation/devicetree/bindings/soundwire/soundwire-controller.yaml
··· 69 69 reg = <0 1>; 70 70 powerdown-gpios = <&wcdpinctrl 2 0>; 71 71 #thermal-sensor-cells = <0>; 72 + #sound-dai-cells = <0>; 72 73 }; 73 74 74 75 speaker@0,2 { ··· 77 76 reg = <0 2>; 78 77 powerdown-gpios = <&wcdpinctrl 2 0>; 79 78 #thermal-sensor-cells = <0>; 79 + #sound-dai-cells = <0>; 80 80 }; 81 81 }; 82 82