Re: [U-Boot] [U-Boot, 07/18] rockchip: timer: implement timer_get_boot_us

2017-08-18 Thread Philipp Tomsich
e >timebase ticking from TPL through the full U-Boot. > - This adds support for reading the timer even before the >device-model is ready: we find the timer via /chosen/tick-timer, >then read its address and clock-frequency, and finally read the >timeval directly). >

Re: [U-Boot] [U-Boot, RFC, 2/4] rockchip: timer: update for 32/64bit-aware OF_PLATDATA

2017-08-18 Thread Philipp Tomsich
> With dtoc emitting fdt64_t for addresses (and region sizes), the array > indices for accessing the reg[] array needs to be adjusted. This > adjusts the Rockchip DM timer driver to correctly handle OF_PLATDATA > given this new structure layout. > > Signed-off-by: Philipp Tom

Re: [U-Boot] [U-Boot, 13/18] rockchip: rk8xx: remove unused header includes

2017-08-18 Thread Philipp Tomsich
> Remove header file includes that have been left over after the > conversion to livetree-support. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > drivers/power/pmic/rk8xx.c | 2 -- > 1 file changed, 2 deletions(-) > Acked-

Re: [U-Boot] [U-Boot,12/18] rockchip: sdhci: Convert to livetree

2017-08-18 Thread Philipp Tomsich
> Update the Rockchip SDHCI wrapper to support a live device tree. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > drivers/mmc/rockchip_sdhci.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > Acked-by: Philipp Toms

Re: [U-Boot] rockchip: rk322x: enable fastboot to set boot mode tag

2017-08-18 Thread Philipp Tomsich
> To support fastboot "fastboot reboot-bootloader" cmd. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > > arch/arm/mach-rockchip/rk322x-board.c | 15 +++ > 1 file changed,

Re: [U-Boot] rockchip: rk322x: Disable integrated macphy for saving power consuming

2017-08-18 Thread Philipp Tomsich
vid...@rock-chips.com> > Reviewed-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > arch/arm/include/asm/arch-rockchip/grf_rk322x.h | 32 > + > arch/arm/mach-rockchip/rk

Re: [U-Boot] [U-Boot,11/18] rockchip: spi: Convert to livetree

2017-08-18 Thread Philipp Tomsich
> Update the Rockchip SPI driver to support a live device tree. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > drivers/spi/rk_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich <phil

[U-Boot] [PATCH] gitignore: add intermediates from libfdt build

2017-08-29 Thread Philipp Tomsich
Since ee95d10 (fdt: Build the new python libfdt module), a number of additional files are auto-generated/installed into the tools directory. List these in .gitignore to suppress having them listed as untracked. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Refe

Re: [U-Boot] [U-Boot, 1/3] configs: rockchip: add USB configs for evb-rv1108 board

2017-09-05 Thread Philipp Tomsich
iam...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > configs/evb-rv1108_defconfig| 22

Re: [U-Boot] [U-Boot, 1/3] configs: rockchip: add USB configs for evb-rv1108 board

2017-09-05 Thread Philipp Tomsich
iam...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > configs/evb-rv1108_defconfig| 22 ++ > include/configs/rv1108_common.h | 3 +++ > 2 files chan

Re: [U-Boot] rockchip: rk322x: enable fastboot to set boot mode tag

2017-09-05 Thread Philipp Tomsich
> To support fastboot "fastboot reboot-bootloader" cmd. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-

Re: [U-Boot] rockchip: enable rk322x sysreset driver

2017-09-05 Thread Philipp Tomsich
> The sysreset driver for rk322x is ready but not enabled, > add it to Makefile to make sure it's enabled. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Reviewed-by: Philipp Tomsich <philipp.toms.

Re: [U-Boot] [U-Boot, 2/3] ARM: dts: rockchip: add USB nodes for evb-rv1108

2017-09-05 Thread Philipp Tomsich
> This patch adds USB OTG/EHCI/OHCI nodes for evb-rv1108 USB ports. > > Signed-off-by: William Wu <william...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Review

