Re: [U-Boot] rockchip: add support for backing to bootrom download mode

2017-09-12 Thread Philipp Tomsich
this comment refer to? Signed-off-by: Andy Yan <andy@rock-chips.com> Reviewed-by: Kever Yang <kever.y...@rock-chips.com> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arm/include/asm/arch-rockchip/bootrom.h | 2 +- arch/arm/mach-rockchip/Kconfig

[U-Boot] [RESEND PATCH 2/2] rockchip: dts: rk3399-puma: replace 'rockchip, vbus-gpio' with fixed regulator

2017-09-12 Thread Philipp Tomsich
"usb: host: xhci-rockchip: use fixed regulator to control vbus" Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arm/dts/rk3399-puma.dtsi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3399-puma.dts

[U-Boot] [RESEND PATCH 4/6] usb: dwc2: convert to livetree

2017-09-12 Thread Philipp Tomsich
Update the DWC2 USB driver to support a live tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- drivers/usb/host/dwc2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/dwc2.c b/drivers/usb/host/dwc2.c index 64c42ac..0

[U-Boot] [RESEND PATCH 6/6] rockchip: defconfig: puma-rk3399: enable OF_LIVE (live tree)

2017-09-12 Thread Philipp Tomsich
With the critical drivers ready for switching to a live tree, we can not enable it in the defconfig for the RK3399-Q7. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- configs/puma-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/config

[U-Boot] [RESEND PATCH 10/10] rockchip: defconfig: puma-rk3399: update for DM_REGULATOR support in SPL

2017-09-12 Thread Philipp Tomsich
The RK3399-Q7 requires DM regulator support in SPL, so we can use the regulator framework to reenable the eMMC and SPI, if these had been turned of by the BIOS_DISABLE signal. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- configs/puma-rk3399_defconfig | 7

[U-Boot] [RESEND PATCH 00/10] rockchip: puma-rk3399: support 'same-as-spl' for boot-order and always power-up eMMC/SPI

2017-09-12 Thread Philipp Tomsich
the power-regulator framework of Puma * adds fixed regulator support for powering up the eMMC and SPI flashes * adds support for the 'same-as-spl' specifier for the boot order (incl. updating the documentation for this Philipp Tomsich (10): rockchip: rk3399: make spl_board_init board-specific

Re: [U-Boot] [U-Boot,01/10] lib: add TPL_OF_LIBFDT option for TPL

2017-09-12 Thread Philipp Tomsich
> TPL may need use libfdt for dt decode, add option for it. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > > lib/Kconfig | 10 ++ > 1 file changed, 10 insertions(+) > Acked-by: Phi

Re: [U-Boot] [U-Boot, 07/10] rockchip: rk322x: dts: enable uart2 for SPL/TPL

2017-09-12 Thread Philipp Tomsich
file changed, 1 insertion(+) > 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,04/10] rockchip: rk322x: enable tpl support

2017-09-12 Thread Philipp Tomsich
l.lds | 13 + > include/configs/rk322x_common.h | 12 +++-- > 6 files changed, 128 insertions(+), 56 deletions(-) > create mode 100644 arch/arm/mach-rockchip/rk322x-board-tpl.c > create mode 100644 arch/arm/mach-rockchip/rk322x/u-boot-tpl.lds >

Re: [U-Boot] [U-Boot, 08/10] rockchip: evb-rk3229: add fit source file for itb

2017-09-12 Thread Philipp Tomsich
ip/evb_rk3229/fit_spl_optee.its | 48 > + > 1 file changed, 48 insertions(+) > create mode 100644 board/rockchip/evb_rk3229/fit_spl_optee.its > 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: rk3368: add the missing target and pinctrl config for sheep board

2017-09-12 Thread Philipp Tomsich
> Add the missing target and pinctrl config for rk3368 sheep board > > Signed-off-by: Andy Yan <andy@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > confi

Re: [U-Boot] [U-Boot, 3/3] rockchip: remove CONFIG_SPL_ATF_TEXT_BASE for all boards

