public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 04/12] imx:mx6 update mxc_ccm_reg
Date: Tue, 10 Feb 2015 12:03:27 +0100	[thread overview]
Message-ID: <54D9E57F.6050106@denx.de> (raw)
In-Reply-To: <1420793987-7621-5-git-send-email-Peng.Fan@freescale.com>

Hi Peng,

On 09/01/2015 09:59, Peng Fan wrote:
> Add more register for structure mxc_ccm_reg.
> 
> Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
> ---
>  arch/arm/include/asm/arch-mx6/crm_regs.h | 87 ++++++++++++++++++++++++++++++++
>  1 file changed, 87 insertions(+)
> 
> diff --git a/arch/arm/include/asm/arch-mx6/crm_regs.h b/arch/arm/include/asm/arch-mx6/crm_regs.h
> index 39f3c07..55e1287 100644
> --- a/arch/arm/include/asm/arch-mx6/crm_regs.h
> +++ b/arch/arm/include/asm/arch-mx6/crm_regs.h
> @@ -103,6 +103,93 @@ struct mxc_ccm_reg {
>  	u32 analog_pfd_528_set;
>  	u32 analog_pfd_528_clr;
>  	u32 analog_pfd_528_tog;
> +	u32 reg_1p1;				/* 0x4110 */
> +	u32 reg_1p1_set;			/* 0x4114 */

Even if the offset can be sometimes quite useful, the best reference is
the manual. You see that other fields have no offset in comments, so
please remove them here.

> +	u32 reg_1p1_clr;			/* 0x4118 */
> +	u32 reg_1p1_tog;			/* 0x411c */
> +	u32 reg_3p0;				/* 0x4120 */
> +	u32 reg_3p0_set;			/* 0x4124 */
> +	u32 reg_3p0_clr;			/* 0x4128 */
> +	u32 reg_3p0_tog;			/* 0x412c */
> +	u32 reg_2p5;				/* 0x4130 */
> +	u32 reg_2p5_set;			/* 0x4134 */
> +	u32 reg_2p5_clr;			/* 0x4138 */
> +	u32 reg_2p5_tog;			/* 0x413c */
> +	u32 reg_core;				/* 0x4140 */
> +	u32 reg_core_set;			/* 0x4144 */
> +	u32 reg_core_clr;			/* 0x4148 */
> +	u32 reg_core_tog;			/* 0x414c */
> +	u32 ana_misc0;				/* 0x4150 */
> +	u32 ana_misc0_set;			/* 0x4154 */
> +	u32 ana_misc0_clr;			/* 0x4158 */
> +	u32 ana_misc0_tog;			/* 0x415c */
> +	u32 ana_misc1;				/* 0x4160 */
> +	u32 ana_misc1_set;			/* 0x4164 */
> +	u32 ana_misc1_clr;			/* 0x4168 */
> +	u32 ana_misc1_tog;			/* 0x416c */
> +	u32 ana_misc2;				/* 0x4170 */
> +	u32 ana_misc2_set;			/* 0x4174 */
> +	u32 ana_misc2_clr;			/* 0x4178 */
> +	u32 ana_misc2_tog;			/* 0x417c */
> +	u32 tempsense0;				/* 0x4180 */
> +	u32 tempsense0_set;			/* 0x4184 */
> +	u32 tempsense0_clr;			/* 0x4188 */
> +	u32 tempsense0_tog;			/* 0x418c */
> +	u32 tempsense1;				/* 0x4190 */
> +	u32 tempsense1_set;			/* 0x4194 */
> +	u32 tempsense1_clr;			/* 0x4198 */
> +	u32 tempsense1_tog;			/* 0x419c */
> +	u32 usb1_vbus_detect;			/* 0x41a0 */
> +	u32 usb1_vbus_detect_set;		/* 0x41a4 */
> +	u32 usb1_vbus_detect_clr;		/* 0x41a8 */
> +	u32 usb1_vbus_detect_tog;		/* 0x41ac */
> +	u32 usb1_chrg_detect;			/* 0x41b0 */
> +	u32 usb1_chrg_detect_set;		/* 0x41b4 */
> +	u32 usb1_chrg_detect_clr;		/* 0x41b8 */
> +	u32 usb1_chrg_detect_tog;		/* 0x41bc */
> +	u32 usb1_vbus_det_stat;			/* 0x41c0 */
> +	u32 usb1_vbus_det_stat_set;		/* 0x41c4 */
> +	u32 usb1_vbus_det_stat_clr;		/* 0x41c8 */
> +	u32 usb1_vbus_det_stat_tog;		/* 0x41cc */
> +	u32 usb1_chrg_det_stat;			/* 0x41d0 */
> +	u32 usb1_chrg_det_stat_set;		/* 0x41d4 */
> +	u32 usb1_chrg_det_stat_clr;		/* 0x41d8 */
> +	u32 usb1_chrg_det_stat_tog;		/* 0x41dc */
> +	u32 usb1_loopback;			/* 0x41e0 */
> +	u32 usb1_loopback_set;			/* 0x41e4 */
> +	u32 usb1_loopback_clr;			/* 0x41e8 */
> +	u32 usb1_loopback_tog;			/* 0x41ec */
> +	u32 usb1_misc;				/* 0x41f0 */
> +	u32 usb1_misc_set;			/* 0x41f4 */
> +	u32 usb1_misc_clr;			/* 0x41f8 */
> +	u32 usb1_misc_tog;			/* 0x41fc */
> +	u32 usb2_vbus_detect;			/* 0x4200 */
> +	u32 usb2_vbus_detect_set;		/* 0x4204 */
> +	u32 usb2_vbus_detect_clr;		/* 0x4208 */
> +	u32 usb2_vbus_detect_tog;		/* 0x420c */
> +	u32 usb2_chrg_detect;			/* 0x4210 */
> +	u32 usb2_chrg_detect_set;		/* 0x4214 */
> +	u32 usb2_chrg_detect_clr;		/* 0x4218 */
> +	u32 usb2_chrg_detect_tog;		/* 0x421c */
> +	u32 usb2_vbus_det_stat;			/* 0x4220 */
> +	u32 usb2_vbus_det_stat_set;		/* 0x4224 */
> +	u32 usb2_vbus_det_stat_clr;		/* 0x4228 */
> +	u32 usb2_vbus_det_stat_tog;		/* 0x422c */
> +	u32 usb2_chrg_det_stat;			/* 0x4230 */
> +	u32 usb2_chrg_det_stat_set;		/* 0x4234 */
> +	u32 usb2_chrg_det_stat_clr;		/* 0x4238 */
> +	u32 usb2_chrg_det_stat_tog;		/* 0x423c */
> +	u32 usb2_loopback;			/* 0x4240 */
> +	u32 usb2_loopback_set;			/* 0x4244 */
> +	u32 usb2_loopback_clr;			/* 0x4248 */
> +	u32 usb2_loopback_tog;			/* 0x424c */
> +	u32 usb2_misc;				/* 0x4250 */
> +	u32 usb2_misc_set;			/* 0x4254 */
> +	u32 usb2_misc_clr;			/* 0x4258 */
> +	u32 usb2_misc_tog;			/* 0x425c */
> +	u32 digprog;				/* 0x4260 */
> +	u32 reserved1[7];
> +	u32 digprog_sololite;			/* 0x4280 */
>  };
>  #endif
>  
> 

