Commit 5098cae1 authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Vinod Koul

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: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200114094806.15846-1-srinivas.kandagatla@linaro.orgSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 550f9052
...@@ -69,6 +69,7 @@ examples: ...@@ -69,6 +69,7 @@ examples:
reg = <0 1>; reg = <0 1>;
powerdown-gpios = <&wcdpinctrl 2 0>; powerdown-gpios = <&wcdpinctrl 2 0>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
#sound-dai-cells = <0>;
}; };
speaker@0,2 { speaker@0,2 {
...@@ -76,6 +77,7 @@ examples: ...@@ -76,6 +77,7 @@ examples:
reg = <0 2>; reg = <0 2>;
powerdown-gpios = <&wcdpinctrl 2 0>; powerdown-gpios = <&wcdpinctrl 2 0>;
#thermal-sensor-cells = <0>; #thermal-sensor-cells = <0>;
#sound-dai-cells = <0>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment