aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Lunn2014-05-03 13:30:11 -0500
committerMark Brown2014-05-20 17:12:23 -0500
commit7d6d478f38fb1bdef30ae1a4c9d5aefb7cb2bb9b (patch)
tree20455271fcdfbcbfe98cdb0c2b668dcea9aef77f /Documentation/devicetree/bindings/sound/alc5623.txt
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff)
downloadti-linux-kernel-7d6d478f38fb1bdef30ae1a4c9d5aefb7cb2bb9b.tar.gz
ti-linux-kernel-7d6d478f38fb1bdef30ae1a4c9d5aefb7cb2bb9b.tar.xz
ti-linux-kernel-7d6d478f38fb1bdef30ae1a4c9d5aefb7cb2bb9b.zip
ASoC: alc5623: Add device tree binding
Let the ALC5623 codec be instantiated from DT. Add a simple binding for the additional control register and the jack detect register. Also, add a prompt to the Kconfig entry for this CODEC, so that it can be selected. Since kirkwood-t5325.c will no longer be used, we need to be able to enable the CODEC in the mvebu_v5_defconfig etc. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/alc5623.txt')
-rw-r--r--Documentation/devicetree/bindings/sound/alc5623.txt25
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/alc5623.txt b/Documentation/devicetree/bindings/sound/alc5623.txt
new file mode 100644
index 000000000000..26c86c98d671
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/alc5623.txt
@@ -0,0 +1,25 @@
1ALC5621/ALC5622/ALC5623 audio Codec
2
3Required properties:
4
5 - compatible: "realtek,alc5623"
6 - reg: the I2C address of the device.
7
8Optional properties:
9
10 - add-ctrl: Default register value for Reg-40h, Additional Control
11 Register. If absent or has the value of 0, the
12 register is untouched.
13
14 - jack-det-ctrl: Default register value for Reg-5Ah, Jack Detect
15 Control Register. If absent or has value 0, the
16 register is untouched.
17
18Example:
19
20 alc5621: alc5621@1a {
21 compatible = "alc5621";
22 reg = <0x1a>;
23 add-ctrl = <0x3700>;
24 jack-det-ctrl = <0x4810>;
25 };