Re: [PATCH] ARM: OMAP5 processors support

2013-04-24 Thread Sascha Hauer
On Wed, Apr 24, 2013 at 01:33:20PM +0300, Uladzimir Bely wrote: > From: Uladzimir Bely > > + > +static struct NS16550_plat serial_plat = { > + .clock = 4800, /* 48MHz (APLL96/2) */ > + .shift = 2, > +}; > + > +static int omap5_sevm_console_init(void) > +{ > + /* Register the

Re: [PATCH v2] ARM i.MX28: make chip reset via reset pin work again

2013-04-24 Thread Marc Kleine-Budde
On 04/24/2013 04:45 PM, Sascha Hauer wrote: > On Wed, Apr 24, 2013 at 10:37:12AM +0200, Marc Kleine-Budde wrote: >> On 04/24/2013 10:35 AM, Sascha Hauer wrote: >>> On Wed, Apr 24, 2013 at 10:28:53AM +0200, Marc Kleine-Budde wrote: On 04/19/2013 04:36 PM, Marc Kleine-Budde wrote: > Since co

Re: [PATCH v2] ARM i.MX28: make chip reset via reset pin work again

2013-04-24 Thread Sascha Hauer
On Wed, Apr 24, 2013 at 10:37:12AM +0200, Marc Kleine-Budde wrote: > On 04/24/2013 10:35 AM, Sascha Hauer wrote: > > On Wed, Apr 24, 2013 at 10:28:53AM +0200, Marc Kleine-Budde wrote: > >> On 04/19/2013 04:36 PM, Marc Kleine-Budde wrote: > >>> Since commit: > >>> > >>> 2ccd451 ARM i.MX28: chang

Re: [PATCH 1/1] mci: add Secure Digital Host Controller Interface support

2013-04-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:54 Wed 24 Apr , Sascha Hauer wrote: > On Wed, Apr 24, 2013 at 11:09:07AM +0200, Jean-Christophe PLAGNIOL-VILLARD > wrote: > > as today more and more hw use it so import a sdhci implemetation based on > > linux. > > Problem is that the Linux implementation sucks :/ > > At least on i.MX

Re: [PATCH] ARM: OMAP5 processors support

2013-04-24 Thread Uladzimir Bely
Previous patch (http://lists.infradead.org/pipermail/barebox/2013-April/014243.html) was broken (wrapped long lines) by mailer, so it's a correct version. Since commit: 43f9a96a ubimkvol: Typo fix Patch adds basic OMAP5 support to barebox. Tested on SD card with 2 partitions: vfat (MLO,

Re: [PATCH 1/1] mci: add Secure Digital Host Controller Interface support

2013-04-24 Thread Sascha Hauer
On Wed, Apr 24, 2013 at 11:09:07AM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > as today more and more hw use it so import a sdhci implemetation based on > linux. Problem is that the Linux implementation sucks :/ At least on i.MX this driver is a pain to use. It needs more quirks than fit in

[PATCH 1/1] mci: add Secure Digital Host Controller Interface support

2013-04-24 Thread Jean-Christophe PLAGNIOL-VILLARD
as today more and more hw use it so import a sdhci implemetation based on linux. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- drivers/mci/Kconfig | 12 + drivers/mci/Makefile |1 + drivers/mci/sdhci.c | 829 ++ drivers/mci/sdhci.h

Re: [PATCH 1/1] mci: add Secure Digital Host Controller Interface support

2013-04-24 Thread Alexander Shiyan
> as today more and more hw use it so import a sdhci implemetation based on > linux. > > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > --- > drivers/mci/Kconfig | 12 + > drivers/mci/Makefile |1 + > drivers/mci/sdhci.c | 829 > ++ >

Re: [PATCH] Added sd driver for bcm2835 (Raspberry PI)

2013-04-24 Thread Jean-Christophe PLAGNIOL-VILLARD
On 09:35 Wed 24 Apr , Sascha Hauer wrote: > > On Tue, Apr 23, 2013 at 03:41:45PM +0200, wilhelm wrote: > > --- > > arch/arm/mach-bcm2835/core.c | 1 + > > drivers/mci/Kconfig | 5 + > > drivers/mci/Makefile | 1 + > > drivers/mci/mci-bcm2835.c| 551 > >

Re: [PATCH v2] ARM i.MX28: make chip reset via reset pin work again

2013-04-24 Thread Marc Kleine-Budde
On 04/24/2013 10:35 AM, Sascha Hauer wrote: > On Wed, Apr 24, 2013 at 10:28:53AM +0200, Marc Kleine-Budde wrote: >> On 04/19/2013 04:36 PM, Marc Kleine-Budde wrote: >>> Since commit: >>> >>> 2ccd451 ARM i.MX28: change default watchdog reset method >>> >>> the external reset via the reset pin is

Re: [PATCH v2] ARM i.MX28: make chip reset via reset pin work again

2013-04-24 Thread Sascha Hauer
On Wed, Apr 24, 2013 at 10:28:53AM +0200, Marc Kleine-Budde wrote: > On 04/19/2013 04:36 PM, Marc Kleine-Budde wrote: > > Since commit: > > > > 2ccd451 ARM i.MX28: change default watchdog reset method > > > > the external reset via the reset pin is broken. That commit overwrites the > > HW_CL

Re: [PATCH v2] ARM i.MX28: make chip reset via reset pin work again

2013-04-24 Thread Marc Kleine-Budde
On 04/19/2013 04:36 PM, Marc Kleine-Budde wrote: > Since commit: > > 2ccd451 ARM i.MX28: change default watchdog reset method > > the external reset via the reset pin is broken. That commit overwrites the > HW_CLKCTRL_RESET register with only WDOG_POR_DISABLE set, which results in > disabling

Re: [PATCH] Added sd driver for bcm2835 (Raspberry PI)

2013-04-24 Thread Sascha Hauer
On Tue, Apr 23, 2013 at 03:41:45PM +0200, wilhelm wrote: > --- > arch/arm/mach-bcm2835/core.c | 1 + > drivers/mci/Kconfig | 5 + > drivers/mci/Makefile | 1 + > drivers/mci/mci-bcm2835.c| 551 > +++ > drivers/mci/mci-bcm2835.h

[PATCH 2/2] mci: imx-esdhc: factor out common sdhci registers

2013-04-24 Thread Sascha Hauer
This gives the SDHCI specific registers a common name and moves them to a separate file for use by other SDHCI like drivers. The SDHCI spec has some 16bit and 8bit registers. The i.MX accesses these as 32bit registers. These register defines now are named after the SDHCI registers they combine int

[PATCH] mci: factor out common SDHCI register defines

2013-04-24 Thread Sascha Hauer
The SDHCI controller core is implemented by different SoC vendors. All these implementations are quite different which makes it hard to write and maintain a common driver. These patches factor out the common register layout so that this can be shared by drivers which makes them more comparable and

[PATCH 1/2] mci: imx-esdhc: remove cache snoop register access

2013-04-24 Thread Sascha Hauer
Remove some leftover from former powerpc support which has no relevance for i.MX based esdhc controllers. Signed-off-by: Sascha Hauer --- drivers/mci/imx-esdhc.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c index 8c2695c..f4fdac8 100