Re: [PATCH] ppc: add unaligned support

2012-08-30 Thread Sascha Hauer
On Wed, Aug 29, 2012 at 06:13:06PM +0100, Renaud Barbier wrote: This file is copied from Linux 2.6.39. It is added so that the P2020RDB can still build. Signed-off-by: Renaud Barbier renaud.barb...@ge.com Applied, thanks Sascha --- arch/ppc/include/asm/unaligned.h | 16

Re: [PATCH] NAND Flash SMC timings update (nwe_pulse) for calao board based on AT91SAM9G20 SoC

2012-08-30 Thread gregory hermant
Hello sascha, It's just a typo. gregory Sascha Hauer wrote: On Tue, Aug 28, 2012 at 08:40:57AM +0200, gregory hermant wrote: Signed-off-by: Gregory Hermant gregory.herm...@calao-systems.com The commmit log is a bit sparse. It would be interesting if this is an enhancement, fixes a problem,

Re: SD card experts wanted

2012-08-30 Thread Johannes Stezenbach
Hi, On Wed, Aug 29, 2012 at 11:17:03PM +0200, Juergen Beisert wrote: any SD/MMC card experts here? I have trouble with the current SD/MMC detection code in Barebox. The function sd_change_freq() in the file 'drivers/mci/mci-core.c' tries to detect the max. transfer frequency the attached

[PATCH 2/2] trivial: bootm: correct grammar in error message

2012-08-30 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de --- commands/bootm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/bootm.c b/commands/bootm.c index 5f858e8..2d9f7f2 100644 --- a/commands/bootm.c +++ b/commands/bootm.c @@ -180,7 +180,7 @@ static int

[PATCH 0/2] trivial: correct spellings and grammar

2012-08-30 Thread Steffen Trumtrar
Hi all, this patchseries fixes just some spelling, grammar, etc errors I stumbled upon. Steffen Trumtrar (2): trivial: fix spelling in usb code trivial: bootm: correct grammar in error message commands/bootm.c |2 +- commands/usb.c |2 +- drivers/usb/core/usb.c |4

[PATCH 1/2] trivial: fix spelling in usb code

2012-08-30 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de --- commands/usb.c |2 +- drivers/usb/core/usb.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/usb.c b/commands/usb.c index d02ea4b..729a402 100644 --- a/commands/usb.c +++

[PATCH 0/3] ARM i.MX6: basic USB H1 support

2012-08-30 Thread Steffen Trumtrar
This series adds basic support for usb host1 on imx6q. This was tested on a sabrelite board. Steffen Trumtrar (3): ARM i.MX6: add the usbphy1 base addr ARM i.MX6: enable usbphy1 usb: use ep-specific pwrgood delay arch/arm/mach-imx/Makefile |2 +-

[PATCH 3/3] usb: use ep-specific pwrgood delay

2012-08-30 Thread Steffen Trumtrar
In usb_hub_configure the hub is asked for its descriptor and among other things its bPwrOn2PwrGood time. In the actual hub_power_on function this information was not used and a hardcoded value was used instead. For some hubs this delay is to short. So, use the delay the hub wants. Signed-off-by:

[PATCH 1/2] ARM i.MX6: Add usb-ehci to sabrelite

2012-08-30 Thread Steffen Trumtrar
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de --- arch/arm/boards/freescale-mx6-sabrelite/board.c | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boards/freescale-mx6-sabrelite/board.c b/arch/arm/boards/freescale-mx6-sabrelite/board.c index

[PATCH 0/2] ARM i.MX6: Add sabrelite features

2012-08-30 Thread Steffen Trumtrar
This adds usb h1 and the i2c iomux to the sabrelite board. Steffen Trumtrar (2): ARM i.MX6: Add usb-ehci to sabrelite ARM i.MX6: Add i2c iomux to sabrelite arch/arm/boards/freescale-mx6-sabrelite/board.c | 32 +++ 1 file changed, 32 insertions(+) -- 1.7.10.4