2017-09-12 Thread Philipp Tomsich
> After update bl31_entry(), we don't need CONFIG_SPL_ATF_TEXT_BASE. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > --- > > configs/firefly-rk3399_defconfig | 1 - > configs/lion-rk3368_defconfig| 1 - > 2 files changed, 2 deletions(-)

Re: [U-Boot] rockchip: add support for backing to bootrom download mode

2017-09-12 Thread Philipp Tomsich
- > 4 files changed, 63 insertions(+), 11 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: rk3229: move usb gadget into defconfig

2017-09-12 Thread Philipp Tomsich
> Use the defconfig for all usb gadget and function related > option instead of define then in header file. > > 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, v2, 4/4] rockchip: enable rockusb for all rockchip SoCs

2017-09-12 Thread Philipp Tomsich
> Rockusb will be used by all the rockchip SoCs, enable it by > default in Kconfig, and it can be work if USB gadget is available. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> >

Re: [U-Boot] [U-Boot, v2, 3/3] rockchip: evb-rk3399: update document for board bring up

2017-09-12 Thread Philipp Tomsich
> Since we support ATF in SPL and add script for it, let's make the > document up to date. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2: > -

Re: [U-Boot] [U-Boot, v2, 2/3] rockchip: firefly-rk3399: add FIT for rk3399

2017-09-12 Thread Philipp Tomsich
Mark Kettenis <kette...@openbsd.org> > --- > > Changes in v2: > - typo fix, rk3399-evb->rk3399-firefly > > configs/firefly-rk3399_defconfig | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

Re: [U-Boot] [U-Boot, v2, 1/3] rockchip: rk3399-evb: add script for atf fit

2017-09-12 Thread Philipp Tomsich
Kettenis <kette...@openbsd.org> > --- > > Changes in v2: None > > board/rockchip/evb_rk3399/mk_fit_atf.sh | 110 > > 1 file changed, 110 insertions(+) > create mode 100755 board/rockchip/evb_rk3399/mk_fit_atf.sh > Revi

Re: [U-Boot] [U-Boot, 06/10] spl: add support to booting with OP-TEE

2017-09-12 Thread Philipp Tomsich
/OP-TEE/optee_os and search for 'boot arguments' for detail entry parameter in: core/arch/arm/kernel/generic_entry_a32.S Adding some documentation to U-Boot that documents the binary interface with OPTEE would be helpful. Signed-off-by: Kever Yang <kever.y...@rock-chips.com> Acked-by: P

Re: [U-Boot] [U-Boot, 07/10] rockchip: rk322x: dts: enable uart2 for SPL/TPL

2017-09-12 Thread Philipp Tomsich
> When we use DM_SERIAL for serial driver, we need enable the > dts node for the debug console. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-syst

Re: [U-Boot] [U-Boot,01/10] lib: add TPL_OF_LIBFDT option for TPL

2017-09-12 Thread Philipp Tomsich
> TPL may need use libfdt for dt decode, add option for it. > > 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> > --- > > lib/Kco

Re: [U-Boot] [U-Boot,04/10] rockchip: rk322x: enable tpl support

2017-09-12 Thread Philipp Tomsich
> Move original spl to tpl, and add spl to load next stage firmware, > adapt all the address and option for them. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <phil

Re: [U-Boot] [U-Boot, 10/10] rockchip: evb-rk322x: update defconfig with tpl and optee support

2017-09-12 Thread Philipp Tomsich
> Enable all the options for TPL/SPL and OPTEE. > > 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> > --- >

Re: [U-Boot] [U-Boot, 08/10] rockchip: evb-rk3229: add fit source file for itb

2017-09-12 Thread Philipp Tomsich
> We package U-Boot and OP-TEE into one itb file for SPL, > so that we can support OP-TEE in SPL. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-system

Re: [U-Boot] [U-Boot, 02/10] arm: add option for TPL support in arm 32bit

2017-09-12 Thread Philipp Tomsich
> Some options like TPL_SYS_THUMB_BUILD, TPL_USE_ARCH_MEMCPY > and TPL_USE_ARCH_MEMCPY are needed for TPL build in 32bit arm. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <phil

