public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH][v4] powerpc/mpc85xx: Add support for single source clocking
Date: Thu, 2 Jan 2014 15:47:11 -0800	[thread overview]
Message-ID: <52C5FA7F.4090103@freescale.com> (raw)
In-Reply-To: <1387270552-13888-1-git-send-email-Priyanka.Jain@freescale.com>

On 12/17/2013 12:55 AM, Priyanka Jain wrote:
> Single-source clocking is new feature introduced in T1040.
> In this mode, a single differential clock is supplied to the
> DIFF_SYSCLK_P/N inputs to the processor, which in turn is
> used to supply clocks to the sysclock, ddrclock and usbclock.
> 
> So, both ddrclock and syclock are driven by same differential
> sysclock in single-source clocking mode whereas in normal clocking
> mode, generally separate DDRCLK and SYSCLK pins provides
> reference clock for sysclock and ddrclock
> 
> DDR_REFCLK_SEL rcw bit is used to determine DDR clock source
> -If DDR_REFCLK_SEL rcw bit is 0, then DDR PLLs are driven in
>  normal clocking mode by DDR_Reference clock
> 
> -If DDR_REFCLK_SEL rcw bit is 1, then DDR PLLs are driven in
>  single source clocking mode by DIFF_SYSCLK
> 
> Add code to determine ddrclock based on DDR_REFCLK_SEL rcw bit.
> 
> Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
> Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com>
> ---
> Changes for v4:
> 	Updated README with CONFIG_SYS_FSL_SINGLE_SOURCE_CLK
> 	description.
> 
> Changes for v3:
> 	Incorporated York's comment to move declaration to
> 	beginning of function.
> 
> Changes for v2:
> 	Incorporated York's comment to separate out
> 	DDR_CLK_FREQ and SINGLE_SOURCE_CLK code
> 

Applied to u-boot-mpc85xx/master. Thanks.

York

      reply	other threads:[~2014-01-02 23:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-17  8:55 [U-Boot] [PATCH][v4] powerpc/mpc85xx: Add support for single source clocking Priyanka Jain
2014-01-02 23:47 ` York Sun [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=52C5FA7F.4090103@freescale.com \
    --to=yorksun@freescale.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox