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-10-30 09:54:37 +0800
commit1a6be8e1135c0a3a69c4b73188dc6d84a0723930 (patch)
tree229c963a6d2cd97eb1a1955704c6ac265cf21f17 /Documentation
parent84d75c4087a700a52bf2e73c49f297150d96aa6e (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>;
+};