summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/omap3-gta04.dtsi
diff options
context:
space:
mode:
authorMarek Belisko <marek@goldelico.com>2015-05-07 21:35:05 +0200
committerTony Lindgren <tony@atomide.com>2015-05-20 20:21:24 +0200
commitf6ae941e710f4228bc13d3aefe0fbefb4012ab71 (patch)
treec1d222dd649f3c3ca7d08f831e9e03d2c686674b /arch/arm/boot/dts/omap3-gta04.dtsi
parentARM: dts: am335x-evm: add bluetooth support (diff)
downloadlinux-f6ae941e710f4228bc13d3aefe0fbefb4012ab71.tar.xz
linux-f6ae941e710f4228bc13d3aefe0fbefb4012ab71.zip
ARM: dts: omap3-gta04: Add GSM audio support
Add voice audio card which is used for telephony on gta04 board. gtm601 codec is UMTS modem with pcm interface which get samples from microphone and provide data from other party side. Use simple audio card to describe audio card. Signed-off-by: Marek Belisko <marek@goldelico.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap3-gta04.dtsi')
-rw-r--r--arch/arm/boot/dts/omap3-gta04.dtsi26
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
index 6ea1257464e7..7166d8876ea8 100644
--- a/arch/arm/boot/dts/omap3-gta04.dtsi
+++ b/arch/arm/boot/dts/omap3-gta04.dtsi
@@ -48,6 +48,28 @@
ti,mcbsp = <&mcbsp2>;
};
+ /* GSM audio */
+ sound_telephony {
+ compatible = "simple-audio-card";
+ simple-audio-card,name = "GTA04 voice";
+ simple-audio-card,bitclock-master = <&telephony_link_master>;
+ simple-audio-card,frame-master = <&telephony_link_master>;
+ simple-audio-card,format = "i2s";
+
+ simple-audio-card,cpu {
+ sound-dai = <&mcbsp4>;
+ };
+
+ telephony_link_master: simple-audio-card,codec {
+ sound-dai = <&gtm601_codec>;
+ };
+ };
+
+ gtm601_codec: gsm_codec {
+ compatible = "option,gtm601";
+ #sound-dai-cells = <0>;
+ };
+
spi_lcd {
compatible = "spi-gpio";
#address-cells = <0x1>;
@@ -528,3 +550,7 @@
pinctrl-names = "default";
pinctrl-0 = <&hdq_pins>;
};
+
+&mcbsp4 {
+ status = "okay";
+};