Best regards,
Stefano Babic


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
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:[~2015-02-10 11:03 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-09  8:59 [U-Boot] [PATCH 00/12] imx:mx6 add ldo bypass Peng Fan
2015-01-09  8:59 ` [U-Boot] [PATCH 01/12] imx:mx6slevk add pmic and i2c configuration Peng Fan
2015-01-09  8:59 ` [U-Boot] [PATCH 02/12] imx:mx6sl add I2c pad settings Peng Fan
2015-01-09  8:59 ` [U-Boot] [PATCH 03/12] imx:mx6slevk implement power init board Peng Fan
2015-02-10 11:01   ` Stefano Babic
2015-01-09  8:59 ` [U-Boot] [PATCH 04/12] imx:mx6 update mxc_ccm_reg Peng Fan
2015-02-10 11:03   ` Stefano Babic [this message]
2015-02-11  2:19     ` Peng Fan
2015-01-09  8:59 ` [U-Boot] [PATCH 05/12] imx:mx6 update fuse_bank0_regs Peng Fan
2015-02-10 11:51   ` Stefano Babic
2015-01-09  8:59 ` [U-Boot] [PATCH 06/12] pmic:pfuze add macro for setting voltage Peng Fan
2015-02-10 11:54   ` Stefano Babic
2015-02-11  2:06     ` Peng Fan
2015-01-09  8:59 ` [U-Boot] [PATCH 07/12] imx:mx6 Support LDO bypass Peng Fan
2015-02-10 11:23   ` Stefano Babic
2015-02-10 14:50     ` Tim Harvey
2015-02-10 14:59       ` Fabio Estevam
2015-02-10 15:29         ` Tim Harvey
2015-02-11  8:42       ` Stefano Babic
2015-02-10 14:33   ` Tim Harvey
2015-02-11 10:49     ` Robin Gong
2015-02-11 15:47       ` Tim Harvey
2015-02-13  0:08         ` Tim Harvey
2015-02-13  7:20           ` Robin Gong
2015-02-13  8:16         ` Robin Gong
2015-02-24 15:56           ` Tim Harvey
2015-01-09  8:59 ` [U-Boot] [PATCH 08/12] imx:mx6slevk add ldo mode set function Peng Fan
2015-01-09  8:59 ` [U-Boot] [PATCH 09/12] imx:mx6sabresd Add ldo_mode_set function Peng Fan
2015-01-09  8:59 ` [U-Boot] [PATCH 10/12] imx:mx6sxsabresd add ldo mode set function Peng Fan
2015-01-09  8:59 ` [U-Boot] [PATCH 11/12] imx:mx6qsabreauto add ldo mode init Peng Fan
2015-01-09  8:59 ` [U-Boot] [PATCH 12/12] ARM:imx call ldo_mode_set in arch_preboot_os Peng Fan

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=54D9E57F.6050106@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox