[U-Boot] [PATCH 3/8] i.MX6: Add ANATOP_PFD_480 bitfield constants

Stefano Babic sbabic at denx.de
Thu Sep 20 10:38:08 CEST 2012


On 19/09/2012 20:29, Eric Nelson wrote:
> Signed-off-by: Eric Nelson <eric.nelson at boundarydevices.com>
> ---
>  arch/arm/include/asm/arch-mx6/imx-regs.h |   24 ++++++++++++++++++++++++
>  1 files changed, 24 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h
> index 8834c59..d42bb4d 100644
> --- a/arch/arm/include/asm/arch-mx6/imx-regs.h
> +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h
> @@ -439,6 +439,30 @@ struct anatop_regs {
>  	u32	digprog;		/* 0x260 */
>  };
>  
> +#define ANATOP_PFD_480_PFD0_FRAC_SHIFT		0
> +#define ANATOP_PFD_480_PFD0_FRAC_MASK		(0x3f<<ANATOP_PFD_480_PFD0_FRAC_SHIFT)
> +#define ANATOP_PFD_480_PFD0_STABLE_SHIFT	6
> +#define ANATOP_PFD_480_PFD0_STABLE_MASK		(1<<ANATOP_PFD_480_PFD0_STABLE_SHIFT)
> +#define ANATOP_PFD_480_PFD0_CLKGATE_SHIFT	7
> +#define ANATOP_PFD_480_PFD0_CLKGATE_MASK	(1<<ANATOP_PFD_480_PFD0_CLKGATE_SHIFT)
> +#define ANATOP_PFD_480_PFD1_FRAC_SHIFT		8
> +#define ANATOP_PFD_480_PFD1_FRAC_MASK		(0x3f<<ANATOP_PFD_480_PFD1_FRAC_SHIFT)
> +#define ANATOP_PFD_480_PFD1_STABLE_SHIFT	14
> +#define ANATOP_PFD_480_PFD1_STABLE_MASK		(1<<ANATOP_PFD_480_PFD1_STABLE_SHIFT)
> +#define ANATOP_PFD_480_PFD1_CLKGATE_SHIFT	15
> +#define ANATOP_PFD_480_PFD1_CLKGATE_MASK	(0x3f<<ANATOP_PFD_480_PFD1_CLKGATE_SHIFT)
> +#define ANATOP_PFD_480_PFD2_FRAC_SHIFT		16
> +#define ANATOP_PFD_480_PFD2_FRAC_MASK		(1<<ANATOP_PFD_480_PFD2_FRAC_SHIFT)
> +#define ANATOP_PFD_480_PFD2_STABLE_SHIFT	22
> +#define ANATOP_PFD_480_PFD2_STABLE_MASK	(1<<ANATOP_PFD_480_PFD2_STABLE_SHIFT)
> +#define ANATOP_PFD_480_PFD2_CLKGATE_SHIFT	23
> +#define ANATOP_PFD_480_PFD2_CLKGATE_MASK	(0x3f<<ANATOP_PFD_480_PFD2_CLKGATE_SHIFT)
> +#define ANATOP_PFD_480_PFD3_FRAC_SHIFT		24
> +#define ANATOP_PFD_480_PFD3_FRAC_MASK		(1<<ANATOP_PFD_480_PFD3_FRAC_SHIFT)
> +#define ANATOP_PFD_480_PFD3_STABLE_SHIFT	30
> +#define ANATOP_PFD_480_PFD3_STABLE_MASK		(1<<ANATOP_PFD_480_PFD3_STABLE_SHIFT)
> +#define ANATOP_PFD_480_PFD3_CLKGATE_SHIFT	31
> +
>  struct iomuxc_base_regs {
>  	u32     gpr[14];        /* 0x000 */
>  	u32     obsrv[5];       /* 0x038 */
> 

Acked-by: Stefano Babic <sbabic at denx.de>

Regards,
Stefano


-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the U-Boot mailing list