Re: [U-Boot] rockchip: rk322x: Disable integrated macphy for saving power consuming

2017-09-05 Thread Philipp Tomsich
vid...@rock-chips.com> > Reviewed-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > arch/arm/include/asm/arch-rockchip/g

Re: [U-Boot] [U-Boot, 2/3] ARM: dts: rockchip: add USB nodes for evb-rv1108

2017-09-05 Thread Philipp Tomsich
> This patch adds USB OTG/EHCI/OHCI nodes for evb-rv1108 USB ports. > > Signed-off-by: William Wu <william...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > ---

Re: [U-Boot] rockchip: rk322x: enable fastboot to set boot mode tag

2017-09-05 Thread Philipp Tomsich
> To support fastboot "fastboot reboot-bootloader" cmd. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- &g

Re: [U-Boot] [U-Boot,v2,2/5] rockchip: rk322x: add sdram driver

2017-09-05 Thread Philipp Tomsich
--- any additional comments or guidance? Regards, Philipp. On Thu, 17 Aug 2017, Kever Yang wrote: Add driver for rk322x to support sdram initialize in SPL. Signed-off-by: Kever Yang <kever.y...@rock-chips.com> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- C

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

2017-09-27 Thread Philipp Tomsich
++-- > 1 file changed, 65 insertions(+), 2 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

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
3 +++ > 1 file changed, 19 insertions(+), 4 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

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 <david...@rock-chips.com> > --- > > configs/evb-rk3288_defconfig | 1 + > 1 file changed, 1 insertion(+) > Acked-

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 <kever.y...@rock-chips.com> > --- > > Changes in v4: None > Changes in v3: None > > arch/arm/dts/rk3229-evb.dts | 1 - > 1 file changed, 1 de

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
Wu <david...@rock-chips.com> > --- > > drivers/net/gmac_rockchip.c | 144 > +++- > 1 file changed, 116 insertions(+), 28 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> __

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 <kever.y...@rock-chips.com> > --- > > drivers/ram/rockchip/sdram_rk3188.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > Acked-by:

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
rch/arm/dts/rk3399-evb.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

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 <kever.y...@rock-chips.com> > --- > > Changes in v4: None > Changes in v3: None > > arch/arm/dts/rk3229-evb.dts | 1 - > 1 file changed, 1 delet

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 <kever.y...@rock-chips.com> > --- > > drivers/ram/rockchip/sdram_rk3188.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > Reviewed-by:

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

2017-09-27 Thread Philipp Tomsich
e changed, 19 insertions(+), 2 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

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 <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <phil

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, 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 <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <phil

Re: [U-Boot] [U-Boot, v2, 2/4] rockchip: rk3188: 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 <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <phil

Re: [U-Boot] [U-Boot, v2, 4/4] rockchip: rk3328: 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 <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <phil

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(-) > Applied to u-boot-rockchip,

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

2017-09-27 Thread Philipp Tomsich
> Add driver for rk322x to support sdram initialize in SPL. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> >

Re: [U-Boot] [U-Boot, 1/2] rockchip: doc: Fix U-Boot proper location for falcon

2017-11-10 Thread Philipp Tomsich
--- > Note: Fix for 2017.11 > > doc/README.rockchip | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, 2/2] rockchip: configs: vyasa: Update falcon offsets

2017-11-10 Thread Philipp Tomsich
79b7df47) > > Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> > --- > Note: Fix for 2017.11 > > include/configs/vyasa-rk3288.h | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-syst

Re: [U-Boot] [U-Boot, 1/2] rockchip: doc: Fix U-Boot proper location for falcon

2017-11-10 Thread Philipp Tomsich
--- > Note: Fix for 2017.11 > > doc/README.rockchip | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, 2/2] rockchip: configs: vyasa: Update falcon offsets

2017-11-10 Thread Philipp Tomsich
79b7df47) > > Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> > --- > Note: Fix for 2017.11 > > include/configs/vyasa-rk3288.h | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.c

Re: [U-Boot] rockchip: doc: update U-Boot location info

2017-11-10 Thread Philipp Tomsich
rtion(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] rockchip: doc: update U-Boot location info

