Re: [PATCH v2 2/6] ARM: OMAP4: PM: PRM/CM module offsets for OMAP4

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

 



Hi Rajendra,

On Wed, 12 Aug 2009, Rajendra Nayak wrote:

> This patch adds the offsets for new modules in PRM
> and CM for OMAP4
> These are autogenerated using a python script developed
> by Paul Walmsley.

Thanks, this looks good now.  You might want to also acknowledge Benoit 
here too since he co-developed the scripts.


- Paul

> Signed-off-by: Rajendra Nayak <rnayak@xxxxxx>
> ---
>  arch/arm/mach-omap2/prcm-common.h |   49 +++++++++++++++++++++++++++++++++++++
>  1 files changed, 49 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/prcm-common.h b/arch/arm/mach-omap2/prcm-common.h
> index cb1ae84..b4ce3fa 100644
> --- a/arch/arm/mach-omap2/prcm-common.h
> +++ b/arch/arm/mach-omap2/prcm-common.h
> @@ -49,6 +49,55 @@
>  #define OMAP3430_NEON_MOD				0xb00
>  #define OMAP3430ES2_USBHOST_MOD				0xc00
>  
> +/* OMAP44XX specific module offsets */
> +/* CM1 instances */
> +
> +#define OMAP4430_CM1_OCP_SOCKET_MOD	0x0000
> +#define OMAP4430_CM1_CKGEN_MOD		0x0100
> +#define OMAP4430_CM1_MPU_MOD		0x0300
> +#define OMAP4430_CM1_TESLA_MOD		0x0400
> +#define OMAP4430_CM1_ABE_MOD		0x0500
> +#define OMAP4430_CM1_RESTORE_MOD	0x0e00
> +#define OMAP4430_CM1_INSTR_MOD		0x0f00
> +
> +/* CM2 instances */
> +
> +#define OMAP4430_CM2_OCP_SOCKET_MOD	0x0000
> +#define OMAP4430_CM2_CKGEN_MOD		0x0100
> +#define OMAP4430_CM2_ALWAYS_ON_MOD	0x0600
> +#define OMAP4430_CM2_CORE_MOD		0x0700
> +#define OMAP4430_CM2_IVAHD_MOD		0x0f00
> +#define OMAP4430_CM2_CAM_MOD		0x1000
> +#define OMAP4430_CM2_DSS_MOD		0x1100
> +#define OMAP4430_CM2_GFX_MOD		0x1200
> +#define OMAP4430_CM2_L3INIT_MOD		0x1300
> +#define OMAP4430_CM2_L4PER_MOD		0x1400
> +#define OMAP4430_CM2_CEFUSE_MOD		0x1600
> +#define OMAP4430_CM2_RESTORE_MOD	0x1e00
> +#define OMAP4430_CM2_INSTR_MOD		0x1f00
> +
> +/* PRM instances */
> +
> +#define OMAP4430_PRM_OCP_SOCKET_MOD	0x0000
> +#define OMAP4430_PRM_CKGEN_MOD		0x0100
> +#define OMAP4430_PRM_MPU_MOD		0x0300
> +#define OMAP4430_PRM_TESLA_MOD		0x0400
> +#define OMAP4430_PRM_ABE_MOD		0x0500
> +#define OMAP4430_PRM_ALWAYS_ON_MOD	0x0600
> +#define OMAP4430_PRM_CORE_MOD		0x0700
> +#define OMAP4430_PRM_IVAHD_MOD		0x0f00
> +#define OMAP4430_PRM_CAM_MOD		0x1000
> +#define OMAP4430_PRM_DSS_MOD		0x1100
> +#define OMAP4430_PRM_GFX_MOD		0x1200
> +#define OMAP4430_PRM_L3INIT_MOD		0x1300
> +#define OMAP4430_PRM_L4PER_MOD		0x1400
> +#define OMAP4430_PRM_CEFUSE_MOD		0x1600
> +#define OMAP4430_PRM_WKUP_MOD		0x1700
> +#define OMAP4430_PRM_WKUP_CM_MOD	0x1800
> +#define OMAP4430_PRM_EMU_MOD		0x1900
> +#define OMAP4430_PRM_EMU_CM_MOD		0x1a00
> +#define OMAP4430_PRM_DEVICE_MOD		0x1b00
> +#define OMAP4430_PRM_INSTR_MOD		0x1f00
>  
>  /* 24XX register bits shared between CM & PRM registers */
>  
> -- 
> 1.5.4.7
> 
> --
> 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
> 


- 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