All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@sunsite.dk>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 7/9] am33xx: support ti814x mmc reference clock
Date: Sun, 03 Mar 2013 23:34:08 +0100	[thread overview]
Message-ID: <87bob0un8f.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1362101393-5131-8-git-send-email-mporter@ti.com> (Matt Porter's message of "Thu, 28 Feb 2013 20:29:51 -0500")

>>>>> "Matt" == Matt Porter <mporter@ti.com> writes:

 Matt> TI814x has a 192MHz hsmmc reference clock. Select that clock rate
 Matt> when building for TI814x.

 Matt> Signed-off-by: Matt Porter <mporter@ti.com>

Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

Did you figure out why it was working for you with 96 MHz ref?

 Matt> ---
 Matt> v2: no changes, new to the series
 Matt> ---
 Matt>  arch/arm/include/asm/arch-am33xx/mmc_host_def.h |    4 ++++
 Matt>  1 file changed, 4 insertions(+)

 Matt> diff --git a/arch/arm/include/asm/arch-am33xx/mmc_host_def.h b/arch/arm/include/asm/arch-am33xx/mmc_host_def.h
 Matt> index 1f597c0..e0a3b8b 100644
 Matt> --- a/arch/arm/include/asm/arch-am33xx/mmc_host_def.h
 Matt> +++ b/arch/arm/include/asm/arch-am33xx/mmc_host_def.h
 Matt> @@ -153,7 +153,11 @@ typedef struct hsmmc {
 Matt>  #define MMC_CMD0	(INDEX(0) | RSP_TYPE_NONE | DP_NO_DATA | DDIR_WRITE)
 
 Matt>  /* Clock Configurations and Macros */
 Matt> +#ifdef CONFIG_AM33XX
 Matt>  #define MMC_CLOCK_REFERENCE	96 /* MHz */
 Matt> +#elif defined(CONFIG_TI814X)
 Matt> +#define MMC_CLOCK_REFERENCE	192 /* MHz */
 Matt> +#endif
 
 Matt>  #define mmc_reg_out(addr, mask, val)\
 Matt>  	writel((readl(addr) & (~(mask))) | ((val) & (mask)), (addr))
 Matt> -- 
 Matt> 1.7.9.5



-- 
Bye, Peter Korsgaard

  parent reply	other threads:[~2013-03-03 22:34 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-01  1:29 [U-Boot] [PATCH v2 0/9] Add TI814x EVM Support Matt Porter
2013-03-01  1:29 ` [U-Boot] [PATCH v2 1/9] am33xx: convert defines from am33xx-specific to generic names Matt Porter
2013-03-03 22:29   ` Peter Korsgaard
2013-03-01  1:29 ` [U-Boot] [PATCH v2 2/9] am33xx: refactor emif4/ddr to support multiple EMIF instances Matt Porter
2013-03-03 22:30   ` Peter Korsgaard
2013-03-01  1:29 ` [U-Boot] [PATCH v2 3/9] am33xx: refactor am33xx clocks and add ti814x support Matt Porter
2013-03-02 15:37   ` [U-Boot] [PATCH v3 " Matt Porter
2013-03-01  1:29 ` [U-Boot] [PATCH v2 4/9] am33xx: refactor am33xx mux support " Matt Porter
2013-03-01  1:29 ` [U-Boot] [PATCH v2 5/9] am33xx: add ti814x specific register definitions Matt Porter
2013-03-01  1:29 ` [U-Boot] [PATCH v2 6/9] am33xx: add dmm support to emif4 library Matt Porter
2013-03-01  1:29 ` [U-Boot] [PATCH v2 7/9] am33xx: support ti814x mmc reference clock Matt Porter
2013-03-01 21:14   ` Tom Rini
2013-03-03 22:34   ` Peter Korsgaard [this message]
     [not found]   ` <80ea5e8e05d24152a4572f154a7124f0@DFLE72.ent.ti.com>
2013-03-04 13:57     ` Matt Porter
2013-03-04 14:04       ` Peter Korsgaard
2013-03-01  1:29 ` [U-Boot] [PATCH v2 8/9] ns16550: enable quirks for ti814x Matt Porter
2013-03-03 22:34   ` Peter Korsgaard
2013-03-01  1:29 ` [U-Boot] [PATCH v2 9/9] ti814x_evm: add ti814x evm board support Matt Porter

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=87bob0un8f.fsf@dell.be.48ers.dk \
    --to=jacmet@sunsite.dk \
    --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.