Re: [U-Boot] [U-Boot, 7/7] Revert "mmc: dw_mmc: rockchip: select proper card clock"

2017-06-25 Thread Philipp Tomsich
> The origin patch get rockchip dwmmc by name 'ciu', which lead > to the SPL not able to remove 'clock-names' node in dts. > I'm not saying this is not correct, but I would prefer to handle > this in dts or clock driver to save memory for SPL. > For example the rk3288 SPL size has out of memory if

Re: [U-Boot] [U-Boot,03/13] rockchip: rk3066: add sysreset driver

2017-06-25 Thread Philipp Tomsich
+++ > 2 files changed, 63 insertions(+) > create mode 100644 drivers/sysreset/sysreset_rk3066.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] [U-Boot, v3, 2/3] rockchip: video: mipi: Split mipi driver into common and specific parts

2017-06-25 Thread Philipp Tomsich
eo/rockchip/rk_mipi.h | 32 ++ > 3 files changed, 221 insertions(+), 164 deletions(-) > create mode 100644 drivers/video/rockchip/rk3399_mipi.c > create mode 100644 drivers/video/rockchip/rk_mipi.h > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

Re: [U-Boot] [U-Boot, v2, 1/4] rockchip: evb-rk3328: set uart2 io routing to M1

2017-06-25 Thread Philipp Tomsich
ever Yang <kever.y...@rock-chips.com> > --- > > Changes in v2: > - remove SDMMC io routing > > board/rockchip/evb_rk3328/evb-rk3328.c | 10 ++++++ > 1 file changed, 10 insertions(+) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> __

Re: [U-Boot] [U-Boot, 13/13] rockchip: rk3066: add sdram init code for tpl

2017-06-25 Thread Philipp Tomsich
rockchip/ddr_rk3188.h | 5 + > arch/arm/mach-rockchip/rk3066/sdram_init.c | 995 > > 2 files changed, 1000 insertions(+) > create mode 100644 arch/arm/mach-rockchip/rk3066/sdram_init.c > Acked-by: Philipp Toms

Re: [U-Boot] [U-Boot, v2] rockchip: video: mipi: Modify format type for debug message

2017-06-25 Thread Philipp Tomsich
hanged, 4 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, v2, 8/8] rockchip: rv1108: disable CONFIG_RAM before we have driver

2017-06-25 Thread Philipp Tomsich
> The rv1108 do not have DRAM driver now, so disable it first, > or else it will get conflict with the sdram common code. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > configs/evb-rv1108_defconfig | 1 - > 1 file changed, 1 deletion(-) > Applied

Re: [U-Boot] [U-Boot,v2,7/8] rockchip: correct the bank0 ram size

2017-06-25 Thread Philipp Tomsich
> The bank0 ram size should be the DRAM size minus reserved size, > the DRAM size may be 1GB, 2GB, 4GB, we can not hard code it. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - move the dram_init_banksize() from board file into soc file for we > have the

Re: [U-Boot] [U-Boot,v2,7/8] rockchip: correct the bank0 ram size

2017-06-25 Thread Philipp Tomsich
> The bank0 ram size should be the DRAM size minus reserved size, > the DRAM size may be 1GB, 2GB, 4GB, we can not hard code it. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - move the dram_init_banksize() from board file into soc file for we > have the

Re: [U-Boot] [U-Boot, v2] rockchip: doc: update latest info to document

2017-06-25 Thread Philipp Tomsich
back > > doc/README.rockchip | 48 > 1 file changed, 28 insertions(+), 20 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] rockchip: rk3288: Add reset reason detection

2017-06-25 Thread Philipp Tomsich
ockchip/rk3288-board.c | 28 > 1 file changed, 28 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, v7, 2/8] usb: host: xhci-rockchip: use fixed regulator to control vbus

2017-06-25 Thread Philipp Tomsich
Changes in v3: None > Changes in v2: > - Use fixed regulator to control vbus instead of gpio > > drivers/usb/host/xhci-rockchip.c | 36 ++-- > 1 file changed, 18 insertions(+), 18 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theo

Re: [U-Boot] [U-Boot,v2,6/8] rockchip: dts: rk3368: add dmc node

