mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Robert Jarzmik <robert.jarzmik@free.fr>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] ARM: mioa701: fix frequence speedup code
Date: Mon, 20 Jan 2014 16:38:48 +0100	[thread overview]
Message-ID: <20140120153848.GR16215@pengutronix.de> (raw)
In-Reply-To: <1390045689-23127-1-git-send-email-robert.jarzmik@free.fr>

Hi Robert,

On Sat, Jan 18, 2014 at 12:48:04PM +0100, Robert Jarzmik wrote:
> As barebox has become the true SPL of mioa701 board (no intermediate
> SPL), a bug was uncovered in the init procedure, where the CPU voltage
> was to be increased by commanding the I2C voltage regulator, while the
> I2C was shut down.
> 
> Fix it by unclock-gating the power I2C bus before using it.
> 
> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>

Applied this series, thanks

Sascha

> ---
>  arch/arm/boards/mioa701/board.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boards/mioa701/board.c b/arch/arm/boards/mioa701/board.c
> index c46b5da..7ee0be0 100644
> --- a/arch/arm/boards/mioa701/board.c
> +++ b/arch/arm/boards/mioa701/board.c
> @@ -266,6 +266,7 @@ static int mioa701_coredevice_init(void)
>  	 * This requires to command the Maxim 1586 to upgrade core voltage to
>  	 * 1.475 V, on the power I2C bus (device 0x14).
>  	 */
> +	CKEN |= CKEN_PWRI2C;
>  	CCCR = CCCR_A | 0x20290;
>  	PCFR = PCFR_GPR_EN | PCFR_FVC | PCFR_DC_EN | PCFR_PI2C_EN | PCFR_OPDE;
>  	PCMD(0) = PCMD_LC | 0x1f;
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      parent reply	other threads:[~2014-01-20 15:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-18 11:48 Robert Jarzmik
2014-01-18 11:48 ` [PATCH] ARM: pxa: add reset source detection Robert Jarzmik
2014-01-18 11:48 ` [PATCH] ARM: pxa: add poweroff capability Robert Jarzmik
2014-01-18 11:48 ` [PATCH] ARM: mioa701 defconfig update Robert Jarzmik
2014-01-18 11:48 ` [PATCH] ARM: mioa701 change MTD layout Robert Jarzmik
2014-01-18 11:48 ` [PATCH] ARM: mioa701: poweroff the board on long power press Robert Jarzmik
2014-01-20 15:38 ` Sascha Hauer [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=20140120153848.GR16215@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=robert.jarzmik@free.fr \
    /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