2017-11-10 Thread Philipp Tomsich
nsertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, 3/3] rockchip: rk3036: sdram: correct setting for pll integer mode

2017-11-28 Thread Philipp Tomsich
on(+), 1 deletion(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, 2/3] rockchip: rk3036: update clock driver for ddr

2017-11-28 Thread Philipp Tomsich
> After the MASK MACRO update, we need to update the driver at the same time. > This is a fix to: > 37943aa rockchip: rk3036: clean mask definition for cru reg > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.to

Re: [U-Boot] [U-Boot, v2, 1/2] drivers/reset: support rockchip reset drivers

2017-11-28 Thread Philipp Tomsich
in one reg > - use rkclr/set_reg for reg access > - add rockchip_reset_bind() > - use dev_read_addr_size() instead of fdtdec_ > > drivers/reset/Kconfig | 9 +++ > drivers/reset/Makefile | 1 + > drivers/reset/reset-rockchip.c | 133 > ++

Re: [U-Boot] [U-Boot,v2,2/2] rockchip: clk: bind reset driver

2017-11-28 Thread Philipp Tomsich
> From: Elaine Zhang <zhangq...@rock-chips.com> > > Bind rockchip reset to clock-controller with rockchip_reset_bind(). > > Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Phi

Re: [U-Boot] [U-Boot, v3, 6/7] rockchip: rk3128: add defconfig for evb-rk3128

2017-11-28 Thread Philipp Tomsich
> Enable board config for evb-rk3128. > Serial output and eMMC works in this version. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <phil

Re: [U-Boot] [U-Boot,v3,7/7] rockchip: rk3128: add sdram driver

2017-11-28 Thread Philipp Tomsich
com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v3: None > Changes in v2: None > > drivers/ram/rockchip/Ma

Re: [U-Boot] [U-Boot,v3,4/7] rockchip: rk3128: add pinctrl driver

2017-11-28 Thread Philipp Tomsich
> Add rk3128 pinctrl driver and grf/iomux structure definition. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com&g

Re: [U-Boot] [U-Boot, v3, 5/7] rockchip: rk3128: add evb-rk3128 support

2017-11-28 Thread Philipp Tomsich
> evb-rk3128 is an evb from Rockchip based on rk3128 SoC: > - 2 USB2.0 Host port; > - 1 HDMI port; > - 2 10/100M eth port; > - 2GB ddr; > - 16GB eMMC; > - UART to USB debug port; > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philip

Re: [U-Boot] [U-Boot, v2, 1/2] drivers/reset: support rockchip reset drivers

2017-11-28 Thread Philipp Tomsich
t; - use dev_read_addr_size() instead of fdtdec_ > > drivers/reset/Kconfig | 9 +++ > drivers/reset/Makefile | 1 + > drivers/reset/reset-rockchip.c | 133 > + > 3 files changed, 143 insertions(+) > create mode 10

Re: [U-Boot] [U-Boot, 1/3] rockchip: boot mode: parse adc channel from dts

2017-11-28 Thread Philipp Tomsich
gned-off-by: Andy Yan <andy@rock-chips.com> > --- > > arch/arm/mach-rockchip/boot_mode.c | 15 ++- > 1 file changed, 14 insertions(+), 1 deletion(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

Re: [U-Boot] [U-Boot, 1/3] rockchip: rk3036: fix pll config for correct frequency

2017-11-28 Thread Philipp Tomsich
> 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, 2/3] rockchip: rk3036: update clock driver for ddr

2017-11-28 Thread Philipp Tomsich
hip/rk3036/sdram_rk3036.c | 15 ++- > 1 file changed, 6 insertions(+), 9 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, 3/3] rockchip: rk3036: sdram: correct setting for pll integer mode

2017-11-28 Thread Philipp Tomsich
> According to rk3036 TRM, should be set to '1' for the pll > integer mode, while the '0' means the frac mode. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > arch/arm/mac

Re: [U-Boot] [U-Boot,3/3] rockchip: rv1108: call setup_boot_mode

