summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-03-28 05:26:15 +0300
committerMark Brown <broonie@kernel.org>2018-03-28 05:26:15 +0300
commit0334a5374981cc0e3ff5886c6b87e432e052d51e (patch)
treefe2dff259e46b4614b606ccfbf8dbc593c1053d4 /Documentation
parent338f803ace62586ee8c22bb2176cce50997896dc (diff)
parente4fe156ae8ec5227e6cbdbca61a0f72e77a67c8b (diff)
downloadlinux-0334a5374981cc0e3ff5886c6b87e432e052d51e.tar.xz
Merge remote-tracking branch 'asoc/topic/pcm1789' into asoc-next
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/pcm1789.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/pcm1789.txt b/Documentation/devicetree/bindings/sound/pcm1789.txt
new file mode 100644
index 000000000000..3c74ed220ac2
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/pcm1789.txt
@@ -0,0 +1,22 @@
+Texas Instruments pcm1789 DT bindings
+
+PCM1789 is a simple audio codec that can be connected via
+I2C or SPI. Currently, only I2C bus is supported.
+
+Required properties:
+
+ - compatible: "ti,pcm1789"
+
+Required properties on I2C:
+
+ - reg: the I2C address
+ - reset-gpios: GPIO to control the RESET pin
+
+Examples:
+
+ audio-codec@4c {
+ compatible = "ti,pcm1789";
+ reg = <0x4c>;
+ reset-gpios = <&gpio2 14 GPIO_ACTIVE_LOW>;
+ #sound-dai-cells = <0>;
+ };