[alsa-devel] [PATCH v4 08/10] ARM/dts: am33xx: mcasp: Add location for data port registers to reg-property

Peter Ujfalusi peter.ujfalusi at ti.com
Wed Oct 9 10:29:44 CEST 2013


On 10/08/2013 10:36 PM, Jyri Sarha wrote:
> This patch adds a second tuple to reg property. The new property tuple
> describes the memory location for data port registers mapped trough
> L3 bus on am33xx. The both property tuples are named accordingly in
> the reg-names property.
> 
> Signed-off-by: Hebbar, Gururaja <gururaja.hebbar at ti.com>
> Signed-off-by: Darren Etheridge <detheridge at ti.com>
> Signed-off-by: Jyri Sarha <jsarha at ti.com>
> ---
>  arch/arm/boot/dts/am33xx.dtsi |    8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
> index 22659e7..c8ba19e 100644
> --- a/arch/arm/boot/dts/am33xx.dtsi
> +++ b/arch/arm/boot/dts/am33xx.dtsi
> @@ -671,7 +671,9 @@
>  		mcasp0: mcasp at 48038000 {
>  			compatible = "ti,omap2-mcasp-audio";
>  			ti,hwmods = "mcasp0";
> -			reg = <0x48038000 0x2000>;
> +			reg = <0x48038000 0x2000>,
> +			      <0x46400000 0x400000>;

mcasp0 data port is at 0x46000000. 0x46400000 is for mcasp1.

> +			reg-names = "mpu", "dat";
>  			interrupts = <80>, <81>;
>  			interrupts-names = "tx", "rx";
>  			status = "disabled";
> @@ -683,7 +685,9 @@
>  		mcasp1: mcasp at 4803C000 {
>  			compatible = "ti,omap2-mcasp-audio";
>  			ti,hwmods = "mcasp1";
> -			reg = <0x4803C000 0x2000>;
> +			reg = <0x4803C000 0x2000>,
> +			      <0x46400000 0x400000>;
> +			reg-names = "mpu", "dat";
>  			interrupts = <82>, <83>;
>  			interrupts-names = "tx", "rx";
>  			status = "disabled";
> 


-- 
Péter


More information about the Alsa-devel mailing list