[PATCH] ARM: dts: omap3-gta04: Add GSM audio support

Tony Lindgren tony at atomide.com
Wed May 20 10:58:22 PDT 2015


* Marek Belisko <marek at goldelico.com> [150507 12:36]:
> 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 at goldelico.com>

Applying into omap-for-v4.2/dt thanks.

Tony

> ---
>  arch/arm/boot/dts/omap3-gta04.dtsi | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/arm/boot/dts/omap3-gta04.dtsi
> index b9f6881..a3a4156 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>;
> @@ -517,3 +539,7 @@
>  &mcbsp2 {
>  	status = "okay";
>  };
> +
> +&mcbsp4 {
> +	status = "okay";
> +};



More information about the linux-arm-kernel mailing list