summaryrefslogtreecommitdiffstats
path: root/kernel/Documentation/devicetree/bindings/sound/wm8804.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/Documentation/devicetree/bindings/sound/wm8804.txt')
-rw-r--r--kernel/Documentation/devicetree/bindings/sound/wm8804.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/kernel/Documentation/devicetree/bindings/sound/wm8804.txt b/kernel/Documentation/devicetree/bindings/sound/wm8804.txt
new file mode 100644
index 000000000..6fd124b16
--- /dev/null
+++ b/kernel/Documentation/devicetree/bindings/sound/wm8804.txt
@@ -0,0 +1,25 @@
+WM8804 audio CODEC
+
+This device supports both I2C and SPI (configured with pin strapping
+on the board).
+
+Required properties:
+
+ - compatible : "wlf,wm8804"
+
+ - reg : the I2C address of the device for I2C, the chip select
+ number for SPI.
+
+ - PVDD-supply, DVDD-supply : Power supplies for the device, as covered
+ in Documentation/devicetree/bindings/regulator/regulator.txt
+
+Optional properties:
+
+ - wlf,reset-gpio: A GPIO specifier for the GPIO controlling the reset pin
+
+Example:
+
+codec: wm8804@1a {
+ compatible = "wlf,wm8804";
+ reg = <0x1a>;
+};