2017-11-28 Thread Philipp Tomsich
> Call setup_boot_mode to check current boot mode. > > Signed-off-by: Andy Yan <andy@rock-chips.com> > --- > > arch/arm/mach-rockchip/Kconfig | 1 + > arch/arm/mach-rockchip/rv1108/rv1108.c | 6 ++ > 2 files changed, 7 insertions(+) > Acked-

Re: [U-Boot] [U-Boot, v3, 1/7] rockchip: rk3128: add device tree file

2017-11-28 Thread Philipp Tomsich
<kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v3: None > Changes in v2: None > > arch/arm/dts/Makefile

Re: [U-Boot] [U-Boot,v3,3/7] rockchip: rk3128: add clock driver

2017-11-28 Thread Philipp Tomsich
> Add rk3128 clock driver and cru structure definition. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > ---

Re: [U-Boot] [U-Boot, v3, 2/7] rockchip: rk3128: add soc basic support

2017-11-28 Thread Philipp Tomsich
> RK3128 is a SoC from Rockchip with quad-core Cortex-A7 CPU > and mali400 GPU. Support Nand flash, eMMC, SD card, USB 2.0 host > and device, HDMI/LVDS/MIPI display. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.to

Re: [U-Boot] [U-Boot,v2,2/2] rockchip: clk: bind reset driver

2017-11-28 Thread Philipp Tomsich
k/rockchip/clk_rv1108.c | 6 ++ > 9 files changed, 71 insertions(+) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, 2/3] rockchip: rv1108: add adc key dt node for evb_rv1108

2017-11-28 Thread Philipp Tomsich
anged, 21 insertions(+) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot,3/3] rockchip: rv1108: call setup_boot_mode

2017-11-28 Thread Philipp Tomsich
> Call setup_boot_mode to check current boot mode. > > Signed-off-by: Andy Yan <andy@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > arch/arm/mach-rockchip/Kconfig | 1 + > arch/arm/mach-rockchip/r

Re: [U-Boot] [U-Boot, v2, 5/7] rockchip: rk3128: add evb-rk3128 support

2017-11-27 Thread Philipp Tomsich
100644 board/rockchip/evb_rk3128/Makefile > create mode 100644 board/rockchip/evb_rk3128/evb-rk3128.c > create mode 100644 include/configs/evb_rk3128.h > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot,v2,4/7] rockchip: rk3128: add pinctrl driver

2017-11-27 Thread Philipp Tomsich
> Add rk3128 pinctrl driver and grf/iomux structure definition. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > - remove debug info > - update GPIO2C4/C

Re: [U-Boot] [U-Boot, v2, 2/7] rockchip: rk3128: add soc basic support

2017-11-27 Thread Philipp Tomsich
> RK3128 is a SoC from Rockchip with quad-core Cortex-A7 CPU > and mali400 GPU. Support Nand flash, eMMC, SD card, USB 2.0 host > and device, HDMI/LVDS/MIPI display. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.to

Re: [U-Boot] [U-Boot, v2, 6/7] rockchip: rk3128: add defconfig for evb-rk3128

2017-11-27 Thread Philipp Tomsich
> Enable board config for evb-rk3128. > Serial output and eMMC works in this version. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: None >

Re: [U-Boot] MAINTAINERS: update maintained files for Rockchip

2017-11-27 Thread Philipp Tomsich
files/paths listed in MAINTAINERS for the > Rockchip port. I am certain, though, that this will have missed some > additional paths that should have been included... > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@

Re: [U-Boot] rockchip: board: evb_rv1108: update README

2017-11-27 Thread Philipp Tomsich
> After commit d962e5dadc2c("rockchip: mkimage: use spl_boot0 for all Rockchip > SoCs"), > the mkimage will not pad the Tag memroy, so we shoud > pass a Taged ddr.bin/spl.bin to it. > > Signed-off-by: Andy Yan <andy....@rock-chips.com> > Acked-by: Phili

Re: [U-Boot] [U-Boot, v2, 1/7] rockchip: rk3128: add device tree file

