summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/adi,adau1701.txt
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2013-05-23 15:46:05 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-25 10:34:45 -0400
commit04561eacaa6ccd1988e468cdcbf4acc475ae2221 (patch)
tree5071311409468f1ecaf4dbfde985f2827755c7ee /Documentation/devicetree/bindings/sound/adi,adau1701.txt
parent47f5b692e04a8d7989ee14591a61be26e340a17b (diff)
downloadblackbird-obmc-linux-04561eacaa6ccd1988e468cdcbf4acc475ae2221.tar.gz
blackbird-obmc-linux-04561eacaa6ccd1988e468cdcbf4acc475ae2221.zip
ASoC: codecs: adau1701: add DT bindings
Apart from pure matching, the bindings also support setting the the reset gpio line. Signed-off-by: Daniel Mack <zonque@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/adi,adau1701.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/adi,adau1701.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/adi,adau1701.txt b/Documentation/devicetree/bindings/sound/adi,adau1701.txt
new file mode 100644
index 000000000000..3afeda77b5b9
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/adi,adau1701.txt
@@ -0,0 +1,23 @@
+Analog Devices ADAU1701
+
+Required properties:
+
+ - compatible: Should contain "adi,adau1701"
+ - reg: The i2c address. Value depends on the state of ADDR0
+ and ADDR1, as wired in hardware.
+
+Optional properties:
+
+ - reset-gpio: A GPIO spec to define which pin is connected to the
+ chip's !RESET pin. If specified, the driver will
+ assert a hardware reset at probe time.
+
+Examples:
+
+ i2c_bus {
+ adau1701@34 {
+ compatible = "adi,adau1701";
+ reg = <0x34>;
+ reset-gpio = <&gpio 23 0>;
+ };
+ };
OpenPOWER on IntegriCloud