All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/8] i.MX6: Add ANATOP_PFD_480 bitfield constants
Date: Thu, 20 Sep 2012 10:38:08 +0200	[thread overview]
Message-ID: <505AD5F0.8080009@denx.de> (raw)
In-Reply-To: <1348079386-19815-1-git-send-email-eric.nelson@boundarydevices.com>

On 19/09/2012 20:29, Eric Nelson wrote:
> Signed-off-by: Eric Nelson <eric.nelson@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@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
=====================================================================

      reply	other threads:[~2012-09-20  8:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19 18:29 [U-Boot] [PATCH 3/8] i.MX6: Add ANATOP_PFD_480 bitfield constants Eric Nelson
2012-09-20  8:38 ` Stefano Babic [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=505AD5F0.8080009@denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.