aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings
diff options
context:
space:
mode:
authorClément Péron <peron.clem@gmail.com>2018-11-14 13:16:42 +0100
committerMark Brown <broonie@kernel.org>2018-11-15 11:27:31 -0800
commit8076de2244c6c1bf703c844134bfa13110b16349 (patch)
tree0be67c5d9372ecf096aa45f161f87131243177d2 /Documentation/devicetree/bindings
parentASoC: amd: remove set but not used variable 'dma_buffer' (diff)
downloadlinux-dev-8076de2244c6c1bf703c844134bfa13110b16349.tar.xz
linux-dev-8076de2244c6c1bf703c844134bfa13110b16349.zip
ASoC: dt-bindings: add bindings for AK4118 transceiver
Document the bindings for AK4118 S/PDIF transceiver Signed-off-by: Clément Péron <peron.clem@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
-rw-r--r--Documentation/devicetree/bindings/sound/ak4118.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/ak4118.txt b/Documentation/devicetree/bindings/sound/ak4118.txt
new file mode 100644
index 000000000000..6e11a2f7404c
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/ak4118.txt
@@ -0,0 +1,22 @@
+AK4118 S/PDIF transceiver
+
+This device supports I2C mode.
+
+Required properties:
+
+- compatible : "asahi-kasei,ak4118"
+- reg : The I2C address of the device for I2C
+- reset-gpios: A GPIO specifier for the reset pin
+- irq-gpios: A GPIO specifier for the IRQ pin
+
+Example:
+
+&i2c {
+ ak4118: ak4118@13 {
+ #sound-dai-cells = <0>;
+ compatible = "asahi-kasei,ak4118";
+ reg = <0x13>;
+ reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>
+ irq-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
+ };
+};