aboutsummaryrefslogtreecommitdiff
path: root/Bindings/sound/pcm179x.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Bindings/sound/pcm179x.txt')
-rw-r--r--Bindings/sound/pcm179x.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/Bindings/sound/pcm179x.txt b/Bindings/sound/pcm179x.txt
new file mode 100644
index 00000000000..436c2b24769
--- /dev/null
+++ b/Bindings/sound/pcm179x.txt
@@ -0,0 +1,27 @@
+Texas Instruments pcm179x DT bindings
+
+This driver supports both the I2C and SPI bus.
+
+Required properties:
+
+ - compatible: "ti,pcm1792a"
+
+For required properties on SPI, please consult
+Documentation/devicetree/bindings/spi/spi-bus.txt
+
+Required properties on I2C:
+
+ - reg: the I2C address
+
+
+Examples:
+
+ codec_spi: 1792a@0 {
+ compatible = "ti,pcm1792a";
+ spi-max-frequency = <600000>;
+ };
+
+ codec_i2c: 1792a@4c {
+ compatible = "ti,pcm1792a";
+ reg = <0x4c>;
+ };