diff mbox series

[1/2] ASoC: Add device tree documentation file for wm8782 stereo DAC

Message ID 20181003193436.5281-1-daniel@zonque.org (mailing list archive)
State Accepted
Headers show
Series [1/2] ASoC: Add device tree documentation file for wm8782 stereo DAC | expand

Commit Message

Daniel Mack Oct. 3, 2018, 7:34 p.m. UTC
Add a device tree documentation file for the wm8782 stereo DAC to describe
the regulator handles.

Signed-off-by: Daniel Mack <daniel@zonque.org>
---
 .../devicetree/bindings/sound/wm8782.txt        | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/sound/wm8782.txt

Comments

Charles Keepax Oct. 8, 2018, 9:33 a.m. UTC | #1
On Wed, Oct 03, 2018 at 09:34:35PM +0200, Daniel Mack wrote:
> 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>

Thanks,
Charles
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/sound/wm8782.txt b/Documentation/devicetree/bindings/sound/wm8782.txt
new file mode 100644
index 000000000000..256cdec6ec4d
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/wm8782.txt
@@ -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>;
+};