2017-06-25 Thread Philipp Tomsich
> Add dmc node to enable sdram driver. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > arch/arm/dts/rk3368.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > Applied to u-boot-rockchip/next, thanks!

Re: [U-Boot] [U-Boot, v7, 7/8] rockchip: dts: rk3328: support and enable dwc2

2017-06-25 Thread Philipp Tomsich
Changes in v5: None > Changes in v4: None > Changes in v3: > - add hnp-srp-disable property > > arch/arm/dts/rk3328-evb.dts | 14 ++ > arch/arm/dts/rk3328.dtsi| 10 ++++++ > 2 files changed, 24 insertions(+) >

Re: [U-Boot] [U-Boot,v2,5/8] rockchip: dts: rk3328: add dmc node

2017-06-25 Thread Philipp Tomsich
> Add a dmc node for sdram driver. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > arch/arm/dts/rk3328.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > Applied to u-boot-rockchip/next, thanks! ___

Re: [U-Boot] [U-Boot,v2,6/8] rockchip: dts: rk3368: add dmc node

2017-06-25 Thread Philipp Tomsich
> Add dmc node to enable sdram driver. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > arch/arm/dts/rk3368.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > Applied to u-boot-rockchip/next, thanks!

Re: [U-Boot] [U-Boot,v2,7/7] rockchip: add evb_rk3229 board

2017-06-25 Thread Philipp Tomsich
> evb_rk3229 is a RK3229 based board, with: > - 8GB eMMC; > - 1GB DDR SDRAM; > - 2 USB2.0 HOST port; > - 1 MAC port; > - 1 HDMI port; > - IR; > - WiFi; > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v4, 4/4] doc: rockchip: Add phyCORE-RK3288 RDK to board list

2017-06-25 Thread Philipp Tomsich
ip | 3 ++- > 1 file changed, 2 insertions(+), 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,v2,2/8] rockchip: use common sdram function

2017-06-25 Thread Philipp Tomsich
> Replace the sdram_init() in board init and rockchip_sdram_size() in > sdram driver for all the Rockchip SoCs which enable CONFIG_RAM. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add evb-px5 and geekbox board > - use CONFIG_SYS_SDRAM_BASE for ram_base

Re: [U-Boot] [U-Boot, v2, 8/8] rockchip: rv1108: disable CONFIG_RAM before we have driver

2017-06-25 Thread Philipp Tomsich
> The rv1108 do not have DRAM driver now, so disable it first, > or else it will get conflict with the sdram common code. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > configs/evb-rv1108_defconfig | 1 - > 1 file changed, 1 deletion(-) > Applied

Re: [U-Boot] [U-Boot, v2, 3/8] rockchip: rk3328: add sdram driver in U-Boot

2017-06-25 Thread Philipp Tomsich
> Add sdram driver in U-Boot for get the correct sdram size from > sys_reg, so that U-Boot can co-work with Rockchip loader or SPL > to get different dram capability and then tell the kernel. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > >

Re: [U-Boot] [U-Boot, v4] rockchip: video: mipi: Modify variable type for arm32 compatibility

2017-06-25 Thread Philipp Tomsich
> Some address relevant varibable is defined originally as u64. To > compatible with arm32, this patch change them to uintptr_t type. > > Signed-off-by: Eric Gao > Reviewed-by: Simon Glass > --- > > Changes in v3: > -Cancel the force convert for

Re: [U-Boot] rockchip: rk3328: correct mem_region

2017-06-25 Thread Philipp Tomsich
> According to rk3328 TRM: > 0~0xff00 is ddr space; > 0xff00~0x is device space. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/mach-rockchip/rk3328/rk3328.c | 8 > 1 file changed, 4

Re: [U-Boot] [U-Boot,v2,2/7] rockchip: rk322x: add clock driver

2017-06-25 Thread Philipp Tomsich
> Add clock driver init support for: > - cpu, bus clock init; > - emmc, sdmmc clock; > - ddr clock; > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Change

Re: [U-Boot] [U-Boot, 7/7] rockchip: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
all of these read some of the tuning/setup/timing > parameters from the device-tree. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > > arch/arm/mach-rockchip/rk3188/sdram_rk3188.c

