Re: [U-Boot] [U-Boot, v2, 3/4] rockchip: rk3288: move sdram driver to driver/ram

2017-09-27 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > >

Re: [U-Boot] rockchip: rk3188: ram: add support for 16bit row address

2017-09-27 Thread Philipp Tomsich
> RK3188 using the same ddr_conf for both 15 bit and 16 bit row address. > > Signed-off-by: Kever Yang > --- > > drivers/ram/rockchip/sdram_rk3188.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > Applied to u-boot-rockchip, thanks!

Re: [U-Boot] [U-Boot, v2, 1/4] rockchip: rk3399: move sdram driver to driver/ram

2017-09-27 Thread Philipp Tomsich
> Since we have CONFIG_RAM framwork and its driver folder, move the driver > into it. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich > --- > >

Re: [U-Boot] [PATCH] rockchip: rk3188: ram: add support for 16bit row address

2017-09-27 Thread Dr. Philipp Tomsich
Kever, > On 25 Sep 2017, at 10:33, Kever Yang wrote: > > RK3188 using the same ddr_conf for both 15 bit and 16 bit row address. > > Signed-off-by: Kever Yang > --- > > drivers/ram/rockchip/sdram_rk3188.c | 9 - > 1 file changed, 8

[U-Boot] [GIT PULL] u-boot-sunxi/master

2017-09-27 Thread Maxime Ripard
Hi Tom, Here is a pull request for the sunxi related changes for the next U-Boot version. The diffstat is a bit scary, but mostly because of the Kconfig migration of the USB ethernet related options, which were enabled by a big number of boards. The fastboot options simplification is also one of

[U-Boot] [PATCH] rockchip: mkimage: add support for rk3128 soc

2017-09-27 Thread Kever Yang
Add support for rk3128 package header in mkimage tool. Signed-off-by: Kever Yang --- tools/rkcommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 04e8272..1a24e16 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c

Re: [U-Boot] [U-Boot, 1/6] rockchip: clk: Add mac clock set for rk3399

2017-09-27 Thread Philipp Tomsich
> Assuming mac_clk is fed by an external clock, set clk_rmii_src > clock select control register from IO for rgmii interface. > > Signed-off-by: David Wu > --- > > drivers/clk/rockchip/clk_rk3399.c | 21 +++-- > 1 file changed, 19 insertions(+), 2

Re: [U-Boot] rockchip: rk3188: ram: add support for 16bit row address

2017-09-27 Thread Philipp Tomsich
> RK3188 using the same ddr_conf for both 15 bit and 16 bit row address. > > Signed-off-by: Kever Yang > --- > > drivers/ram/rockchip/sdram_rk3188.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v4, 2/2] rockchip: dts: rk3229: remove dram channel info

2017-09-27 Thread Philipp Tomsich
> The dram channel info will be auto detect by the driver, > we do not need it. > > Signed-off-by: Kever Yang > --- > > Changes in v4: None > Changes in v3: None > > arch/arm/dts/rk3229-evb.dts | 1 - > 1 file changed, 1 deletion(-) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 2/6] rockchip: dts: rk3399-evb: Change the tx/rx delay value for transmission quality

2017-09-27 Thread Philipp Tomsich
> Give the mac controller the correct tx-delay and rx-delay value > for the rgmii mode transmission. If they are not matched, there > would be Ethernet packets lost, the net feature may not work. > > Signed-off-by: David Wu > --- > > arch/arm/dts/rk3399-evb.dts | 4

Re: [U-Boot] rockchip: rk3188: ram: add support for 16bit row address

2017-09-27 Thread Philipp Tomsich
> RK3188 using the same ddr_conf for both 15 bit and 16 bit row address. > > Signed-off-by: Kever Yang > --- > > drivers/ram/rockchip/sdram_rk3188.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 4/6] net: gmac_rockchip: Define the gmac grf register struct at gmac_rockchip.c

2017-09-27 Thread Philipp Tomsich
> If we include both the rk3288_grf.h and rv1108_grf.h, there is a > number of compiling error for redefinition. So we define the reg > structs of mac_grf at gmac_rockchip.c. Remove the rk**_grf.h files, > give them own grf offset for their use. > > Signed-off-by: David Wu

Re: [U-Boot] [U-Boot, 3/6] rockchip: configs: Enable CONFIG_NET_RANDOM_ETHADDR for rk3288-evb

2017-09-27 Thread Philipp Tomsich
> If the Ethernet address is not set, the network can't work, > enable the random address config for default use. > > Signed-off-by: David Wu > --- > > configs/evb-rk3288_defconfig | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v4, 2/2] rockchip: dts: rk3229: remove dram channel info

2017-09-27 Thread Philipp Tomsich
> The dram channel info will be auto detect by the driver, > we do not need it. > > Signed-off-by: Kever Yang > --- > > Changes in v4: None > Changes in v3: None > > arch/arm/dts/rk3229-evb.dts | 1 - > 1 file changed, 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 5/6] net: gmac_rockchip: Use the proerty of "clock_in_out" to set mac clock

2017-09-27 Thread Philipp Tomsich
> If the mac clock if from the external IO, set clock rate with 0; > If the mac clock if from the internal divider pll, set 50M for > rmii mode and set 125M for rgmii. > > Signed-off-by: David Wu > --- > > drivers/net/gmac_rockchip.c | 23 +++ > 1

Re: [U-Boot] [U-Boot, 6/6] rockchip: gmac_rockchip: Add gmac support for rv1108

2017-09-27 Thread Philipp Tomsich
> The rv1108 mac only support rmii interface, so need to add the > set_rmii() ops. Use the phy current interface to set rmii or > rgmii ops. > > Signed-off-by: David Wu > --- > > drivers/net/gmac_rockchip.c | 67 > +++-- > 1

Re: [U-Boot] [PATCH v2 09/19] arm: socfpga: Add drivers for programing FPGA from flash

2017-09-27 Thread Marek Vasut
On 09/27/2017 11:13 AM, Chee, Tien Fong wrote: > On Sel, 2017-09-26 at 12:39 +0200, Marek Vasut wrote: >> On 09/26/2017 11:52 AM, Chee, Tien Fong wrote: >>> >>> On Isn, 2017-09-25 at 11:14 +0200, Marek Vasut wrote: On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > >

[U-Boot] [PATCH] arm: mvebu: theadorable_debug_defconfig: Enable setexpr command

2017-09-27 Thread Stefan Roese
The setexpr command is useful for scripting, lets enable it for this platform. Signed-off-by: Stefan Roese --- configs/theadorable_debug_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/theadorable_debug_defconfig b/configs/theadorable_debug_defconfig index

[U-Boot] [PATCH] x86: theadorable-x86-common: Add further pci hotplug cmdline parameters

2017-09-27 Thread Stefan Roese
This is needed for the PCIe hotplug to work correctly on some boards. Signed-off-by: Stefan Roese Cc: Bin Meng --- include/configs/theadorable-x86-common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH] x86: theadorable-x86-xxx_defconfig: Enable setexpr command

2017-09-27 Thread Stefan Roese
The setexpr command is useful for scripting, lets enable it for all x86 based theadorable platforms. Signed-off-by: Stefan Roese Cc: Bin Meng --- configs/theadorable-x86-conga-qa3-e3845-pcie-x4_defconfig | 1 - configs/theadorable-x86-conga-qa3-e3845_defconfig

Re: [U-Boot] [PATCH v2 09/19] arm: socfpga: Add drivers for programing FPGA from flash

2017-09-27 Thread Chee, Tien Fong
On Sel, 2017-09-26 at 12:39 +0200, Marek Vasut wrote: > On 09/26/2017 11:52 AM, Chee, Tien Fong wrote: > > > > On Isn, 2017-09-25 at 11:14 +0200, Marek Vasut wrote: > > > > > > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee

[U-Boot] [PATCH] rockchip: rk3036: fix grf macro define

2017-09-27 Thread Kever Yang
Some of macros definition are not correct, fix them according to TRM. Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/grf_rk3036.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3036.h

[U-Boot] [PATCH] rockchip: clk: fix typo in rk322x clock driver

2017-09-27 Thread Kever Yang
Fix typo RK322X/RK3036 in rk322x clock driver. Signed-off-by: Kever Yang --- drivers/clk/rockchip/clk_rk322x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk_rk322x.c b/drivers/clk/rockchip/clk_rk322x.c index

Re: [U-Boot] [PATCH v2 16/19] arm: socfpga: Enhance Intel SoCFPGA program header to support Arria 10

2017-09-27 Thread Marek Vasut
On 09/27/2017 05:30 AM, Chee, Tien Fong wrote: > On Sel, 2017-09-26 at 12:37 +0200, Marek Vasut wrote: >> On 09/26/2017 06:42 AM, Chee, Tien Fong wrote: >>> >>> On Isn, 2017-09-25 at 11:23 +0200, Marek Vasut wrote: On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > >

Re: [U-Boot] [PATCH v2 15/19] arm: socfpga: Add support to memory allocation in SPL

2017-09-27 Thread Marek Vasut
On 09/27/2017 07:43 AM, Chee, Tien Fong wrote: > On Sel, 2017-09-26 at 12:37 +0200, Marek Vasut wrote: >> On 09/26/2017 07:06 AM, Chee, Tien Fong wrote: >>> >>> On Isn, 2017-09-25 at 11:21 +0200, Marek Vasut wrote: On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > >

Re: [U-Boot] [PATCH v2 09/19] arm: socfpga: Add drivers for programing FPGA from flash

2017-09-27 Thread Marek Vasut
On 09/27/2017 08:05 AM, Chee, Tien Fong wrote: > On Sel, 2017-09-26 at 12:32 +0200, Marek Vasut wrote: >> On 09/26/2017 10:30 AM, Chee, Tien Fong wrote: >>> >>> On Isn, 2017-09-25 at 11:14 +0200, Marek Vasut wrote: On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > >

Re: [U-Boot] [PATCH v2 02/19] doc: dtbinding: Description on FPGA RBF properties at Arria 10 FPGA manager

2017-09-27 Thread Marek Vasut
On 09/27/2017 05:12 AM, Chee, Tien Fong wrote: > On Sel, 2017-09-26 at 12:30 +0200, Marek Vasut wrote: >> On 09/26/2017 10:54 AM, Chee, Tien Fong wrote: >>> >>> On Isn, 2017-09-25 at 11:00 +0200, Marek Vasut wrote: On 09/25/2017 10:39 AM, tien.fong.c...@intel.com wrote: > > >

Re: [U-Boot] [PATCH v4 1/2] rockchip: rk322x: add sdram driver

2017-09-27 Thread Dr. Philipp Tomsich
> On 27 Sep 2017, at 10:38, Kever Yang wrote: > > Add driver for rk322x to support sdram initialize in SPL. > > Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

[U-Boot] [PATCH v4 2/2] rockchip: dts: rk3229: remove dram channel info

2017-09-27 Thread Kever Yang
The dram channel info will be auto detect by the driver, we do not need it. Signed-off-by: Kever Yang --- Changes in v4: None Changes in v3: None arch/arm/dts/rk3229-evb.dts | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/dts/rk3229-evb.dts

[U-Boot] [PATCH v4 1/2] rockchip: rk322x: add sdram driver

2017-09-27 Thread Kever Yang
Add driver for rk322x to support sdram initialize in SPL. Signed-off-by: Kever Yang --- Changes in v4: - rebase on u-boot-rockchip master with patchset "move rockchip sdram driver to driver/ram" Changes in v3: - move rk332x sdram driver to driver/ram - do the ram

[U-Boot] [PATCH v4 0/2] rockchip: rk3229: add sdram and sd support

2017-09-27 Thread Kever Yang
Add sdram driver for rk3229 and other fix like pinctrl and sd node. Changes in v4: - rebase on u-boot-rockchip master with patchset "move rockchip sdram driver to driver/ram" Changes in v3: - move rk332x sdram driver to driver/ram - do the ram init in TPL instad of SPL Kever Yang (2):

Re: [U-Boot] u-boot Boot issue about rk3188

2017-09-27 Thread Paweł Jarosz
W dniu 27.09.2017 o 09:46, Andy Yan pisze: Hi Pawel: On 2017年09月27日 14:55, Paweł Jarosz wrote: Hi, W dniu 27.09.2017 o 03:48, Andy Yan pisze: Hi Pawel: On 2017年09月26日 19:34, Paweł Jarosz wrote: Hi, W dniu 25.09.2017 o 12:29, Heiko Stübner pisze: Hi Andy, Am Montag, 25. September

[U-Boot] [PATCH v2 4/4] rockchip: rk3328: move sdram driver to driver/ram

2017-09-27 Thread Kever Yang
Since we have CONFIG_RAM framwork and its driver folder, move the driver into it. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich ---

[U-Boot] [PATCH v2 3/4] rockchip: rk3288: move sdram driver to driver/ram

2017-09-27 Thread Kever Yang
Since we have CONFIG_RAM framwork and its driver folder, move the driver into it. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich ---

[U-Boot] [PATCH v2 2/4] rockchip: rk3188: move sdram driver to driver/ram

2017-09-27 Thread Kever Yang
Since we have CONFIG_RAM framwork and its driver folder, move the driver into it. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich ---

[U-Boot] [PATCH v2 1/4] rockchip: rk3399: move sdram driver to driver/ram

2017-09-27 Thread Kever Yang
Since we have CONFIG_RAM framwork and its driver folder, move the driver into it. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich ---

[U-Boot] [PATCH v2 0/4] move rockchip sdram driver to driver/ram

2017-09-27 Thread Kever Yang
move all the Rockchip sdram driver which support CONFIG_RAM into driver/ram folder Series 2 is a rebase based on u-boot-rockchip master branch. Kever Yang (4): rockchip: rk3399: move sdram driver to driver/ram rockchip: rk3188: move sdram driver to driver/ram rockchip: rk3288: move sdram

Re: [U-Boot] [PATCH v2] sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation

2017-09-27 Thread Łukasz Majewski
On 09/27/2017 10:04 AM, Jagan Teki wrote: On Mon, Sep 25, 2017 at 4:10 PM, Lukasz Majewski wrote: The content of Bank Address Register (BAR) is volatile. It is cleared after power cycle or reset command (RESET F0h). Some memories (like e.g. s25fl256s) use it to access memory

Re: [U-Boot] [PATCH v2] sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation

2017-09-27 Thread Jagan Teki
On Mon, Sep 25, 2017 at 4:10 PM, Lukasz Majewski wrote: > The content of Bank Address Register (BAR) is volatile. It is cleared > after power cycle or reset command (RESET F0h). > > Some memories (like e.g. s25fl256s) use it to access memory larger than > 0x100 (16 MiB). > >

Re: [U-Boot] [PATCH v2] sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation

2017-09-27 Thread Jagan Teki
On Wed, Sep 27, 2017 at 1:24 PM, Łukasz Majewski wrote: > Hi Jagan, > > >> On Tue, Sep 26, 2017 at 12:37 PM, Łukasz Majewski wrote: >>> >>> On 09/26/2017 07:40 AM, Jagan Teki wrote: On Mon, Sep 25, 2017 at 4:10 PM, Lukasz Majewski

Re: [U-Boot] [PATCH] rockchip: clk: rk3368: always run rkclk_init when driver probe

2017-09-27 Thread Kever Yang
Hi Philipp, On 08/31/2017 06:25 PM, Andy Yan wrote: Hi Philipp: On 2017年08月28日 04:21, Dr. Philipp Tomsich wrote: On 23 Aug 2017, at 09:26, Andy Yan wrote: commit 4bebf94e8544("rockchip: clk: rk3368: do not change CPLL/GPLL before returning to BROM") limits the pll

Re: [U-Boot] [PATCH v2] sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation

2017-09-27 Thread Łukasz Majewski
Hi Jagan, On Tue, Sep 26, 2017 at 12:37 PM, Łukasz Majewski wrote: On 09/26/2017 07:40 AM, Jagan Teki wrote: On Mon, Sep 25, 2017 at 4:10 PM, Lukasz Majewski wrote: The content of Bank Address Register (BAR) is volatile. It is cleared after power cycle or

Re: [U-Boot] u-boot Boot issue about rk3188

2017-09-27 Thread Andy Yan
Hi Pawel: On 2017年09月27日 14:55, Paweł Jarosz wrote: Hi, W dniu 27.09.2017 o 03:48, Andy Yan pisze: Hi Pawel: On 2017年09月26日 19:34, Paweł Jarosz wrote: Hi, W dniu 25.09.2017 o 12:29, Heiko Stübner pisze: Hi Andy, Am Montag, 25. September 2017, 17:45:03 CEST schrieb Andy Yan: On

[U-Boot] [PATCH v2 5/5] rockchip: dts: rk3328-evb: add i2c1 and rk805 nodes

2017-09-27 Thread Kever Yang
From: Elaine Zhang add i2c1 and rk805 nodes to support rk805 init setting. Signed-off-by: Elaine Zhang Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by:

[U-Boot] [PATCH v2 4/5] configs: rk3328: add support for pmic rk8xx and regulator and i2c driver

