Re: [U-Boot] [PATCH v1 2/7] clk: at91: Improve the clock implementation

2016-09-17 Thread Wenyou.Yang
Hi Stephen, Thank you for your review, and detailed comments. The version 2 has been sent out, please give your advices. > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: 2016年9月14日 3:34 > To: Wenyou Yang - A41535 > Cc: U-Boot Mailing List ; Stephen War

[U-Boot] [PATCH v2 7/7] mmc: atmel_sdhci: Remove unneccessary clock calling

2016-09-17 Thread Wenyou Yang
Due to the peripheral and generated clock driver improvement, remove the unneccessary clock calling. Signed-off-by: Wenyou Yang --- Changes in v2: None drivers/mmc/atmel_sdhci.c | 27 ++- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/drivers/mmc/atmel_s

[U-Boot] [PATCH v2 3/7] gpio: atmel_pio4: Remove unneccessary clock calling

2016-09-17 Thread Wenyou Yang
Due to the peripheral clock driver improvement, remove the unneccessary clock calling. Signed-off-by: Wenyou Yang Acked-by: Stephen Warren --- Changes in v2: - Add Acked-by tag for gpio/atmel_pio4. drivers/gpio/atmel_pio4.c | 12 1 file changed, 12 deletions(-) diff --git a/dri

[U-Boot] [PATCH v2 6/7] usb: ehci-atmel: Remove unneccessary clock calling

2016-09-17 Thread Wenyou Yang
Due to the peripheral clock driver improvement, remove the unneccessary clock calling. Signed-off-by: Wenyou Yang --- Changes in v2: None drivers/usb/host/ehci-atmel.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atme

[U-Boot] [PATCH v2 2/7] clk: at91: Improve the clock implementation

2016-09-17 Thread Wenyou Yang
For the peripheral clock, provide the clock ops for the clock provider, such as spi0_clk. The .of_xlate is to get the clk->id, the .enable is to enable the spi0 peripheral clock, the .get_rate is to get the clock frequency. The driver for periph32ck node is responsible for recursively binding its

[U-Boot] [PATCH v2 5/7] i2c: at91_i2c: Change error return -ENODEV to -EINVAL

2016-09-17 Thread Wenyou Yang
Change the error return value -ENODEV from to -EINVAL for more reasonable. Signed-off-by: Wenyou Yang --- Changes in v2: None drivers/i2c/at91_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/at91_i2c.c b/drivers/i2c/at91_i2c.c index 73f29e3..472420b 100644

[U-Boot] [PATCH v2 4/7] i2c: at91_i2c: Remove unneccessary clock calling

2016-09-17 Thread Wenyou Yang
Due to the peripheral clock driver improvement, remove the unneccessary clock calling. Signed-off-by: Wenyou Yang --- Changes in v2: None drivers/i2c/at91_i2c.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/i2c/at91_i2c.c b/drivers/i2c/at91_i2c.c index 8e9c3ad..7

[U-Boot] [PATCH v2 0/7] clk: at91: Improve the clock implementation

2016-09-17 Thread Wenyou Yang
Add the clock ops for such as spi0_clk, which is the real clock provider, instead of periph32ck, which only recursively bind its children as clk devices. Also update the clocks called in the drivers. Changes in v2: - Add Acked-by tag. - For the periph32ck, periph64ck, gck, systemck nodes, they a

[U-Boot] [PATCH v2 1/7] clk: clk-uclass: Assign clk->dev before call .of_xlate

2016-09-17 Thread Wenyou Yang
In order to make clk->dev available in ops->of_xlate() to get the clock ID from the 'reg' property of the clock node, assign the clk->dev before calling ops->of_xlate(). Signed-off-by: Wenyou Yang Acked-by: Stephen Warren --- Changes in v2: - Add Acked-by tag. drivers/clk/clk-uclass.c | 3 ++

Re: [U-Boot] Building u-boot.imx and SPL simultaneously

2016-09-17 Thread Peng Fan
Hi, On Sat, Sep 10, 2016 at 04:40:47PM -0700, Eric Nelson wrote: >Hi Tom, > >On 09/06/2016 07:15 AM, Tom Rini wrote: >> On Tue, Sep 06, 2016 at 07:00:56AM -0700, Eric Nelson wrote: >>> On 09/06/2016 06:40 AM, Tom Rini wrote: On Fri, Sep 02, 2016 at 10:53:58PM +0200, Petr Kulhavy wrote: > > >

Re: [U-Boot] [PATCH 6/6] [RFC] at91: SPL clock fix for AT91SAM9G15 based boards.

2016-09-17 Thread Wenyou.Yang
Hi Heiko, > -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heiko > Schocher > Sent: 2016年8月17日 15:13 > To: U-Boot Mailing List > Cc: Bo Shen > Subject: [U-Boot] [PATCH 6/6] [RFC] at91: SPL clock fix for AT91SAM9G15 > based boards. > > on a at91sam9g

Re: [U-Boot] [PATCH 0/2] Add sdram capacity auto detect for rk3288

2016-09-17 Thread Kever Yang
Hi Sandy Patterson, On 09/15/2016 08:00 PM, Sandy Patterson wrote: Hi Kever, With regards to the SPL size issue, I believe that the CONFIG_ROCKCHIP_SPL_BACK_TO_BROM option should work with all of the rk3288 boards. So if your patch causes unbootable SPL's because they're too big, then you shoul

Re: [U-Boot] [PATCH 2/6] ARM: at91: clock: correct PRES offset for at91sam9x5

2016-09-17 Thread Wenyou.Yang
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heiko > Schocher > Sent: 2016年8月17日 15:13 > To: U-Boot Mailing List > Cc: Bo Shen > Subject: [U-Boot] [PATCH 2/6] ARM: at91: clock: correct PRES offset for > at91sam9x5 > > on at91sam9x5 PRES offset

Re: [U-Boot] [PATCH 4/6] arm, at91: add some missing fields in PIO struct

2016-09-17 Thread Wenyou.Yang
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heiko > Schocher > Sent: 2016年8月17日 15:13 > To: U-Boot Mailing List > Cc: Bo Shen > Subject: [U-Boot] [PATCH 4/6] arm, at91: add some missing fields in PIO struct > > add missing > > u32 io_dela

Re: [U-Boot] [PATCH 1/6] arm: at91: mpddrc: add missing MPDDRC_MD defines

2016-09-17 Thread Wenyou.Yang
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heiko > Schocher > Sent: 2016年8月17日 15:13 > To: U-Boot Mailing List > Cc: Bo Shen > Subject: [U-Boot] [PATCH 1/6] arm: at91: mpddrc: add missing MPDDRC_MD > defines > > add missing MPDDRC_MD defines

Re: [U-Boot] [PATCH 5/6] at91: add function to set IO drive

2016-09-17 Thread Wenyou.Yang
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heiko > Schocher > Sent: 2016年8月17日 15:13 > To: U-Boot Mailing List > Cc: Bo Shen > Subject: [U-Boot] [PATCH 5/6] at91: add function to set IO drive > > add new function to set I/O drive. > > Signed

[U-Boot] [PATCH v2] mmc: sdhci: Add the programmable clock mode support

2016-09-17 Thread Wenyou Yang
Add the programmable clock mode for the clock generator. Signed-off-by: Wenyou Yang --- Changes in v2: - Rebase on the latest u-boot-mmc. - Fix the typo Muliplier->Multiplier. drivers/mmc/sdhci.c | 50 -- include/sdhci.h | 2 ++ 2 files ch

[U-Boot] FDT pointer value, passed by the PI firmware, is not set in u-boot

2016-09-17 Thread dh
I'm willing to make this change to set the FDT address and test this. Where in the u-boot code should the change be made? per this thread: https://www.raspberrypi.org/forums/viewtopic.php?t=134018 The DTB start address is size dependent. The aim is to copy the DTB as high as possible. Once the k

Re: [U-Boot] [PATCH 2/3] sunxi: Enable USB host support for Sinlinx SinA33

2016-09-17 Thread Hans de Goede
Hi, On 14-09-16 04:26, Chen-Yu Tsai wrote: Sinlinx SinA33 has 1 USB host port. Enable EHCI_HCD support for it. Also enable USB mass storage support so we can access USB sticks. Signed-off-by: Chen-Yu Tsai --- configs/Sinlinx_SinA33_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [U-Boot] [PATCH] sunxi: musb: Power off OTG port VBUS when disabled

2016-09-17 Thread Hans de Goede
Hi, On 07-09-16 08:25, Chen-Yu Tsai wrote: The Linux kernel musb driver expects VBUS to be off while initializing musb. Having it on results in a repeating string of warnings, followed by an unusable peripheral. The peripheral is only usable after physically removing the OTG adapter, letting mus