diff options
author | Shengjiu Wang <b02247@freescale.com> | 2013-08-09 14:31:41 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 08:01:12 -0500 |
commit | e05b5dd5eec42f711a2467e5d2399312ade5d8b7 (patch) | |
tree | cad43ba56d23f2ef59cdbdc5c07ecfdd5396663c /Documentation | |
parent | 61cadfef966e6fc6e416c2f097891bd6ff61eddb (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.txt | 29 |
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 = <®_audio>; + VD-supply = <®_audio>; + VLS-supply = <®_audio>; + VLC-supply = <®_audio>; +}; |