Re: [PATCH 3/3] usb: use ep-specific pwrgood delay

2012-08-30 Thread Steffen Trumtrar
Hi Eric, Hi Steffen, Le Thu, 30 Aug 2012 14:30:50 +0200, Steffen Trumtrar s.trumt...@pengutronix.de a écrit : In usb_hub_configure the hub is asked for its descriptor and among other things its bPwrOn2PwrGood time. In the actual hub_power_on function this information was not

Re: [PATCH 3/3] usb: use ep-specific pwrgood delay

2012-08-30 Thread Eric Bénard
Hi Steffen, Le Thu, 30 Aug 2012 15:26:31 +0200, Steffen Trumtrar s.trumt...@pengutronix.de a écrit : Where does your 50ms come from? From the debug messages of the usb-tool? from a printf of bPwrOn2PwrGood It has the same factor of times 2. yes, so in the end the hub is supposed to need 100ms

[PATCH 1/5] mpc85xx: i2c frequency

2012-08-30 Thread Renaud Barbier
A function that returns the system bus frequency used to compute the i2c bus frequency is added for future use. Signed-off-by: Renaud Barbier renaud.barb...@ge.com --- arch/ppc/mach-mpc85xx/include/mach/clocks.h |1 + arch/ppc/mach-mpc85xx/speed.c |9 + 2 files

[PATCH 0/5] IMX i2c driver update for the PPC 85xx

2012-08-30 Thread Renaud Barbier
This patch replaces the patch ppc: Freescale TSEC driver. This patch set prepares the PPC 85xx SOC to use the IMX i2c driver and updates the driver with specific clock settings. The patch also introduces a function returning the system clock to calculate the i2c frequency bus divider. Finally, the

[PATCH 3/5] mpc85xx: header update

2012-08-30 Thread Renaud Barbier
In order to use the IMX i2c driver on the mpc85xx SOC, the file mach/clocks.h is renamed mach/clock.h. Files using this header are updated accordingly. The file mach/generic.h is also added to accommodate the driver. Finally, there is a clean up of a line too long. Signed-off-by: Renaud Barbier

[PATCH 4/5] i2c: adapt the i2c-imx driver to mpc85xx machines.

2012-08-30 Thread Renaud Barbier
A function to calculate the frequency divider and digital filter sampling rate for the 85xx processors is added to the i2c-imx driver. Hence, this driver is used on IMX and 85xx machines. Signed-off-by: Renaud Barbier renaud.barb...@ge.com --- arch/ppc/mach-mpc85xx/include/mach/immap_85xx.h |

[PATCH 5/5] ppc: p2020rdb i2c support

2012-08-30 Thread Renaud Barbier
Support for both i2c busses on the p2020rdb board is added and the configuration file is updated to add the I2C driver and commands. Signed-off-by: Renaud Barbier renaud.barb...@ge.com --- arch/ppc/boards/freescale-p2020rdb/p2020rdb.c | 12 +++- arch/ppc/configs/p2020rdb_defconfig

Re: [PATCH 3/3] usb: use ep-specific pwrgood delay

2012-08-30 Thread Steffen Trumtrar
Hi Eric, On Thu, Aug 30, 2012 at 03:59:32PM +0200, Eric Bénard wrote: Hi Steffen, Le Thu, 30 Aug 2012 15:26:31 +0200, Steffen Trumtrar s.trumt...@pengutronix.de a écrit : Where does your 50ms come from? From the debug messages of the usb-tool? from a printf of bPwrOn2PwrGood It has

Re: SD card experts wanted

2012-08-30 Thread Juergen Beisert
Hi Johannes, Johannes Stezenbach wrote: On Thu, Aug 30, 2012 at 03:08:19PM +0200, Juergen Beisert wrote: Johannes Stezenbach wrote: MMC has the following speed modes: - legacy 0-26MHz - high speed SDR 0-52MHz - high speed DDR 0-52MHz - HS200 SDR 0-200MHz Ahh, here come