2017-09-27 Thread Kever Yang
From: Elaine Zhang Add defconfig for rk8xx and regulator and i2c controller. Signed-off-by: Elaine Zhang Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by:

[U-Boot] [PATCH v2 2/5] power: pmic: rk816: support rk816 pmic

2017-09-27 Thread Kever Yang
From: Elaine Zhang Add Rockchip pmic rk816 support. RK816 have 4 DCDC, 6 LDO, RTC, CHARGER, FUEL GAUGE, GPIO, PWRKEY. The DCDC and LDO voltage output range and current loading are different from RK808 and RK818. RK816 add mask bit for enable/disable for read/write

[U-Boot] [PATCH v2 3/5] power: pmic: rk805: support rk805 pmic

2017-09-27 Thread Kever Yang
From: Elaine Zhang RK805 have 4 DCDC, 4 LDO, RTC. The configuration parameters are the same with RK816. The RK805 most used with rk312x/rk322x/rk332x products which do not need charger and fuel guage. Signed-off-by: Elaine Zhang

[U-Boot] [PATCH v2 1/5] rockchip: i2c: rk3328: support i2c for rk3328 SoC

2017-09-27 Thread Kever Yang
From: Elaine Zhang Add compatible to support rk3328 i2c Signed-off-by: Elaine Zhang Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

Re: [U-Boot] [PATCH] SPL: SPI: sunxi: add SPL FIT image support

2017-09-27 Thread Jagan Teki
On Mon, Sep 25, 2017 at 3:37 PM, Maxime Ripard wrote: > On Fri, Sep 22, 2017 at 09:57:22PM +, Andre Przywara wrote: >> The sunxi-specific SPI load routine only knows how to load a legacy >> U-Boot image. >> Teach it how to handle FIT images as well, simply by

Re: [U-Boot] [PATCH v2] sf: bar: Clean BA24 Bank Address Register bit after read/write/erase operation

2017-09-27 Thread Jagan Teki
On Tue, Sep 26, 2017 at 12:37 PM, Łukasz Majewski wrote: > On 09/26/2017 07:40 AM, Jagan Teki wrote: >> >> On Mon, Sep 25, 2017 at 4:10 PM, Lukasz Majewski wrote: >>> >>> The content of Bank Address Register (BAR) is volatile. It is cleared >>> after power cycle or

Re: [U-Boot] [U-Boot,2/5] power: pmic: rk816: support rk816 pmic

2017-09-27 Thread Kever Yang
Hi Simon, Philipp, On 09/18/2017 01:52 AM, Simon Glass wrote: Hi, On 13 September 2017 at 14:22, Philipp Tomsich wrote: On Wed, 13 Sep 2017, Kever Yang wrote: From: Elaine Zhang Add Rockchip pmic rk816 support. Could

Re: [U-Boot] u-boot Boot issue about rk3188

2017-09-27 Thread Paweł Jarosz
Hi, W dniu 27.09.2017 o 03:48, Andy Yan pisze: Hi Pawel: On 2017年09月26日 19:34, Paweł Jarosz wrote: Hi, W dniu 25.09.2017 o 12:29, Heiko Stübner pisze: Hi Andy, Am Montag, 25. September 2017, 17:45:03 CEST schrieb Andy Yan: On 2017年09月22日 13:56, Heiko Stuebner wrote: Am Freitag, 22.

Re: [U-Boot] [PATCH] xyz-modem: Fix timeout loop waiting with WATCHDOG

2017-09-27 Thread Lokesh Vutla
On Monday 25 September 2017 07:45 AM, Simon Glass wrote: > Hi, > > On 16 September 2017 at 23:12, Lokesh Vutla wrote: >> Simon, >> >> On 9/16/2017 9:43 PM, Simon Glass wrote: >>> Hi, >>> >>> On 16 September 2017 at 07:43, Tom Rini wrote: On Sat,

Re: [U-Boot] [PATCH v2 09/19] arm: socfpga: Add drivers for programing FPGA from flash

2017-09-27 Thread Chee, Tien Fong
On Sel, 2017-09-26 at 12:32 +0200, Marek Vasut wrote: > On 09/26/2017 10:30 AM, Chee, Tien Fong wrote: > > > > On Isn, 2017-09-25 at 11:14 +0200, Marek Vasut wrote: > > > > > > On 09/25/2017 10:40 AM, tien.fong.c...@intel.com wrote: > > > > > > > > > > > > From: Tien Fong Chee

<    1   2