diff options
author | Rongjun Ying <rongjun.ying@csr.com> | 2014-03-05 16:34:36 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-03-06 17:21:56 +0800 |
commit | af12a31f054f55b75c8cf4a459c7bd9d1c7726a9 (patch) | |
tree | e1904713b5516fdaf14fa88235634c4b0ee7ceb1 /Documentation/devicetree/bindings/sound/sirf-audio.txt | |
parent | a731e217df3a2ee3ef9413153ed7b45e578d8687 (diff) | |
download | op-kernel-dev-af12a31f054f55b75c8cf4a459c7bd9d1c7726a9.zip op-kernel-dev-af12a31f054f55b75c8cf4a459c7bd9d1c7726a9.tar.gz |
ASoC: sirf: Add SiRF audio card
This connects platform DAI, SiRF internal audio codec DAI and
SiRF auido port DAI together and works as a mach driver.
Signed-off-by: Rongjun Ying <rongjun.ying@csr.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/sirf-audio.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/sirf-audio.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/sirf-audio.txt b/Documentation/devicetree/bindings/sound/sirf-audio.txt new file mode 100644 index 0000000..c88882c --- /dev/null +++ b/Documentation/devicetree/bindings/sound/sirf-audio.txt @@ -0,0 +1,41 @@ +* SiRF atlas6 and prima2 internal audio codec and port based audio setups + +Required properties: +- compatible: "sirf,sirf-audio-card" +- sirf,audio-platform: phandle for the platform node +- sirf,audio-codec: phandle for the SiRF internal codec node + +Optional properties: +- hp-pa-gpios: Need to be present if the board need control external + headphone amplifier. +- spk-pa-gpios: Need to be present if the board need control external + speaker amplifier. +- hp-switch-gpios: Need to be present if the board capable to detect jack + insertion, removal. + +Available audio endpoints for the audio-routing table: + +Board connectors: + * Headset Stereophone + * Ext Spk + * Line In + * Mic + +SiRF internal audio codec pins: + * HPOUTL + * HPOUTR + * SPKOUT + * Ext Mic + * Mic Bias + +Example: + +sound { + compatible = "sirf,sirf-audio-card"; + sirf,audio-codec = <&audiocodec>; + sirf,audio-platform = <&audioport>; + hp-pa-gpios = <&gpio 44 0>; + spk-pa-gpios = <&gpio 46 0>; + hp-switch-gpios = <&gpio 45 0>; +}; + |