Re: [U-Boot] [U-Boot,03/10] arm: add a separate stack for TPL

2017-09-12 Thread Philipp Tomsich
> TPL stack may different from SPL and sys stack, add support for > separate one when the board defines it. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobr

Re: [U-Boot] [U-Boot, 05/10] sysreset: enable driver support in SPL/TPL

2017-09-12 Thread Philipp Tomsich
> SPL/TPL also need use sysreset for some feature like panic callback. > > 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> > ---

[U-Boot] [PATCH v3 00/19] rockchip: convert the RK3368 to OF_LIVE and validate on the RK3368-uQ7

2017-09-11 Thread Philipp Tomsich
- improve error handling, in case dev_read_addr_ptr returns NULL - use the dev_read_addr_ptr function in rk_i2c.c Philipp Tomsich (19): bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL dm: timer: Convert to livetree dm: timer: handle being called before

[U-Boot] [PATCH v3 02/19] dm: timer: Convert to livetree

2017-09-11 Thread Philipp Tomsich
This updates dm_timer_init to support a live tree and deals with some fallout (i.e. the need to restructure the code such, that we don't need multiple discontinuous #if CONFIG_IS_ENABLED blocks). Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Gl

[U-Boot] [PATCH v3 04/19] dm: core: add dev_read_addr_ptr()

2017-09-11 Thread Philipp Tomsich
The dev_read_addr_ptr() mimics the behaviour of the devfdt_get_addr_ptr(), retrieving the first address of the node's reg-property and returning it as a pointer (or NULL on failure). Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Acked-by: Philipp Tomsich <phi

[U-Boot] [PATCH v3 07/19] rockchip: mmc: convert to livetree

2017-09-11 Thread Philipp Tomsich
Update the Rockchip-specific wrapper for the Designware driver to support a live device tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

[U-Boot] [PATCH v3 05/19] net: designware: Convert to livetree

2017-09-11 Thread Philipp Tomsich
Update the Designware Ethernet MAC driver to support a live device tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- Changes in v3: - added Joe's Acked-by: tag (which I had lost) Changes in v2: None

[U-Boot] [PATCH v3 09/19] rockchip: timer: Convert to livetree

2017-09-11 Thread Philipp Tomsich
Update the Rockchip timer driver to support a live device tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes in v3: None Ch

[U-Boot] [PATCH v3 12/19] rockchip: spi: Convert to livetree

2017-09-11 Thread Philipp Tomsich
Update the Rockchip SPI driver to support a live device tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Reviewed-by: Jagan Teki <ja...@openedev.com> Acked-by: Philipp Tomsich <philipp.toms...@

[U-Boot] [PATCH v3 14/19] rockchip: rk8xx: remove unused header includes

2017-09-11 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> Reviewed-by: Simon Glass <s...@chromium.org> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

[U-Boot] [PATCH v3 11/19] rockchip: pinctrl: rk3368: Convert to livetree

2017-09-11 Thread Philipp Tomsich
Update the pinctrl driver for the RK3368 to support a live device tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes in v3:

[U-Boot] [PATCH v3 19/19] rockchip: lion-rk3368: defconfig: resync w/ OF_LIVE and BOOTSTAGE enabled

2017-09-11 Thread Philipp Tomsich
This adds OF_LIVE and BOOTSTAGE support for the RK3368-uQ7 and regenerates the defconfig (picking up a few changes/reorderings) from upstream Kconfig changes. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Acked

[U-Boot] [PATCH v3 03/19] dm: timer: handle being called before dm_root is ready

2017-09-11 Thread Philipp Tomsich
-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes in v3: None Changes in v2: None drivers/timer/timer-uclass.c | 7 +++ 1 file cha

[U-Boot] [PATCH v3 06/19] net: phy: micrel: Convert to livetree

2017-09-11 Thread Philipp Tomsich
Update the Micrel KSZ90x1 driver for a live tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Acked-by: Joe Hershberger <joe.hershber...@ni.com> --- Changes in v3: - added Joe's Acked-by: tag (which I had lost) Changes in v2: None drivers/net/phy/micr

[U-Boot] [PATCH v3 01/19] bootstage: adjust Makefile to allow including bootstage in SPL, but not in TPL

2017-09-11 Thread Philipp Tomsich
-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes in v3: None Changes in v2: None common/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) d

[U-Boot] [PATCH v3 13/19] rockchip: sdhci: Convert to livetree

2017-09-11 Thread Philipp Tomsich
Update the Rockchip SDHCI wrapper to support a live device tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Version-changes: 2 - use the

[U-Boot] [PATCH v3 18/19] rockchip: dts: rk3368-lion: add /chosen/tick-timer

2017-09-11 Thread Philipp Tomsich
To support bootstage recording, we want to mark our DM timer as the tick-timer; this triggers the support for 'trying harder' to read the timer in the Rockchip DM timer driver, even if the device model isn't ready yet. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.

[U-Boot] [PATCH v3 10/19] rockchip: clk: rk3368: Convert to livetree

2017-09-11 Thread Philipp Tomsich
Update the clock driver for the RK3368 to support a live device tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Versio

[U-Boot] [PATCH v3 15/19] rockchip: i2c: Convert to livetree

2017-09-11 Thread Philipp Tomsich
Update the Rockchip I2C driver to support livetree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Acked-by: Heiko Schocher <h...@denx.de

[U-Boot] [PATCH v3 17/19] rockchip: gpio: remove outdated/misleading comment

2017-09-11 Thread Philipp Tomsich
Remove a comment claiming that this driver only supports the RK3288, as we also use it on the RK3368, RK3399 and (most likely) on other variants. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Acked-by: Phi

Re: [U-Boot] [U-Boot,3/3] rk3288: spl: Add dram_init_banksize

2017-09-11 Thread Philipp Tomsich
--- > arch/arm/mach-rockchip/rk3288-board-spl.c | 17 + > 1 file changed, 17 insertions(+) > 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/3] rk3288: vyasa: Add falcon mode support

2017-09-11 Thread Philipp Tomsich
nfigs/vyasa-rk3288.h| 17 + > 2 files changed, 30 insertions(+) > 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,v3] rk3288: Add Vyasa initial board support

2017-09-11 Thread Philipp Tomsich
3288-vyasa.dts > create mode 100644 board/amarula/vyasa-rk3288/Kconfig > create mode 100644 board/amarula/vyasa-rk3288/MAINTAINERS > create mode 100644 board/amarula/vyasa-rk3288/Makefile > create mode 100644 board/amarula/vyasa-rk3288/vyasa-rk3288

Re: [U-Boot] [U-Boot, v2, 1/2] rockchip: board: lion_rk3368: update README flash instructions

2017-09-11 Thread Philipp Tomsich
> Add a section to the README on how to flash the on-board eMMC > with the rkdeveloptool. > > Signed-off-by: Klaus Goger <klaus.go...@theobroma-systems.com> > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2

Re: [U-Boot] [U-Boot, v2, 1/2] rockchip: board: lion_rk3368: update README flash instructions

2017-09-11 Thread Philipp Tomsich
> Add a section to the README on how to flash the on-board eMMC > with the rkdeveloptool. > > Signed-off-by: Klaus Goger <klaus.go...@theobroma-systems.com> > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v2

Re: [U-Boot] [U-Boot, v2, 2/2] rockchip: board: puma_rk3399: update README flash instructions

2017-09-11 Thread Philipp Tomsich
> Puma supports other boot sources then SD-Card. Update README to include > the required steps. > > * how to package a SPI-NOR SPL > * how to flash eMMC with rkdeveloptool > > Signed-off-by: Klaus Goger <klaus.go...@theobroma-systems.com> > Signed-off-by:

Re: [U-Boot] [U-Boot, v2, 2/2] rockchip: board: puma_rk3399: update README flash instructions

2017-09-11 Thread Philipp Tomsich
> Puma supports other boot sources then SD-Card. Update README to include > the required steps. > > * how to package a SPI-NOR SPL > * how to flash eMMC with rkdeveloptool > > Signed-off-by: Klaus Goger <klaus.go...@theobroma-systems.com> > Signed-off-by:

Re: [U-Boot] [U-Boot,3/3] rk3288: spl: Add dram_init_banksize

2017-09-11 Thread Philipp Tomsich
> From: Jagan Teki <ja...@amarulasolutions.com> > > Falcon mode, is updating DDR dt node configuration through > spl_fixup_fdt() so add appropriate DDR base and size through > dram_init_banksize. > > Signed-off-by: Jagan Teki <ja...@amarulasolutions.com&g

Re: [U-Boot] [U-Boot,v3] rk3288: Add Vyasa initial board support

2017-09-11 Thread Philipp Tomsich
Err: serial@ff69 > Model: Amarula Vyasa-RK3288 > Net: Net Initialization Skipped > No ethernet found. > Hit any key to stop autoboot: 0 > => > > Reviewed-by: Simon Glass <s...@chromium.org> > Signed-off-by: Jagan Teki <ja...@amarulasolutions.com>

Re: [U-Boot] [U-Boot,2/3] rk3288: vyasa: Add falcon mode support

2017-09-11 Thread Philipp Tomsich
> From: Jagan Teki <ja...@amarulasolutions.com> > > Add Falcon mode support in vyasa rk3288 board. > > Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > boar

Re: [U-Boot] [U-Boot,V9,1/4] usb: rockchip: add the rockusb gadget

2017-09-11 Thread Philipp Tomsich
8 + > drivers/usb/gadget/Makefile| 1 + > drivers/usb/gadget/f_rockusb.c | 691 > + > 4 files changed, 832 insertions(+) > create mode 100644 arch/arm/include/asm/arch-rockchip/f_rockusb.h > create mode 100644 drivers/usb/gadget/f_rockusb

Re: [U-Boot] [U-Boot, V9, 3/4] rockchip:usb: add a simple readme for rockusb

2017-09-11 Thread Philipp Tomsich
better > > Changes in v3: > -fix checkpatch error > --- > doc/README.rockusb | 51 +++ > 1 file changed, 51 insertions(+) > create mode 100644 doc/README.rockusb > Acked-by: Philipp Tomsich <philipp.toms...@theobr

Re: [U-Boot] [U-Boot,V9,2/4] usb: rockchip: add rockusb command

2017-09-11 Thread Philipp Tomsich
+++++++++++ > 3 files changed, 84 insertions(+) > create mode 100644 cmd/rockusb.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

[U-Boot] [PATCH v3 08/19] rockchip: timer: implement timer_get_boot_us

2017-09-11 Thread Philipp Tomsich
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). Signed-off-by: Philipp Tomsich <philipp.toms...@theobr

Re: [U-Boot] [U-Boot,1/3] rk3288: vyasa: Add TPL support

2017-09-11 Thread Philipp Tomsich
marula Vyasa-RK3288 Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 => I think the console output does not provide any useful info as part of the commit message. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Reviewed-by: Philipp Tomsic

[U-Boot] [PATCH v3 16/19] rockchip: gpio: convert to livetree

2017-09-11 Thread Philipp Tomsich
Update the Rockchip GPIO-bank driver to support a live tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Simon Glass <s...@chromium.org> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Version-changes: 2 - use the

Re: [U-Boot] [U-Boot, 2/2] rockchip: rk3368: add the missing target and pinctrl config for sheep board

2017-09-12 Thread Philipp Tomsich
> Add the missing target and pinctrl config for rk3368 sheep board > > Signed-off-by: Andy Yan <andy@rock-chips.com> > Reviewed-by: Simon Glass <s...@chromium.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > confi

[U-Boot] [RESEND PATCH 1/2] rockchip: clk: rk3399: add clk_enable function and support USB HOST0/1

2017-09-12 Thread Philipp Tomsich
clk_enable for the RK3399 and supports the clocks mandatory for the EHCI controllers; as these are enabled by default we simply return success. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- drivers/clk/rockchip/clk_rk3399.c | 15 +++ 1 file changed, 15 inse

[U-Boot] [RESEND PATCH 0/2] rockchip: rk3399-puma: migrate from 'rockchip, vbus-gpio' to a fixed regulator

2017-09-12 Thread Philipp Tomsich
On recent bootloader versions, the USB hub on the RK3399-Q7 was never brought out of reset, due to the 'rockchip,vbus-gpio' property not being supported any longer (since 26a8b80). This series rectifies the situation by using a fixed regulator in the device tree to turn the USB hub on. Philipp

[U-Boot] [RESEND PATCH 0/6] rockchip: enable live tree on the RK3399 and validate on the RK3399-Q7

2017-09-12 Thread Philipp Tomsich
This series repeats the same exercise as for the RK3368 and adapts any lingering dependencies necessary to move the RK3399-based boards over to use a live tree. Validated on the RK3399-Q7 (Puma). Resent, due to an apparent patchworks hick-up yesterday that "ate my series". Philipp

[U-Boot] [RESEND PATCH 5/6] usb: host: ehci-generic: convert to livetree

2017-09-12 Thread Philipp Tomsich
Update the generic EHCI driver to support a live tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- drivers/usb/host/ehci-generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-generic.c b/drivers/usb/host/ehci-gen

[U-Boot] [RESEND PATCH 08/10] rockchip: rk3399-puma: add boot-on regulator to override BIOS_DISABLE

2017-09-12 Thread Philipp Tomsich
a hook to the spl_board_init() to ensure that the regulator gets probed and enabled. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arm/dts/rk3399-puma.dtsi | 23 +++ board/theobroma-systems/puma_rk3399/puma-rk3399.

[U-Boot] [RESEND PATCH 09/10] power: spl: add SPL_DM_REGULATOR_FIXED in Kconfig

2017-09-12 Thread Philipp Tomsich
The Makefile already tests for SPL_DM_REGULATOR_FIXED, but Kconfig does not provide it. This adds SPL_DM_REGULATOR_FIXED to Kconfig. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- drivers/power/regulator/Kconfig | 7 +++ 1 file changed, 7 insertions(+)

[U-Boot] [RESEND PATCH 06/10] rockchip: dts: rk3399-puma: add 'same-as-spl' to the front of the boot-order

2017-09-12 Thread Philipp Tomsich
In the general case, we want to continue booting the full U-Boot (contained in a discoverable FIT image) from the same device the SPL stage was loaded from. This prepends the 'same-as-spl' specifier to our configurable boot-order to make this the default behaviour. Signed-off-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 02/10] arm: add option for TPL support in arm 32bit

2017-09-12 Thread Philipp Tomsich
-- > > arch/arm/Kconfig | 29 + > 1 file changed, 29 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, 05/10] sysreset: enable driver support in SPL/TPL

2017-09-12 Thread Philipp Tomsich
efile | 2 +- > 2 files changed, 19 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, 06/10] spl: add support to booting with OP-TEE

2017-09-12 Thread Philipp Tomsich
| 1 + > common/spl/spl.c | 5 + > common/spl/spl_optee.S | 13 + > include/spl.h | 9 + > 5 files changed, 35 insertions(+) > create mode 100644 common/spl/spl_optee.S > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-system

Re: [U-Boot] [U-Boot, 10/10] rockchip: evb-rk322x: update defconfig with tpl and optee support

2017-09-12 Thread Philipp Tomsich
ertions(+), 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,v3,1/2] rockchip: rk322x: add sdram driver

2017-09-12 Thread Philipp Tomsich
ip/sdram_rk322x.h > create mode 100644 drivers/ram/rockchip/sdram_rk322x.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, 2/2] rockchip: ram: rk3399: update reg map for of-platdata

2017-09-12 Thread Philipp Tomsich
> After Simon's patch, the dtoc can work with 64bit address, > so we need to fix reg number for it. > Depend on Simon's patch set: > https://patchwork.ozlabs.org/cover/807266/ > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v2, 3/4] rockchip: add BOOT_LOADER support for boot mode

2017-09-12 Thread Philipp Tomsich
On Tue, 22 Aug 2017, Kever Yang wrote: Rockchip using rockusb for flash emmc via USB, people use 'reboot loader' in kernel and then want to get a rockusb device in bootloader for firmware update. Signed-off-by: Kever Yang <kever.y...@rock-chips.com> Reviewed-by: Philipp T

[U-Boot] [RESEND PATCH 1/6] rockchip: clk: rk3399: Convert to livetree

2017-09-12 Thread Philipp Tomsich
Update the clock driver for the RK3399 to support a live device tree. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- drivers/clk/rockchip/clk_rk3399.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockchip/clk_rk339

[U-Boot] [RESEND PATCH 3/6] rockchip: efuse: change to use dev_read_addr_ptr

2017-09-12 Thread Philipp Tomsich
With the dev_read_addr_ptr function available, we can change the efuse driver to use it (and eliminate the explicit type-cast). Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- drivers/misc/rockchip-efuse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [RESEND PATCH 07/10] rockchip: puma-rk3399: update board_init()

2017-09-12 Thread Philipp Tomsich
. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- board/theobroma-systems/puma_rk3399/puma-rk3399.c | 36 +++ 1 file changed, 4 insertions(+), 32 deletions(-) diff --git a/board/theobroma-systems/puma_rk3399/puma-rk3399.c b/board/theobroma-s

[U-Boot] [RESEND PATCH 05/10] rockchip: spl: rk3399: implement chip-specific board_spl_was_booted_from()

2017-09-12 Thread Philipp Tomsich
To support the new "same-as-spl" specifier in the boot-order on the RK3399, this implements the chip-specific mapping from the information obtainable from the BROM to a OF path name. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arm/mach-rockc

[U-Boot] [RESEND PATCH 04/10] rockchip: spl: support a 'same-as-spl'-specifier in the spl-boot-order

2017-09-12 Thread Philipp Tomsich
the 'same-as-spl' specifier and calling into the per-SoC/per-board support code. This also updates the documentation for the 'u-boot,spl-boot-order' property. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arm/mach-rockchip/spl-boot-order.

Re: [U-Boot] [U-Boot,03/10] arm: add a separate stack for TPL

2017-09-12 Thread Philipp Tomsich
gt; 1 file changed, 3 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, 1/2] rockchip: rk3368: add ENV_MEM_LAYOUT to extra env settings

2017-09-12 Thread Philipp Tomsich
> Add the ENV_MEM_LAYOUT_SETTINGS to CONFIG_EXTRA_ENV_SETTINGS > > Signed-off-by: Andy Yan <andy@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > include/configs/rk3368_common.h | 1 + > 1 file changed,

Re: [U-Boot] [U-Boot, 09/10] rockchip: evb-rk3229: add README file for OP-TEE support

2017-09-12 Thread Philipp Tomsich
create mode 100644 board/rockchip/evb_rk3229/README > 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, 1/2] rockchip: sdhci: update reg map for of-platdata

2017-09-12 Thread Philipp Tomsich
rockchip_sdhci.c | 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, v3, 2/2] rockchip: dts: rk3229: remove dram channel info

2017-09-12 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 v3: None > > arch/arm/dts/rk3229-evb.dts | 1 - > 1 file changed, 1 deletion(-) >

Re: [U-Boot] [U-Boot, 2/3] spl: remove SPL_ATF_TEXT_BASE config option

2017-09-12 Thread Philipp Tomsich
> We don't need SPL_ATF_TEXT_BASE since we can get the bl31 entry > from spl_image.entry_point. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > --- > > common/spl/Kconfig | 6 -- > 1 file changed, 6 deletions(-) > Acked-by: Philipp T

Re: [U-Boot] [U-Boot, 1/3] spl: update bl31_entry() with new name and parameter

2017-09-12 Thread Philipp Tomsich
tf.c | 4 ++-- > include/spl.h| 6 +- > 3 files changed, 8 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/3] rockchip: rk3399: detect boot mode

2017-09-12 Thread Philipp Tomsich
On Tue, 22 Aug 2017, Kever Yang wrote: U-Boot fastboot, kernel may reboot with parameter which require bootloader to get into different boot mode, detect it and enter proper mode. Signed-off-by: Kever Yang <kever.y...@rock-chips.com> Reviewed-by: Philipp Tomsich <philipp.toms...@

Re: [U-Boot] [U-Boot, v2, 2/5] armv7: rk3288: Move configure_l2ctlr to common

2017-09-29 Thread Philipp Tomsich
rch/arm/include/asm/arch-rockchip/sys_proto.h | 23 +++ > arch/arm/mach-rockchip/rk3288-board-spl.c | 21 + > 2 files changed, 24 insertions(+), 20 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> _

Re: [U-Boot] [U-Boot, v2, 1/5] armv7: Move L2CTLR read/write to common

2017-09-29 Thread Philipp Tomsich
olutions.com> > --- > Changes for v2: > - New patch > > arch/arm/include/asm/armv7.h | 21 + > arch/arm/mach-rockchip/rk3288-board-spl.c | 22 +- > arch/arm/mach-tegra/cache.c | 5 +++-- > 3 files chan

Re: [U-Boot] rockchip: rk322x: fix pd_bus hclk/pclk

2017-09-29 Thread Philipp Tomsich
> The pd_bus hclk/pclk source is pd_bus aclk, not the PLL. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > --- > > drivers/clk/rockchip/clk_rk322x.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Reviewed-by: Philipp Tomsich <phil

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

2017-09-29 Thread Philipp Tomsich
++ > include/power/rk8xx_pmic.h | 1 + > 3 files changed, 8 insertions(+) > 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, 2/5] armv7: rk3288: Move configure_l2ctlr to common

2017-09-29 Thread Philipp Tomsich
rch/arm/include/asm/arch-rockchip/sys_proto.h | 23 +++ > arch/arm/mach-rockchip/rk3288-board-spl.c | 21 + > 2 files changed, 24 insertions(+), 20 deletions(-) > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> ___

Re: [U-Boot] [U-Boot, 1/1] evb-rk3399: avoid redefinition of CONFIG_ENV_OFFSET

2017-09-29 Thread Philipp Tomsich
off-by: Heinrich Schuchardt <xypron.g...@gmx.de> > --- > include/configs/evb_rk3399.h | 6 -- > 1 file changed, 6 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: pinctrl: rk3368: add pinctrl for SDMMC0

2017-09-29 Thread Philipp Tomsich
o > allow SD card access. > > This change implements support for setting up the SDMMC pins in > pinctrl for the RK3368. > > Reported-by: Klaus Goger <klaus.go...@theobroma-systems.com> > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

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

2017-09-29 Thread Philipp Tomsich
> From: Elaine Zhang <zhangq...@rock-chips.com> > > Add compatible to support rk3328 i2c > > Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@the

Re: [U-Boot] rockchip: rk322x: fix pd_bus hclk/pclk

2017-09-29 Thread Philipp Tomsich
> The pd_bus hclk/pclk source is pd_bus aclk, not the PLL. > > 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, v2, 1/5] armv7: Move L2CTLR read/write to common

2017-09-29 Thread Philipp Tomsich
olutions.com> > --- > Changes for v2: > - New patch > > arch/arm/include/asm/armv7.h | 21 + > arch/arm/mach-rockchip/rk3288-board-spl.c | 22 +- > arch/arm/mach-tegra/cache.c | 5 +++-- > 3 files c

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

2017-09-29 Thread Philipp Tomsich
> From: Elaine Zhang <zhangq...@rock-chips.com> > > Add defconfig for rk8xx and regulator and i2c controller. > > Signed-off-by: Elaine Zhang <zhangq...@rock-chips.com> > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich

<    9   10   11   12   13   14   15   16   17   18   >