Re: [PATCH 12/13] OMAP: hwmod data: add class for DSP hwmods

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

 



Hi Kevin,

On Wed, 23 Jun 2010, Kevin Hilman wrote:

> Add a new hwmod class for DSP devices.  To be used when hwmods
> are created for DSP on OMAP3 (a.k.a. IVA2.)

I guess this patch is not needed any more?  But if it is, it might be best 
to name the class "iva2" or something like that, since the IVA2 subsystem 
contains more than just the DSP; it also contains the dedicated hardware 
video accelerator blocks, which are separate from the DSP.

- Paul

> 
> Cc: Paul Walmsley <paul@xxxxxxxxx>
> Signed-off-by: Kevin Hilman <khilman@xxxxxxxxxxxxxxxxxxx>
> ---
>  arch/arm/mach-omap2/omap_hwmod_common_data.c |    3 +++
>  arch/arm/mach-omap2/omap_hwmod_common_data.h |    1 +
>  2 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/omap_hwmod_common_data.c b/arch/arm/mach-omap2/omap_hwmod_common_data.c
> index 1e80b91..09f1e98 100644
> --- a/arch/arm/mach-omap2/omap_hwmod_common_data.c
> +++ b/arch/arm/mach-omap2/omap_hwmod_common_data.c
> @@ -66,3 +66,6 @@ struct omap_hwmod_class mpu_hwmod_class = {
>  	.name = "mpu"
>  };
>  
> +struct omap_hwmod_class dsp_hwmod_class = {
> +	.name = "dsp"
> +};
> diff --git a/arch/arm/mach-omap2/omap_hwmod_common_data.h b/arch/arm/mach-omap2/omap_hwmod_common_data.h
> index 3645a28..d03ebfa 100644
> --- a/arch/arm/mach-omap2/omap_hwmod_common_data.h
> +++ b/arch/arm/mach-omap2/omap_hwmod_common_data.h
> @@ -20,5 +20,6 @@
>  extern struct omap_hwmod_class l3_hwmod_class;
>  extern struct omap_hwmod_class l4_hwmod_class;
>  extern struct omap_hwmod_class mpu_hwmod_class;
> +extern struct omap_hwmod_class dsp_hwmod_class;
>  
>  #endif
> -- 
> 1.7.0.2
> 


- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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