]> Git Repo - linux.git/commitdiff
ASoC: es8316: add DT-bindings
authorKatsuhiro Suzuki <[email protected]>
Tue, 3 Sep 2019 16:53:22 +0000 (01:53 +0900)
committerMark Brown <[email protected]>
Tue, 3 Sep 2019 17:49:17 +0000 (18:49 +0100)
This patch adds missing DT-bindings document for Everest ES8316.

Signed-off-by: Katsuhiro Suzuki <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Documentation/devicetree/bindings/sound/everest,es8316.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/sound/everest,es8316.txt b/Documentation/devicetree/bindings/sound/everest,es8316.txt
new file mode 100644 (file)
index 0000000..aefcff9
--- /dev/null
@@ -0,0 +1,20 @@
+Everest ES8316 audio CODEC
+
+This device supports both I2C and SPI.
+
+Required properties:
+
+  - compatible  : should be "everest,es8316"
+  - reg : the I2C address of the device for I2C
+  - clocks : a list of phandle, should contain entries for clock-names
+  - clock-names : should include as follows:
+         "mclk" : master clock (MCLK) of the device
+
+Example:
+
+es8316: codec@11 {
+       compatible = "everest,es8316";
+       reg = <0x11>;
+       clocks = <&clks 10>;
+       clock-names = "mclk";
+};
This page took 0.058413 seconds and 4 git commands to generate.