All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Grandegger <wg@grandegger.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3] mx6: Read silicon revision from register
Date: Wed, 14 Mar 2012 13:10:52 +0100	[thread overview]
Message-ID: <4F608ACC.1070600@grandegger.com> (raw)
In-Reply-To: <CAOMZO5D4OvKksv=khv6m5OA5ukMmr2JOO_5+_U=CGiO9_6fC-Q@mail.gmail.com>

Hi Fabio,

On 03/14/2012 11:24 AM, Fabio Estevam wrote:
> On Wed, Mar 14, 2012 at 3:09 AM, Liu Hui-R64343 <r64343@freescale.com> wrote:
> 
>> I'm afraid whether this is correct to add it here since some registers of anatop was included into the ccm_reg.
>>
>> ANATOP is a collection of analog and anadig. So, ANATOP register mostly is consist of 4 parts:
>>
>> ANADIG in CCM: for example: PLL/PFD,
>> ANAREG in power: internal analog regulator, power tree.
>> ANAUSB in usb: for usb vbus dection, charge, etc.
>> ANAMISC: misc feature, only one register now for the Chip Silicon Version
>>
>> So the siliconid is in the last register.
> 
> In the mx6 reference manual version I have I cannot find all the
> fields you mentioned.
> 
> Can you send me offline the anatop register layout so that I can
> complete this structure?

I think "arch/arm/mach-mx6/regs-anadig.h" from Freescale's 2.6.38 kernel
tree does define the register layout. Do you have that file?

Wolfgang.

  reply	other threads:[~2012-03-14 12:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14  2:56 [U-Boot] [PATCH v3] mx6: Read silicon revision from register Fabio Estevam
2012-03-14  6:09 ` Liu Hui-R64343
2012-03-14 10:24   ` Fabio Estevam
2012-03-14 12:10     ` Wolfgang Grandegger [this message]
2012-03-14 15:05       ` Eric Nelson

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=4F608ACC.1070600@grandegger.com \
    --to=wg@grandegger.com \
    --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.