[PATCH 1/1] ARM: OMAP4: PM: Add the missing Clock Domain Structure

Paul Walmsley paul at pwsan.com
Wed Dec 30 03:34:14 EST 2009


Hello Abhijit,

On Wed, 23 Dec 2009, Abhijit Pagare wrote:

> One of the clock domains was missing from the auto-generated file.
> It has been added here.

Please repost this with the subject line change that Tony mentioned.  The 
rest of the patch is fine.

- Paul

> 
> Signed-off-by: Abhijit Pagare <abhijitpagare at ti.com>
> Cc: Paul Walmsley <paul at pwsan.com>
> ---
> Compiled and Boot Tested on OMAP4430 simulator, ES1 Chip & OMAP3430 SDP.
> And also Compiled for OMAP2430 and OMAP2420
> 
> This patch has a dependency on the earlier set of OMAP4 clock-domain patches.
> 
>  arch/arm/mach-omap2/clockdomains.h     |    1 +
>  arch/arm/mach-omap2/clockdomains44xx.h |    8 ++++++++
>  2 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/clockdomains.h b/arch/arm/mach-omap2/clockdomains.h
> index f985e0a..6dc5ddc 100644
> --- a/arch/arm/mach-omap2/clockdomains.h
> +++ b/arch/arm/mach-omap2/clockdomains.h
> @@ -461,6 +461,7 @@ static struct clockdomain *clockdomains_omap[] = {
>  	&l4_secure_44xx_clkdm,
>  	&l4_per_44xx_clkdm,
>  	&abe_44xx_clkdm,
> +	&l3_instr_44xx_clkdm,
>  	&l3_init_44xx_clkdm,
>  	&mpuss_44xx_clkdm,
>  	&mpu0_44xx_clkdm,
> diff --git a/arch/arm/mach-omap2/clockdomains44xx.h b/arch/arm/mach-omap2/clockdomains44xx.h
> index 6fc55e4..438aaee 100644
> --- a/arch/arm/mach-omap2/clockdomains44xx.h
> +++ b/arch/arm/mach-omap2/clockdomains44xx.h
> @@ -102,6 +102,14 @@ static struct clockdomain abe_44xx_clkdm = {
>  	.omap_chip	  = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
>  };
>  
> +static struct clockdomain l3_instr_44xx_clkdm = {
> +	.name		  = "l3_instr_clkdm",
> +	.pwrdm		  = { .name = "core_pwrdm" },
> +	.clkstctrl_reg	  = OMAP4430_CM_L3INSTR_CLKSTCTRL,
> +	.clktrctrl_mask	  = OMAP4430_CLKTRCTRL_MASK,
> +	.omap_chip	  = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
> +};
> +
>  static struct clockdomain l3_init_44xx_clkdm = {
>  	.name		  = "l3_init_clkdm",
>  	.pwrdm		  = { .name = "l3init_pwrdm" },
> -- 
> 1.5.4.7
> 


- Paul



More information about the linux-arm-kernel mailing list