summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/sound/sgtl5000.txt
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2018-03-12 18:28:09 -0300
committerMark Brown <broonie@kernel.org>2018-03-12 14:31:34 -0700
commitc4e50b1d87fbbeabb2d7f286af673666f507acb9 (patch)
tree8b928fe5fac1b713cef96c9151d89da450d1a61e /Documentation/devicetree/bindings/sound/sgtl5000.txt
parent92a2742f9813ef65da19145a77e8067d6abbc822 (diff)
ASoC: sgtl5000: Pass the required '#sound-dai-cells'
DTC now warns about missing #sound-dai-cells: arch/arm/boot/dts/imx6ul-geam.dtb: Warning (sound_dai_property): /sound/simple-audio-card,codec: Missing property '#sound-dai-cells' in node /soc/aips-bus@2100000/i2c@21a0000/codec@a or bad phandle (referred from sound-dai[0]) Pass the required '#sound-dai-cells' property to improve the documentation. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/sgtl5000.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/sgtl5000.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/sgtl5000.txt b/Documentation/devicetree/bindings/sound/sgtl5000.txt
index 060cb4a3b47e..9a36c7e2a143 100644
--- a/Documentation/devicetree/bindings/sound/sgtl5000.txt
+++ b/Documentation/devicetree/bindings/sound/sgtl5000.txt
@@ -5,6 +5,8 @@ Required properties:
- reg : the I2C address of the device
+- #sound-dai-cells: must be equal to 0
+
- clocks : the clock provider of SYS_MCLK
- VDDA-supply : the regulator provider of VDDA
@@ -40,6 +42,7 @@ Example:
codec: sgtl5000@a {
compatible = "fsl,sgtl5000";
reg = <0x0a>;
+ #sound-dai-cells = <0>;
clocks = <&clks 150>;
micbias-resistor-k-ohms = <2>;
micbias-voltage-m-volts = <2250>;