2017-11-27 Thread Philipp Tomsich
indings/clock/rk3128-cru.h | 190 > 4 files changed, 1090 insertions(+) > create mode 100644 arch/arm/dts/rk3128-evb.dts > create mode 100644 arch/arm/dts/rk3128.dtsi > create mode 100644 include/dt-bindings/clock/rk3128-cru.h > Acked-by: Philipp Tomsich <philipp.toms...

Re: [U-Boot] [U-Boot, v2, 2/7] rockchip: rk3128: add soc basic support

2017-11-27 Thread Philipp Tomsich
eate mode 100644 arch/arm/mach-rockchip/rk3128/syscon_rk3128.c > create mode 100644 include/configs/rk3128_common.h > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, v2, 6/7] rockchip: rk3128: add defconfig for evb-rk3128

2017-11-27 Thread Philipp Tomsich
+++ > 1 file changed, 56 insertions(+) > create mode 100644 configs/evb-rk3128_defconfig > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot,v2,7/7] rockchip: rk3128: add sdram driver

2017-11-27 Thread Philipp Tomsich
.com> > --- > > Changes in v2: None > > drivers/ram/rockchip/Makefile | 1 + > drivers/ram/rockchip/sdram_rk3128.c | 59 > + > 2 files changed, 60 insertions(+) > create mode 100644 drivers/ram/rockchip/sdram_rk3128.c &g

Re: [U-Boot] [U-Boot, v2, 5/7] rockchip: rk3128: add evb-rk3128 support

2017-11-27 Thread Philipp Tomsich
On Mon, 27 Nov 2017, Kever Yang wrote: evb-rk3128 is an evb from Rockchip based on rk3128 SoC: - 2 USB2.0 Host port; - 1 HDMI port; - 2 10/100M eth port; - 2GB ddr; - 16GB eMMC; - UART to USB debug port; Signed-off-by: Kever Yang <kever.y...@rock-chips.com> Acked-by: Philipp T

Re: [U-Boot] MAINTAINERS: update maintained files for Rockchip

2017-11-27 Thread Philipp Tomsich
files/paths listed in MAINTAINERS for the > Rockchip port. I am certain, though, that this will have missed some > additional paths that should have been included... > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...

Re: [U-Boot] rockchip: board: evb_rv1108: update README

2017-11-27 Thread Philipp Tomsich
> After commit d962e5dadc2c("rockchip: mkimage: use spl_boot0 for all Rockchip > SoCs"), > the mkimage will not pad the Tag memroy, so we shoud > pass a Taged ddr.bin/spl.bin to it. > > Signed-off-by: Andy Yan <andy....@rock-chips.com> > Acked-by: Phili

Re: [U-Boot] [U-Boot,v2,7/7] rockchip: rk3128: add sdram driver

2017-11-27 Thread Philipp Tomsich
60 insertions(+) > create mode 100644 drivers/ram/rockchip/sdram_rk3128.c > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot,v2,3/7] rockchip: rk3128: add clock driver

2017-11-27 Thread Philipp Tomsich
- > drivers/clk/rockchip/clk_rk3128.c | 609 > > 5 files changed, 856 insertions(+), 1 deletion(-) > create mode 100644 arch/arm/include/asm/arch-rockchip/cru_rk3128.h > create mode 100644 arch/arm/mach-rockchip/rk3128/clk_rk3128.c > create

Re: [U-Boot] [U-Boot,v2,4/7] rockchip: rk3128: add pinctrl driver

2017-11-27 Thread Philipp Tomsich
100644 arch/arm/include/asm/arch-rockchip/grf_rk3128.h > create mode 100644 drivers/pinctrl/rockchip/pinctrl_rk3128.c > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] rockchip: board: evb_rv1108: update README

2017-11-27 Thread Philipp Tomsich
d/rockchip/evb_rv1108/README | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] rockchip: board: evb_rv1108: update README

2017-11-27 Thread Philipp Tomsich
d/rockchip/evb_rv1108/README | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, v2, 1/7] rockchip: rk3128: add device tree file

