summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorShengjiu Wang <b02247@freescale.com>2013-08-09 14:31:41 +0800
committerJason Liu <r64343@freescale.com>2013-08-23 07:30:18 +0800
commit85e88c7b0c8244cdf32710543c51b855c85b30d7 (patch)
treec92f654f94f1366cd54ce73529100b56be944118 /Documentation
parent565b776f7f69fc2d68541f7751b6313b56a513d1 (diff)
ENGR00274585-2 ASoC: codec: add codec driver cs42888
Add codec driver cs42888. Add bindings document for cs42888 audio codec. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/sound/cs42888.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/cs42888.txt b/Documentation/devicetree/bindings/sound/cs42888.txt
new file mode 100644
index 000000000000..e669ef3972ca
--- /dev/null
+++ b/Documentation/devicetree/bindings/sound/cs42888.txt
@@ -0,0 +1,29 @@
+CS42888 audio CODEC
+
+This device supports I2C only.
+
+Required properties:
+
+ - compatible: "cirrus,cs42888"
+ - reg: the I2C address of the device.
+ - clocks: Phandle to the clock node.
+ - clock-names: Contains name for each entry in clocks.
+ "codec_osc" : the external oscillator.
+ "esai" : the hckt clock from esai.
+ - <name>-supply: Phandle to the regulator <name>.
+
+Note: cs42888 needs a regulators node and a clocks node.
+
+Example:
+In this case, the clock is external oscillator.
+
+codec: cs42888@48 {
+ compatible = "cirrus,cs42888";
+ reg = <0x048>;
+ clocks = <&codec_osc 0>;
+ clock-names = "codec_osc";
+ VA-supply = <&reg_audio>;
+ VD-supply = <&reg_audio>;
+ VLS-supply = <&reg_audio>;
+ VLC-supply = <&reg_audio>;
+};