Re: [U-Boot] [U-Boot, 6/7] rockchip: ns16550: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
s. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > > drivers/serial/ns16550.c | 11 --- > 1 file changed, 4 insertions(+), 7 delet

Re: [U-Boot] [U-Boot, v2, 1/7] rockchip: mkimage: add support for rk322x soc

2017-06-25 Thread Philipp Tomsich
> Add support for rk322x package header in mkimage tool. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: None > > tools/rkcommon.c | 1 + > 1 fil

Re: [U-Boot] [U-Boot, 6/7] rockchip: ns16550: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
s. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > > drivers/serial/ns16550.c | 11 --- > 1 file changed, 4 insertions(+), 7 delet

Re: [U-Boot] [U-Boot, 3/7] rockchip: xhci: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This change covers the USB3 (xhci) driver for the Rockchip devices. > > Signed-of

Re: [U-Boot] [U-Boot, v2, 1/7] rockchip: mkimage: add support for rk322x soc

2017-06-25 Thread Philipp Tomsich
> Add support for rk322x package header in mkimage tool. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: None > > tools/rkcommon.c | 1 + > 1 fil

Re: [U-Boot] [U-Boot, 02/13] rockchip: rk3066: add rk3066 pinctrl driver

2017-06-25 Thread Philipp Tomsich
chip/pinctrl_rk3066.c | 342 > ++ > 3 files changed, 352 insertions(+) > create mode 100644 drivers/pinctrl/rockchip/pinctrl_rk3066.c > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___ U

Re: [U-Boot] [U-Boot, 04/13] rockchip: rk3066: add clock driver for rk3066 soc

2017-06-25 Thread Philipp Tomsich
k3066.c | 586 > > 3 files changed, 776 insertions(+) > create mode 100644 arch/arm/include/asm/arch-rockchip/cru_rk3066.h > create mode 100644 drivers/clk/rockchip/clk_rk3066.c > Acked-by: Philipp Toms

Re: [U-Boot] [U-Boot, v7, 5/8] usb: dwc2: use dev_read_bool() instead of fdt_getprop()

2017-06-25 Thread Philipp Tomsich
omove unused variable ‘prop’ in dwc2 driver > > Changes in v6: > - New patch > - Use dev_read_bool() instead of fdt_getprop() > - Add a comment for "hnp-srp-disable" feature > > drivers/usb/host/dwc2.c | 16 ++------ > 1 file changed, 6 insertions

Re: [U-Boot] [U-Boot, v4] rockchip: video: mipi: Modify variable type for arm32 compatibility

2017-06-25 Thread Philipp Tomsich
s base variable to uintptr_t * type. > > drivers/video/rockchip/rk_mipi.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 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, 2/4] rockchip: pinctrl: rk3328: use gpio instead of sdmmc-pwren

2017-06-25 Thread Philipp Tomsich
6 ++ > 1 file changed, 2 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, v2, 1/8] rockchip: add sdram_common for common functions

2017-06-25 Thread Philipp Tomsich
> There are some functions like sdram_size_mb can be re-used for > different rockchip SoCs, just put them into common file. > Add board_get_usable_ram_top() for ram_top init base on > SDRAM_MAX_SIZE. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add

Re: [U-Boot] [U-Boot,v2,2/8] rockchip: use common sdram function

2017-06-25 Thread Philipp Tomsich
> Replace the sdram_init() in board init and rockchip_sdram_size() in > sdram driver for all the Rockchip SoCs which enable CONFIG_RAM. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add evb-px5 and geekbox board > - use CONFIG_SYS_SDRAM_BASE for ram_base

Re: [U-Boot] [U-Boot,v2,3/7] rockchip: rk322x: add pinctrl driver

2017-06-25 Thread Philipp Tomsich
> Add init pinctrl driver support for: > - i2c; > - spi; > - uart; > - pwm; > - emmc/sdmmc; > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v

Re: [U-Boot] [U-Boot, v2] rockchip: video: mipi: Modify format type for debug message

2017-06-25 Thread Philipp Tomsich
> Modify format type for debug message. > > Signed-off-by: Eric Gao > --- > > Changes in v1: > -Change the debug message format type because of the change the variable. > > drivers/video/rockchip/rk_mipi.c | 8 > 1 file changed, 4 insertions(+), 4