2017-11-27 Thread Philipp Tomsich
<kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: None > > arch/arm/dts/Makefile | 1 + > arch/arm/dts/rk3128-evb.dts| 95 > arch/arm/dts/rk3128.dtsi

[U-Boot] [PATCH v2 2/2] rockchip: dts: rk3399-puma: add /config/sysreset-gpio property

2017-11-28 Thread Philipp Tomsich
it point to a GPIO that will perform a power-on reset of the entire platform. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Tested-by: Klaus Goger <klaus.go...@theobroma-systems.com> --- Changes in v2: None arch/arm/dts/rk3399-puma.dtsi | 5 + 1 fil

[U-Boot] [PATCH v2 1/2] rockchip: rk3399-puma: add code to allow forcing a power-on reset

2017-11-28 Thread Philipp Tomsich
via a GPIO trigger. This adds the necessary support to the rk3399-puma (i.e. RK3399-Q7) board-support and the documentation for the new property (sysreset-gpio) within the /config-node. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Tested-by: Klaus Goger <

Re: [U-Boot] [U-Boot, 1/3] rockchip: boot mode: parse adc channel from dts

2017-11-28 Thread Philipp Tomsich
as default. Signed-off-by: Andy Yan <andy@rock-chips.com> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arm/mach-rockchip/boot_mode.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/boot_mode.c b/a

Re: [U-Boot] [U-Boot, 1/3] rockchip: rk3036: fix pll config for correct frequency

2017-11-28 Thread Philipp Tomsich
On Tue, 28 Nov 2017, Kever Yang wrote: There is a fixed div-2 between PLL and clk_ddr/clk_ddrphy, so we need to double to pll output and then ddr can work in correct frequency. Signed-off-by: Kever Yang <kever.y...@rock-chips.com> Acked-by: Philipp Tomsich <philipp.toms...@

Re: [U-Boot] [U-Boot, 2/3] rockchip: rv1108: add adc key dt node for evb_rv1108

2017-11-28 Thread Philipp Tomsich
+sjg On Tue, 28 Nov 2017, Andy Yan wrote: RV1108 EVB uses a adc-based recovery(VOL+) key, which connected to saradc channel 0. This patch add dt node for it. Signed-off-by: Andy Yan <andy@rock-chips.com> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

Re: [U-Boot] [U-Boot, v2, 10/18] net: gmac_rockchip: Add rk3328 gmac support

2017-11-25 Thread Philipp Tomsich
rol registers are located in the GRF. > > This adds the RK3328-specific logic necessary to reuse this driver. > > Signed-off-by: David Wu <david...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2:

Re: [U-Boot] [U-Boot, v2, 14/18] rockchip: pinctrl: rk322x: Move the iomux definitions into pinctrl-driver

2017-11-25 Thread Philipp Tomsich
the compiling error of redefinition. > After that, define the uart2 iomux at rk322x-board file. > > Signed-off-by: David Wu <david...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > - New patch &g

Re: [U-Boot] [U-Boot, v2, 18/18] config: evb-rk3229: Enable rk gmac configs

2017-11-25 Thread Philipp Tomsich
g support for rk3229 evb. > > Signed-off-by: David Wu <david...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > - New patch > > configs/evb-rk3229_defconfi

Re: [U-Boot] [U-Boot, v2, 07/18] rockchip: pinctrl: rk3328: Move the iomux definitions into pinctrl-driver

2017-11-25 Thread Philipp Tomsich
34 listed in bl.mailspike.net] > 0.8 UPPERCASE_50_75message body is 50-75% uppercase > 0.0 RCVD_IN_MSPIKE_BL Mailspike blacklisted > Clean the iomux definitions at grf_rk3328.h, and move them into > pinctrl-driver for resolving the compiling error of redefinition. >

Re: [U-Boot] [U-Boot, v2, 17/18] net: gmac_rockchip: Add support for the RK3228 GMAC

2017-11-25 Thread Philipp Tomsich
ters are located in the GRF. > > This adds the RK3368-specific logic necessary to reuse this driver. > > Signed-off-by: David Wu <david...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > - New

Re: [U-Boot] [U-Boot, v2, 12/18] rockchip: dts: rk3328: Add gmac2io support

2017-11-25 Thread Philipp Tomsich
> Add basic dts configuration for rk3328 gmac2io. > > Signed-off-by: David Wu <david...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > - New patch > > arch/arm/dts/rk3328.dtsi | 19 ++

Re: [U-Boot] [U-Boot, v2, 11/18] rockchip: configs: Enable GMAC configs for evb-rk3328

2017-11-25 Thread Philipp Tomsich
> Enable GMAC configs for evb-rk3328 > > Signed-off-by: David Wu <david...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > - New patch > > configs/evb-rk3328_defconfig | 5 + >

Re: [U-Boot] rockchip: pinctrl: rk3399: add support for I2C8

2017-11-25 Thread Philipp Tomsich
I2C8, the pinctrl is implemented and tested (on a RK3399-Q7) using > communication with the FAN53555 connected on I2C8. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Tested-by: Klaus Goger <klaus.go...@theobroma-systems.com> > --- > &g

Re: [U-Boot] [U-Boot, 1/2] rockchip: fix turning off boot-mode via Kconfig

2017-11-25 Thread Philipp Tomsich
e and also resulting link > issues (if boot_mode.o is not included) by defining a stub function > (in case the functionality is not built in) for setup_boot_mode in > boot_mode.h. > > Fixes: e306779 (rockchip: make boot_mode related codes reused across all > platforms) > Signed-off-

Re: [U-Boot] [U-Boot, v2, 13/18] rockchip: dts: rk3328-evb: Enable gmac2io for rk3328-evb

2017-11-25 Thread Philipp Tomsich
> Add rk3328-evb gmac support. > > Signed-off-by: David Wu <david...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > - New patch > > arch/arm/dts/rk3328-evb.dts | 30 +

Re: [U-Boot] [U-Boot, 2/2] rockchip: defconfig: puma-rk3399: bypass ADC-based boot_mode check

2017-11-25 Thread Philipp Tomsich
by setting > CONFIG_BOOT_MODE_REG to 0. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > configs/puma-rk3399_defconfig | 1 + > 1 file changed, 1 insertion(+) > Applied to u-boot-rockchip, thanks! ___

Re: [U-Boot] rockchip: clk: rk3399: change extract_bits to bitfield_extract

2017-11-25 Thread Philipp Tomsich
> The RK3399 clk driver still has a left-over use of extract_bits, which > can be replaced by using bitfield_extract from include/bitfield.h. > This rewrites the invocation to use the shared function. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

Re: [U-Boot] [U-Boot, v2, 05/18] rockchip: pinctrl: rv1108: Move the iomux definitions into pinctrl-driver

2017-11-25 Thread Philipp Tomsich
n. Clean the iomux definitions at grf_rv1108.h, > and move them into pinctrl-driver. > > Signed-off-by: David Wu <david...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > - New patch > &g

[U-Boot] [PATCH] dm: reset: have the reset-command perform a COLD reset

2017-11-24 Thread Philipp Tomsich
to always request a COLD reset. Note that programmatic uses can still invoke a WARM reset through reset_cpu() or using sysreset_walk(). Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- drivers/sysreset/sysreset-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 de

Re: [U-Boot] [U-Boot, v2, 08/18] rockchip: pinctrl: Add rk3328 gmac pinctrl support

2017-11-26 Thread Philipp Tomsich
On Thu, 9 Nov 2017, David Wu wrote: Need to set gmac m1 pins iomux, gmac m0 tx pins, select bit2 and bit10 at com iomux register. After that, set rgmii m1 tx pins to 12ma drive-strength, and clean others to 2ma. Signed-off-by: David Wu <david...@rock-chips.com> Acked-by: Philipp T

[U-Boot] [PATCH v3 2/2] rockchip: defconfig: puma-rk3399: enable FAN53555 regulator driver

2017-11-26 Thread Philipp Tomsich
only. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes in v3: None Changes in v2: None configs/puma-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index ebbf8a9..233c15a

<    11   12   13   14   15   16   17   18   19   20   >