ASoC: Add device tree documentation file for wm8782 stereo DAC
authorDaniel Mack <daniel@zonque.org>
Wed, 3 Oct 2018 19:34:35 +0000 (21:34 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 8 Oct 2018 10:23:42 +0000 (11:23 +0100)
Add a device tree documentation file for the wm8782 stereo DAC to describe
the regulator handles.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/wm8782.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/wm8782.txt b/Documentation/devicetree/bindings/sound/wm8782.txt
new file mode 100644 (file)
index 0000000..256cdec
--- /dev/null
@@ -0,0 +1,17 @@
+WM8782 stereo ADC
+
+This device does not have any control interface or reset pins.
+
+Required properties:
+
+ - compatible  : "wlf,wm8782"
+ - Vdda-supply : phandle to a regulator for the analog power supply (2.7V - 5.5V)
+ - Vdd-supply  : phandle to a regulator for the digital power supply (2.7V - 3.6V)
+
+Example:
+
+wm8782: stereo-adc {
+       compatible = "wlf,wm8782";
+       Vdda-supply = <&vdda_supply>;
+       Vdd-supply = <&vdd_supply>;
+};