Re: [U-Boot] [U-Boot, v4, 1/4] power: regulator: rk8xx: Build get_ldo_reg only for SPL

2017-06-25 Thread Philipp Tomsich
v <w.ego...@phytec.de> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > Changes in v4: > - Added Reviewed-by: Simon Glass <s...@chromium.org> > > drivers/power/regulator/rk8xx.c | 40 +--- > 1 file changed, 21

Re: [U-Boot] [U-Boot,v2,4/7] rockchip: rk322x: add dts file

2017-06-25 Thread Philipp Tomsich
> The dts files are from kernel and with modify to adapt U-Boot. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: None > > arch/arm/dts/rk3229-evb.dt

Re: [U-Boot] [U-Boot, v3, 3/3] rockchip: video: defconfig: Add mipi dsi support for evb-rk3288

2017-06-25 Thread Philipp Tomsich
8_defconfig | 8 ++-- > 1 file changed, 6 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,4/7] rockchip: rk322x: add dts file

2017-06-25 Thread Philipp Tomsich
> The dts files are from kernel and with modify to adapt U-Boot. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: None > > arch/arm/dts/rk3229-evb.dt

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: video: mipi: Add rk3288 soc specific driver for mipi dsi

2017-06-25 Thread Philipp Tomsich
| 191 > +++ > drivers/video/rockchip/rk_mipi.h | 2 +- > 2 files changed, 192 insertions(+), 1 deletion(-) > create mode 100644 drivers/video/rockchip/rk3288_mipi.c > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.c

Re: [U-Boot] [U-Boot, 2/7] rockchip: spi: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This change covers the rk_spi.c (SPI driver) used in Rockchip devices. > > Signed-of

Re: [U-Boot] [U-Boot, 1/7] rockchip: pinctrl: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This change covers the pinctrl drivers for the Rockchip devices. > > Signed-of

Re: [U-Boot] [U-Boot,01/13] rockchip: rk3066: add grf header file

2017-06-25 Thread Philipp Tomsich
/arm/include/asm/arch-rockchip/grf_rk3066.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, 3/8] rockchip: rk3328: add sdram driver in U-Boot

2017-06-25 Thread Philipp Tomsich
> Add sdram driver in U-Boot for get the correct sdram size from > sys_reg, so that U-Boot can co-work with Rockchip loader or SPL > to get different dram capability and then tell the kernel. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > >

Re: [U-Boot] [U-Boot, 09/13] rockchip: dts: set fifo mode as default for mmc

2017-06-25 Thread Philipp Tomsich
+ > 1 file changed, 3 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, v2, 5/7] rockchip: rk322x: add basic soc support

2017-06-25 Thread Philipp Tomsich
> Enable soc support for SPL and U-boot skeleton. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > - some update for sdram common code > >

Re: [U-Boot] [U-Boot, 12/13] armv7: support rk3066 early back to bootrom in start.S

2017-06-25 Thread Philipp Tomsich
> offset in tpl binary and do back to bootrom at very beginning of the tpl > execution. > > Adding this few lines of code here meets these conditions. > > Signed-off-by: Paweł Jarosz <paweljarosz3...@gmail.com> > --- > arch/arm/cpu/armv7/start.S | 13

Re: [U-Boot] [U-Boot, v4, 3/4] rockchip: Add basic support for phyCORE-RK3288 SoM based carrier board

2017-06-25 Thread Philipp Tomsich
d/phytec/phycore_rk3288/MAINTAINERS > create mode 100644 board/phytec/phycore_rk3288/Makefile > create mode 100644 board/phytec/phycore_rk3288/phycore-rk3288.c > create mode 100644 configs/phycore-rk3288_defconfig > create mode 100644 include/configs/phycore_rk3288.h > A

Re: [U-Boot] [U-Boot, v2, 4/8] rockchip: rk3368: add sdram driver for U-Boot

2017-06-25 Thread Philipp Tomsich
> Add sdram driver in U-Boot for get the correct sdram size from > sys_reg, so that U-Boot can co-work with Rockchip loader or SPL > to get different dram capability and then tell the kernel. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > >

Re: [U-Boot] [U-Boot, v7, 8/8] rockchip: dts: rk3399: control vbus of typec by fixed regulator

2017-06-25 Thread Philipp Tomsich
Changes in v5: None > Changes in v4: None > Changes in v3: None > > arch/arm/dts/rk3399-evb.dts | 16 ++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

Re: [U-Boot] [U-Boot, v4, 2/4] power: regulator: rk8xx: Allow input current/charger shutdown configuration

2017-06-25 Thread Philipp Tomsich
Changes in v4: > - Added Reviewed-by: Simon Glass <s...@chromium.org> > > drivers/power/regulator/rk8xx.c | 34 ++ > include/power/rk8xx_pmic.h | 2 ++ > 2 files changed, 36 insertions(+) > Acked-b

Re: [U-Boot] [U-Boot, v7, 1/8] usb: Kconfig: config USB_XHCI_ROCKCHIP depends on DM_REGULATOR and DM_USB

2017-06-25 Thread Philipp Tomsich
nds on features for xhci-rockchip in Kconfig > > drivers/usb/host/Kconfig | 2 ++ > 1 file changed, 2 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, v3, 2/3] rockchip: video: Makefile: Add soc specific driver for rk3288 mipi dsi

2017-06-25 Thread Philipp Tomsich
> Signed-off-by: Eric Gao <eric@rock-chips.com> > --- > > Changes in v2: None > Changes in v1: None > > drivers/video/rockchip/Makefile | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Philipp Tomsich <p

Re: [U-Boot] [U-Boot, 2/7] rockchip: spi: dm: convert fdt_get to dev_read

2017-06-25 Thread Philipp Tomsich
> With the new dev_read functions available, we can convert the rockchip > architecture-specific drivers and common drivers used by these devices > over to the dev_read family of calls. > > This change covers the rk_spi.c (SPI driver) used in Rockchip devices. > > Signed-of

Re: [U-Boot] [U-Boot, 4/7] rockchip: dwmmc: use max-frequency when OF_PLATDATA enabled

2017-06-25 Thread Philipp Tomsich
> Since the 'clock-freq-min-max' is deprecated, we use max-frequency for > all rockchip SoC dwmmc controller. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > drivers/mmc/rockchip_dw_mmc.c | 3 ++- > 1 file changed, 2

Re: [U-Boot] [U-Boot, 3/7] rockchip: rk3328: dtsi use max-frequency for mmc node

2017-06-25 Thread Philipp Tomsich
> Since the 'clock-freq-min-max' is deprecated, we use max-frequency. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/dts/rk3328.dtsi | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Applied to

Re: [U-Boot] [U-Boot, 2/7] rockchip: rk3288: dtsi use max-frequency for mmc node

2017-06-25 Thread Philipp Tomsich
> Since the 'clock-freq-min-max' is deprecated, we use max-frequency. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > arch/arm/dts/rk3288.dtsi | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Applied to

Re: [U-Boot] [U-Boot, 6/7] rockchip: firefly-rk3399: enable dwmmc driver for the board

2017-06-25 Thread Philipp Tomsich
> Enable mmc_dw_rockchip driver, disable CONFIG_SPL_OF_PLATDATA > first for some dependence patches still not merged. > > Signed-off-by: Kever Yang > Tested-by: Vagrant Cascadian > Reviewed-by: Simon Glass > --- > >

Re: [U-Boot] [U-Boot,08/13] rockchip: mmc: support rk3066 mmc

2017-06-25 Thread Philipp Tomsich
hanged, 29 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/8] rockchip: add sdram_common for common functions

2017-06-25 Thread Philipp Tomsich
> There are some functions like sdram_size_mb can be re-used for > different rockchip SoCs, just put them into common file. > Add board_get_usable_ram_top() for ram_top init base on > SDRAM_MAX_SIZE. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add

Re: [U-Boot] [U-Boot, v7, 6/8] rockchip: rk3328: board: add support of dwc2 gadget

2017-06-25 Thread Philipp Tomsich
Chagnes in v5: None > Changes in v4: None > Changes in v3: None > > board/rockchip/evb_rk3328/evb-rk3328.c | 42 > ++ > 1 file changed, 42 insertions(+) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___

Re: [U-Boot] [U-Boot, 07/13] rockchip: rk3066: add mk808 board files

2017-06-25 Thread Philipp Tomsich
fig > create mode 100644 board/rikomagic/mk808_rk3066/MAINTAINERS > create mode 100644 board/rikomagic/mk808_rk3066/Makefile > create mode 100644 board/rikomagic/mk808_rk3066/mk808_rk3066.c > create mode 100644 configs/mk808-rk3066_defconfig > create mode 100644 include/configs/mk

Re: [U-Boot] [U-Boot,06/13] rockchip: rk3066: add core support

2017-06-25 Thread Philipp Tomsich
100644 arch/arm/mach-rockchip/rk3066/clk_rk3066.c > create mode 100644 arch/arm/mach-rockchip/rk3066/syscon_rk3066.c > create mode 100644 include/configs/rk3066_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,10/13] rockchip: rk3066: add sdram driver

2017-06-25 Thread Philipp Tomsich
nged, 112 insertions(+) > create mode 100644 arch/arm/mach-rockchip/rk3066/sdram_rk3066.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] [U-Boot,v2,6/7] rockchip: rk322x: add sysreset driver

2017-06-25 Thread Philipp Tomsich
> Rockchip rk322x sysreset is much like rk3036 and other Rockchip SoCs, > only difference is that the target register address is different. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com&g

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: defconfig: Increase max video resolution for mipi panel

2017-06-25 Thread Philipp Tomsich
rk3399_defconfig | 8 +++- > 1 file changed, 3 insertions(+), 5 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, 2/2] rockchip: rk3036: sync os_reg2 define with other soc

2017-06-25 Thread Philipp Tomsich
h-rockchip/rk3036/sdram_rk3036.c | 5 +++-- > 1 file changed, 3 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, v1] rockchip: pwm: fix: pwm dosen't work on rk3288

2017-06-25 Thread Philipp Tomsich
> According to rk3288 spec, the pwm register order is: > PWM_PWM0_CNT, > PWM_PWM0_PERIOD_HPR, > PWM_PWM0_DUTY_LPR, > PWM_PWM0_CTRL > > but the source code's order is: > struct rk3288_pwm { > u32 cnt; > u32 duty_lpr; > u32 period_hpr; > u32 ctrl; > }; > > So,

Re: [U-Boot] [U-Boot, v7, 3/8] rockchip: dts: rk3328: add fixed regulator node for xhci

2017-06-25 Thread Philipp Tomsich
,06/11] > > arch/arm/dts/rk3328-evb.dts | 11 ++- > 1 file changed, 10 insertions(+), 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, v2, 5/7] rockchip: rk322x: add basic soc support

2017-06-25 Thread Philipp Tomsich
> Enable soc support for SPL and U-boot skeleton. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > - some update for sdram common code > >

Re: [U-Boot] [U-Boot, 05/13] rockchip: rk3066: add rk3066 platform devicetree file

2017-06-25 Thread Philipp Tomsich
+++ > 1 file changed, 699 insertions(+) > create mode 100644 arch/arm/dts/rk3066a.dtsi > 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/8] rockchip: rk3368: add sdram driver for U-Boot

2017-06-25 Thread Philipp Tomsich
> Add sdram driver in U-Boot for get the correct sdram size from > sys_reg, so that U-Boot can co-work with Rockchip loader or SPL > to get different dram capability and then tell the kernel. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > >

Re: [U-Boot] [U-Boot, 1/2] rockchip: rk3036 remove CONFIG_RAM from defconfig

2017-06-25 Thread Philipp Tomsich
1 - > 2 files changed, 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,7/7] rockchip: add evb_rk3229 board

2017-06-25 Thread Philipp Tomsich
> evb_rk3229 is a RK3229 based board, with: > - 8GB eMMC; > - 1GB DDR SDRAM; > - 2 USB2.0 HOST port; > - 1 MAC port; > - 1 HDMI port; > - IR; > - WiFi; > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot,v2,3/7] rockchip: rk322x: add pinctrl driver

2017-06-25 Thread Philipp Tomsich
> Add init pinctrl driver support for: > - i2c; > - spi; > - uart; > - pwm; > - emmc/sdmmc; > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v

Re: [U-Boot] [U-Boot,v2,6/7] rockchip: rk322x: add sysreset driver

2017-06-25 Thread Philipp Tomsich
> Rockchip rk322x sysreset is much like rk3036 and other Rockchip SoCs, > only difference is that the target register address is different. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com&g

Re: [U-Boot] [U-Boot, v7, 4/8] rockchip: configs: rk3328: enable dwc2 driver and config fastboot

2017-06-25 Thread Philipp Tomsich
Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > configs/evb-rk3328_defconfig| 19 +-- > include/configs/rk3328_common.h | 3 +++ > 2 files changed, 20 insertions(+), 2 deletions(-) >

Re: [U-Boot] [U-Boot,v2,5/8] rockchip: dts: rk3328: add dmc node

2017-06-25 Thread Philipp Tomsich
> Add a dmc node for sdram driver. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > > arch/arm/dts/rk3328.dtsi | 7 +++ > 1 file changed, 7 insertions(+) > Applied to u-boot-rockchip/next, thanks! ___

Re: [U-Boot] [U-Boot, v2, 3/4] rockchip: evb-rk3328: enable boot on regulator

2017-06-25 Thread Philipp Tomsich
, 7 insertions(+), 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, v2, 4/4] rockchip: dts: rk3328-evb: add sdmmc-pwren regulator

2017-06-25 Thread Philipp Tomsich
> Use fixed regulator for sdmmc-pwren for sdmmc power. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Simon Glass <s...@chromium.org> > --- > > Changes in v2: None > > arch/arm/dts/rk3328-evb.dts | 8 > 1 file chan

Re: [U-Boot] [U-Boot, 11/13] rockchip: serial: support rockchip rk3066

2017-06-25 Thread Philipp Tomsich
> update driver to support rk3066 serial > > Signed-off-by: Paweł Jarosz <paweljarosz3...@gmail.com> > --- > drivers/serial/serial_rockchip.c | 19 ++- > 1 file changed, 18 insertions(+), 1 deletion(-) > Acked-by: Philipp Tomsich <philipp

Re: [U-Boot] [U-Boot, v3, 3/3] rockchop: video: mipi: Makefile: Add soc specfic driver for rk3399 mipi dsi

2017-06-25 Thread Philipp Tomsich
> Add Makefile item for soc specific driver for rk3399 mipi dsi. > > Signed-off-by: Eric Gao <eric@rock-chips.com> > --- > > Changes in v2: None > Changes in v1: None > > drivers/video/rockchip/Makefile | 3 ++- > 1 file changed, 2 insertions(+), 1 delet

Re: [U-Boot] [U-Boot, v1] rockchip: pwm: fix: pwm dosen't work on rk3288

2017-06-25 Thread Philipp Tomsich
> According to rk3288 spec, the pwm register order is: > PWM_PWM0_CNT, > PWM_PWM0_PERIOD_HPR, > PWM_PWM0_DUTY_LPR, > PWM_PWM0_CTRL > > but the source code's order is: > struct rk3288_pwm { > u32 cnt; > u32 duty_lpr; > u32 period_hpr; > u32 ctrl; > }; > > So,

[U-Boot] [PATCH v3 1/3] rockchip: mkimage: add support for verify_header/print_header

2017-05-30 Thread Philipp Tomsich
of the image: $ ./tools/dumpimage -l ./spl.img Image Type: Rockchip RK33 (SD/MMC) boot image ^^ SD/MMC vs. SPI indication spl_hdr indicated by the image Data Size:79872 bytes Signed-off-by: Philipp Tomsich <philipp.toms...@theobr

[U-Boot] [PATCH v3 3/3] rockchip: mkimage: set init_boot_size to avoid confusing the boot ROM

2017-05-30 Thread Philipp Tomsich
) of how the BootROM processes this field. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes in v3: - added in v3 Changes in v2: None tools/rkcommon.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/rkcommon.c b/tools/rkco

[U-Boot] [PATCH v3 0/3] rockchip: mkimage: refactor rksd/rkspi padding calculation and add dumpimage support

2017-05-30 Thread Philipp Tomsich
otherwise break the back-to-bootrom functionality - added in v3 Changes in v2: - (in rkcommon_verify_header): changed to use a standard error (i.e. from errno.h) to convey 'header0 signature does not match' [squash of: "rockchip: mkimage: don't mix standard errors and FDT"] Philipp

[U-Boot] [PATCH v3 2/3] rockchip: mkimage: force 2KB alignment for init_size

2017-05-30 Thread Philipp Tomsich
The Rockchip BootROM relies on init_size being aligned to 2KB (see https://lists.denx.de/pipermail/u-boot/2017-May/293268.html). This pads the image to 2KB both for SD card images and SPI images and uses a common symbolic constant for the alignment. Signed-off-by: Philipp Tomsich <philipp.t

[U-Boot] [PATCH v4 6/9] rockchip: video: split RK3228-specific part off from rk_hdmi

2017-05-31 Thread Philipp Tomsich
of regulators, we reuse the infrastructure created during the VOP refactoring... i.e. we simply call into the helper function defined for the VOP. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Version-changes: 4 - add this path (as part of breaking up the large HDMI

[U-Boot] [PATCH v4 5/9] rockchip: video: add mpixelclock settings from Linux driver

2017-05-31 Thread Philipp Tomsich
The Linux driver now supports higher mpixelclock settings. Add these to rockchip_phy_config[] and rockchip_mpll_cfg[]. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes in v4: - new patch (split off from the earlier RK3399 HDMI encoder change) Changes

[U-Boot] [PATCH 3/4] rockchip: dts: rk3399-puma: Add DDR3-1866 timings

2017-05-31 Thread Philipp Tomsich
With the validation done for DDR3-1866 (i.e. 933 MHz bus clock), we can now add the timings (rk3399-sdram-ddr3-1866.dtsi) for boards built with the DDR3-1866 option. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arm/dts/rk3399-sdram-ddr3-1866.dtsi

[U-Boot] [PATCH 3/4] rockchip: dts: rk3399-puma: set spl-payload-offset

2017-05-31 Thread Philipp Tomsich
From: Klaus Goger <klaus.go...@theobroma-systems.com> defines the spl-payload to 256k (0x4) Signed-off-by: Klaus Goger <klaus.go...@theobroma-systems.com> Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arm/dts/rk3399-puma.dts | 3 ++-

[U-Boot] [PATCH 4/4] rockchip: dts: rk3399-puma: sync DTS with Linux tree

2017-05-31 Thread Philipp Tomsich
The Linux DTS for the RK3399-Q7 has moved with the times... resync against it to ensure a consistent configuration. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arm/dts/rk3399-puma.dts | 540 +++ 1 file change

[U-Boot] [PATCH 2/4] rockchip: dts: rk3399-puma: release reset of on-module USB3 hub via vbus-gpio

2017-05-31 Thread Philipp Tomsich
. 0)... so we mark this as an ACTIVE_LOW signal. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arm/dts/rk3399-puma.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/rk3399-puma.dts b/arch/arm/dts/rk3399-puma.dts

[U-Boot] [PATCH v4 3/9] rockchip: video: refactor rk_vop and split RK3328-specific code off

2017-05-31 Thread Philipp Tomsich
used) - splits enabling the output (towards an encoder) into a separate help function withint the common driver Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes in v4: - added to break down into smaller changes Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v4 1/9] rockchip: video: Kconfig: reformat help for VIDEO_ROCKCHIP

2017-05-31 Thread Philipp Tomsich
For consistency sake (and as we are about to add new options to this file), reformat the help for VIDEO_ROCKCHIP. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes in v4: - added to break down into smaller changes Changes in v3: None Changes in v2

[U-Boot] [PATCH v4 9/9] rockchip: board: puma_rk3399: enable BMP_16BPP, BMP_24BPP and BMP_32BPP

2017-05-31 Thread Philipp Tomsich
With video output support for the RK3399-Q7 (Puma) available, we want CMD_BMP enabled and the support for 16bit, 24bit and 32bit BMPs defined. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Version-changes: 2 - enable SYS_WHITE_ON_BLACK via defconfig --- Changes

<    5   6   7   8   9   10   11   12   13   14   >