Re: [PATCH v4 1/5] OMAP4: hwmod: Add names for DMIC memory address space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Benoît

On Mon, 28 Nov 2011, Peter Ujfalusi wrote:

> To be able to get the memory resources by name from
> the DMIC driver (for MPU and for DMA).

Any comments on this one?  Looks like we'd need to add these names as 
hints in the script.

> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@xxxxxx>
> ---
>  arch/arm/mach-omap2/omap_hwmod_44xx_data.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
> index 7695e5d..8b75c60 100644
> --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
> +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
> @@ -1028,6 +1028,7 @@ static struct omap_hwmod_dma_info omap44xx_dmic_sdma_reqs[] = {
>  
>  static struct omap_hwmod_addr_space omap44xx_dmic_addrs[] = {
>  	{
> +		.name		= "mpu",
>  		.pa_start	= 0x4012e000,
>  		.pa_end		= 0x4012e07f,
>  		.flags		= ADDR_TYPE_RT
> @@ -1046,6 +1047,7 @@ static struct omap_hwmod_ocp_if omap44xx_l4_abe__dmic = {
>  
>  static struct omap_hwmod_addr_space omap44xx_dmic_dma_addrs[] = {
>  	{
> +		.name		= "dma",
>  		.pa_start	= 0x4902e000,
>  		.pa_end		= 0x4902e07f,
>  		.flags		= ADDR_TYPE_RT



- Paul

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux