Re: [U-Boot] [U-Boot, v2, 09/18] clk: rockchip: Add rk3328 gamc clock support

2017-11-26 Thread Philipp Tomsich
On Thu, 9 Nov 2017, David Wu wrote: The rk3328 soc has two gmac controllers, one is gmac2io, the other is gmac2phy. We use the gmac2io rgmii interface for 1000M phy here. Signed-off-by: David Wu <david...@rock-chips.com> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-sy

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

2017-11-26 Thread Philipp Tomsich
-by: David Wu <david...@rock-chips.com> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> See below for requested changes. --- Changes in v2: - Add check whether the set rgmii/rmii function is a vali

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

2017-11-26 Thread Philipp Tomsich
On Thu, 9 Nov 2017, David Wu wrote: Set gmac pins iomux and rgmii tx pins to 12ma drive-strength, clean others to 2ma. Signed-off-by: David Wu <david...@rock-chips.com> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.to

[U-Boot] [PATCH v3 1/2] power: regulator: add driver for the FAN53555 family

2017-11-26 Thread Philipp Tomsich
(with 'option 5' devices): setting voltages from the U-Boot shell and verifying output voltages on the board. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Tested-by: Klaus Goger <klaus.go...@theobroma-systems.com> --- Changes in v3: - update for review comme

Re: [U-Boot] [U-Boot, v2, 16/18] clk: rockchip: Add rk322x gamc clock support

2017-11-26 Thread Philipp Tomsich
On Thu, 9 Nov 2017, David Wu wrote: Assuming mac_clk is fed by an external clock, set clk_rmii_src clock select control register from IO for rgmii interface. Signed-off-by: David Wu <david...@rock-chips.com> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

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

2017-11-24 Thread Philipp Tomsich
ink 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-by: Philipp Tomsich <philipp.toms...@theobroma-systems.co

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

2017-11-24 Thread Philipp Tomsich
-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- configs/puma-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index ebbf8a9..6d2c615 100644 --- a/configs/puma-rk3399_defconfig +++ b/config

[U-Boot] [PATCH v4 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 v4: None 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

[U-Boot] [PATCH v4 1/2] power: regulator: add driver for the FAN53555 family

2017-11-26 Thread Philipp Tomsich
(with 'option 5' devices): setting voltages from the U-Boot shell and verifying output voltages on the board. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Tested-by: Klaus Goger <klaus.go...@theobroma-systems.com> --- Changes in v4: - fix issues introduced w

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

2017-11-26 Thread Philipp Tomsich
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> --- MAINTAINERS | 12 1 file changed, 12 insertions(+) diff --git a/MAINTAI

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

2017-11-26 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 <

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

2017-11-26 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> --- arch/arm/dts/rk3399-puma.dtsi | 5 + 1 file changed, 5 insertions(+)

Re: [U-Boot] [U-Boot, 03/15] spl: change load_addr and entry_point to uintptr_t

2017-11-23 Thread Philipp Tomsich
> Mainly a stylistic change: convert the load_addr and entry_point > fields of struct spl_image_info to uintptr_t (from ulong). > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > &g

Re: [U-Boot] [U-Boot, 10/15] rockchip: dts: rk3399-puma: add /config/arm-trusted-firmware, reset-gpio property

2017-11-23 Thread Philipp Tomsich
sted > from ATF via PSCI). > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > arch/arm/dts/rk3399-puma.dtsi | 1 + > 1 file changed, 1 insertion(+) > Applied to u-boot-rockchip, thanks! ___

Re: [U-Boot] [U-Boot, 07/15] spl: atf: introduce spl_invoke_atf and make bl31_entry private

2017-11-23 Thread Philipp Tomsich
cture in place, we can now update the > support for the ARM Trusted Firmware to dispatch into the > spl_invoke_atf function only if a IH_OS_ARM_TRUSTED_FIRMWARE image is > loaded. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Sim

Re: [U-Boot] [U-Boot, 04/15] spl: fit: simplify logic for FDT loading for non-OS boots

2017-11-23 Thread Philipp Tomsich
Boot) or to one of the loadables (if the 'firmware' is an ATF, an > OPTEE, or some other image-type and U-Boot is listed in the > loadabled). > > To achieve this goal, we drop the os_boot flag and track the type of > image loaded. If it is of type IH_OS_U_BOOT, we append the FDT. >

Re: [U-Boot] [U-Boot, 08/15] spl: rename config item SPL_ATF_SUPPORT to SPL_ATF

2017-11-23 Thread Philipp Tomsich
> Having CONFIG_SPL_ATF seems more natural. > Rename it, while it it is easy and there's few boards that use it > (only RK3399 and RK3368 boards). > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@chromium.

Re: [U-Boot] [U-Boot, 02/15] spl: add a fdt_addr field to spl_image_info

2017-11-23 Thread Philipp Tomsich
> When loading a full U-Boot with detached device-tree using the SPL FIT > backend, we should store the address of the FDT loaded as part of the > SPL image info: this allows us to fixup the FDT with additional info > we may want to propagate onward. > > Signed-off-b

Re: [U-Boot] [U-Boot, 01/15] image: add IH_OS_ARM_TRUSTED_FIRMWARE for ARM Trusted Firmware

2017-11-23 Thread Philipp Tomsich
d in a FIT > image, this adds the necessary definitions. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > > common/image.c | 1 + > include/image.h | 1 + > 2 files change

Re: [U-Boot] [U-Boot, 09/15] spl: atf: drop the SPL_ATF_TEXT_BASE configuration item

2017-11-23 Thread Philipp Tomsich
> The SPL_ATF_TEXT_BASE configuration item has become obsolete. > Remove it from Kconfig. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > > common/spl/Kconfig | 6 -

Re: [U-Boot] [U-Boot, 13/15] rockchip: board: lion-rk3368: update .its file

2017-11-23 Thread Philipp Tomsich
> For the RK3368-uQ7, we can now update the .its file to mark the > Trusted Firmware as out 'firmware' bootable and annotate both ATF and > U-Boot with an OS-type. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon

Re: [U-Boot] [U-Boot, 05/15] spl: fit: implement fdt_record_loadable

2017-11-23 Thread Philipp Tomsich
> are loaded where: if a FDT is loaded for one of the next stages, it > can be used to convey the status and location of loadables. > > This adds a fdt_record_loadable() function that can be invoked to > record the status of each loadable below the /fit-images path. > &g

Re: [U-Boot] [U-Boot, 06/15] spl: fit: implement recording of loadables into /fit-images

2017-11-23 Thread Philipp Tomsich
> locations (e.g. PMU firmware that may overlap the SPL stage). > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > > common/spl/spl_fit.c | 95 > +

Re: [U-Boot] [U-Boot, 12/15] rockchip: board: puma-rk3399: update .its file to use new features

2017-11-23 Thread Philipp Tomsich
the SPL stage. This is achieved by changing our > .its-file to use an available area of DRAM as the load-address. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > > board/theobroma-syste

Re: [U-Boot] [U-Boot, 11/15] rockchip: defconfig: firefly-rk3399: sync up with SPL changes for ATF

2017-11-23 Thread Philipp Tomsich
> This tracks the SPL changes for ATF for the Firefly: > * renames ATF_SUPPORT to ATF > * drops CONFIG_SPL_ATF_TEXT_BASE > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > >

Re: [U-Boot] [U-Boot, 15/15] rockchip: defconfig: lion-rk3368: sync up with SPL changes for ATF

2017-11-23 Thread Philipp Tomsich
> This tracks the SPL changes for ATF for the RK3368-uQ7: > * renames ATF_SUPPORT to ATF > * drops CONFIG_SPL_ATF_TEXT_BASE (now dynamically retrieved from >the .itb file) > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> >

Re: [U-Boot] [U-Boot, 14/15] rockchip: defconfig: puma-rk3399: sync up with SPL changes for ATF

2017-11-23 Thread Philipp Tomsich
-> ATF renaming > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Simon Glass <s...@chromium.org> > --- > > configs/puma-rk3399_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > Applied to u-boot-rockchip, tha

[U-Boot] [PATCH v2 2/3] rockchip: rk3399-puma: implement usb_hub_reset_devices for puma-rk3399

2017-11-22 Thread Philipp Tomsich
deal with). Note that this is needed for U-Boot only, as Linux eventually manages to attach the hub even when it has entered into its low-power state (when the hub wakes up the next time) after a few seconds. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes

[U-Boot] [PATCH v2 1/3] usb: hub: identify the hub-device to usb_hub_reset_devices

2017-11-22 Thread Philipp Tomsich
parameter. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes in v2: - new in v2 board/compulab/cm_t54/cm_t54.c | 2 +- board/ti/omap5_uevm/evm.c | 2 +- common/usb_hub.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v2 3/3] rockchip: dts: rk3399-puma: add a 'tsd, usb-port-power' stringlist for USB1

2017-11-22 Thread Philipp Tomsich
-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- Changes in v2: - changed the property name to 'tsd,usb-port-power' to make it a vendor-specific property arch/arm/dts/rk3399-puma.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/a

[U-Boot] [PATCH v3 2/3] rockchip: rk3399-puma: implement usb_hub_reset_devices for puma-rk3399

2017-11-22 Thread Philipp Tomsich
deal with). Note that this is needed for U-Boot only, as Linux eventually manages to attach the hub even when it has entered into its low-power state (when the hub wakes up the next time) after a few seconds. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Tested-by:

[U-Boot] [PATCH v3 3/3] rockchip: dts: rk3399-puma: add a 'tsd, usb-port-power' stringlist for USB1

2017-11-22 Thread Philipp Tomsich
-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Tested-by: Jakob Unterwurzacher <jakob.unterwurzac...@theobroma-systems.com> --- Changes in v3: None Changes in v2: - changed the property name to 'tsd,usb-port-power' to make it a vendor-specific property arch/arm/dts/rk33

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

2017-11-23 Thread Philipp Tomsich
On Wed, 27 Sep 2017, Kever Yang wrote: 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-sy

Re: [U-Boot] [U-Boot,6/8] rockchip: rk3128: add evb-rk3128 support

2017-11-23 Thread Philipp Tomsich
On Wed, 27 Sep 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] [U-Boot,5/8] rockchip: rk3128: add sysreset driver

2017-11-23 Thread Philipp Tomsich
On Wed, 27 Sep 2017, Kever Yang wrote: Add rk3128 sysreset driver. 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> See below for

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

2017-11-30 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> > Reviewed-by: Philipp Toms

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

2017-11-30 Thread Philipp Tomsich
eset-gpio property and has 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> > --- > > Chang

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

2017-11-30 Thread Philipp Tomsich
trigger a power-on reset 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...@theob

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

2017-11-22 Thread Philipp Tomsich
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> --- arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 7 +

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

2017-11-22 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> --- drivers/clk/ro

[U-Boot] [PATCH v2 1/2] power: regulator: add driver for the FAN53555 family

2017-11-22 Thread Philipp Tomsich
(with 'option 5' devices): setting voltages from the U-Boot shell and verifying output voltages on the board. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Tested-by: Klaus Goger <klaus.go...@theobroma-systems.com> --- Changes in v2: - adapted documentation o

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

2017-11-22 Thread Philipp Tomsich
only. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- 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 100644 --- a/config

[U-Boot] [PATCH v3 1/3] usb: hub: identify the hub-device to usb_hub_reset_devices

2017-11-22 Thread Philipp Tomsich
ild; i++) usb_hub_reset_devices(i + 1); This adds an additional 'hub' parameter to usb_hub_reset_devices that provides the context to fully qualify the port-number in. Existing implementations are changed to accept and ignore the new parameter. Signed-off-by: Philipp Tomsich <phi

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

2017-11-22 Thread Philipp Tomsich
only. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- 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 100644 --- a/configs/puma-rk3399_defconfig

[U-Boot] [PATCH 1/2] power: regulator: add driver for the FAN53555 family

2017-11-22 Thread Philipp Tomsich
(with 'option 5' devices): setting voltages from the U-Boot shell and verifying output voltages on the board. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Tested-by: Klaus Goger <klaus.go...@theobroma-systems.com> --- drivers/power/regulator/Kconfig| 14

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

2017-11-22 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> > --- > > arch/arm/include/asm/arch-rockchip/grf_rk3128.h | 551 >

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

2017-11-22 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> > --- > >

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

2017-11-30 Thread Philipp Tomsich
> 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...@theobroma-systems.

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

2017-11-30 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.toms...@theobr

Re: [U-Boot] [U-Boot, v3, 2/3] rockchip: rk3399-puma: implement usb_hub_reset_devices for puma-rk3399

2017-11-30 Thread Philipp Tomsich
t; U-Boot's USB stack can't deal with). > > Note that this is needed for U-Boot only, as Linux eventually manages > to attach the hub even when it has entered into its low-power state > (when the hub wakes up the next time) after a few seconds. > > Signed-off-by: Philipp T

Re: [U-Boot] [U-Boot, v3, 3/3] rockchip: dts: rk3399-puma: add a 'tsd, usb-port-power' stringlist for USB1

2017-11-30 Thread Philipp Tomsich
ciated with control of the USB hub. > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Tested-by: Jakob Unterwurzacher <jakob.unterwurzac...@theobroma-systems.com> > --- > > Changes in v3: None > Changes in v2: > - changed the prop

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

2017-12-17 Thread Philipp Tomsich
Mark Kettenis <kette...@openbsd.org> > --- > > Changes in v3: > - update with new script path > > Changes in v2: > - typo fix, rk3399-evb->rk3399-firefly > > configs/firefly-rk3399_defconfig | 1 + > 1 file changed, 1 insert

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: add a common script for generate fit its

2017-12-17 Thread Philipp Tomsich
gt; + > 1 file changed, 221 insertions(+) > create mode 100755 arch/arm/mach-rockchip/make_fit_atf.py > 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: config: update part table

2017-12-17 Thread Philipp Tomsich
> User do not need to access the reserved part in system, remove them > from partition table. > Rename atf to trust as generic name for armv7 do not use ATF. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobr

Re: [U-Boot] rockchip: move CONFIG_ENV_SIZE and CONFIG_ENV_OFFSET to Kconfig

2017-12-17 Thread Philipp Tomsich
> These settings are not not user visible via a menuconfig prompt. This is > necessary to have the possibility to select new default values if > CONFIG_IS_IN_* is changed (interactively or with oldconfig). Otherwise it > will always be set to a previous value if used with a prompt. > As an example

Re: [U-Boot] rockchip: rk3399-puma: set gpio4cd iodomain to 1.8V

2017-12-17 Thread Philipp Tomsich
probed before loading the iodomain driver. > > Make PCIe work in Linux by setting the gpio4cd iodomain to 1.8V. > > Signed-off-by: Jakob Unterwurzacher > <jakob.unterwurzac...@theobroma-systems.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > R

Re: [U-Boot] [U-Boot,v3] rockchip: update boot0 hook

2017-12-18 Thread Philipp Tomsich
in v3: > - address comments from Philipp > > Changes in v2: > - update commit message > > arch/arm/include/asm/arch-rockchip/boot0.h | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-system

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

2017-12-18 Thread Philipp Tomsich
| 7 +++ > drivers/clk/rockchip/clk_rk3368.c | 7 +++ > drivers/clk/rockchip/clk_rk3399.c | 21 + > drivers/clk/rockchip/clk_rv1108.c | 7 +++ > 9 files changed, 80 insertions(+) > Acked-by: Philipp Tomsich <philipp.

Re: [U-Boot] rockchip: update ROCKCHIP_SPL_RESERVE_IRAM to 0

2017-12-18 Thread Philipp Tomsich
g | 1 + > configs/firefly-rk3399_defconfig | 1 + > 3 files 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, v4, 1/2] drivers/reset: support rockchip reset drivers

2017-12-18 Thread Philipp Tomsich
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] rockchip: rk3399-puma: set gpio4cd iodomain to 1.8V

2017-12-18 Thread Philipp Tomsich
probed before loading the iodomain driver. > > Make PCIe work in Linux by setting the gpio4cd iodomain to 1.8V. > > Signed-off-by: Jakob Unterwurzacher > <jakob.unterwurzac...@theobroma-systems.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > R

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: add a common script for generate fit its

2017-12-18 Thread Philipp Tomsich
source and dtb > as parameter. > > 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> > --- > > Changes in v3: &

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

2017-12-18 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 v3: > - update ad

Re: [U-Boot] [U-Boot,v2] rockchip: update boot0 hook

2017-12-18 Thread Philipp Tomsich
ll cases: > armv7 SPL: TAG(overwrite 'b 1f')+'b reset' + ARM_VECTORS > armv7 U-Boot: ARM_VECTORS > armv8 SPL: TAG(overwrite 'b 1f')+'b reset' + Reserved_iram(rk3399) > armv8 U-Boot: 'b reset' > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philip

Re: [U-Boot] rockchip: update ROCKCHIP_SPL_RESERVE_IRAM to 0

2017-12-18 Thread Philipp Tomsich
> Only rk3399 atf need ROCKCHIP_SPL_RESERVE_IRAM, so update it dtfault > 0 so that other SoCs do not need to define it. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > >

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

2017-12-18 Thread Philipp Tomsich
Mark Kettenis <kette...@openbsd.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v3: > - update with new script path > > Changes in v2: > - typo fix, rk3399-evb->rk3399-firefly > > configs/firefly-rk3399_d

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

2017-12-18 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 v3: > - update ad

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

2017-12-18 Thread Philipp Tomsich
Mark Kettenis <kette...@openbsd.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v3: > - update with new script path > > Changes in v2: >

Re: [U-Boot] [U-Boot,v3] rockchip: update boot0 hook

2017-12-18 Thread Philipp Tomsich
ll cases: > armv7 SPL: TAG(overwrite 'b 1f')+'b reset' + ARM_VECTORS > armv7 U-Boot: ARM_VECTORS > armv8 SPL: TAG(overwrite 'b 1f')+'b reset' + Reserved_iram(rk3399) > armv8 U-Boot: 'b reset' > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philip

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: add a common script for generate fit its

2017-12-18 Thread Philipp Tomsich
source and dtb > as parameter. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v3: > - use python script > - adapt for latest spl atf support > > Changes in

Re: [U-Boot] rockchip: config: update part table

2017-12-18 Thread Philipp Tomsich
> User do not need to access the reserved part in system, remove them > from partition table. > Rename atf to trust as generic name for armv7 do not use ATF. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobr

Re: [U-Boot] [U-Boot,v2] rockchip: update boot0 hook

2017-12-15 Thread Philipp Tomsich
n v2: > - update commit message > > arch/arm/include/asm/arch-rockchip/boot0.h | 14 +- > 1 file changed, 9 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,v3,2/2] rockchip: clk: bind reset driver

2017-12-15 Thread Philipp Tomsich
clk/rockchip/clk_rk3399.c | 20 > drivers/clk/rockchip/clk_rv1108.c | 6 ++ > 9 files changed, 72 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, 1/2] drivers/reset: support rockchip reset drivers

2017-12-15 Thread Philipp Tomsich
> - 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 > + > 3 files changed, 143 insertions(

Re: [U-Boot] rockchip: config: update part table

2017-12-15 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] rockchip: rk3399-puma: set gpio4cd iodomain to 1.8V

2017-12-15 Thread Philipp Tomsich
++ > 1 file changed, 20 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] rockchip: rk3399-puma: set gpio4cd iodomain to 1.8V

2017-12-15 Thread Philipp Tomsich
probed before loading the iodomain driver. > > Make PCIe work in Linux by setting the gpio4cd iodomain to 1.8V. > > Signed-off-by: Jakob Unterwurzacher > <jakob.unterwurzac...@theobroma-systems.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- &

Re: [U-Boot] [U-Boot,v2] rockchip: update boot0 hook

2017-12-15 Thread Philipp Tomsich
ll cases: > armv7 SPL: TAG(overwrite 'b 1f')+'b reset' + ARM_VECTORS > armv7 U-Boot: ARM_VECTORS > armv8 SPL: TAG(overwrite 'b 1f')+'b reset' + Reserved_iram(rk3399) > armv8 U-Boot: 'b reset' > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philip

Re: [U-Boot] rockchip: config: update part table

2017-12-15 Thread Philipp Tomsich
> User do not need to access the reserved part in system, remove them > from partition table. > Rename atf to trust as generic name for armv7 do not use ATF. > > Signed-off-by: Kever Yang <kever.y...@rock-chips.com> > Acked-by: Philipp Tomsich <philipp.to

[U-Boot] [PATCH] Travis-CI: Split 't208xrdb t4qds t102*'-job into separate jobs

2017-12-20 Thread Philipp Tomsich
The 't208xrdb t4qds t102*' job is close to the time limit and sometimes fails, so this splits it into 3 separate jobs. Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- .travis.yml | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis

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

2017-12-18 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 v3: > - update ad

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: add a common script for generate fit its

2017-12-18 Thread Philipp Tomsich
source and dtb > as parameter. > > 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> > --- > > Changes in v3: &

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

2017-12-18 Thread Philipp Tomsich
Mark Kettenis <kette...@openbsd.org> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v3: > - update with new script path > > Changes in v2: >

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

2017-11-10 Thread Philipp Tomsich
> This patch fixed U-Boot proper location has been > missed to update in bewlo commit > "rockchip: doc: update U-Boot location info" > (sha1: 73e6dbe855f357a8330cfd53ff3033303611c1ad) > > Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> > Acked-by: Phili

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

2017-11-10 Thread Philipp Tomsich
> The U-Boot location has been moved to block 16384. > This is 8MB, not 4MB. > > Signed-off-by: Simon Goldschmidt <sgoldschm...@de.pepperl-fuchs.com> > Reviewed-by: Jagan Teki <ja...@openedev.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.co

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> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > Note: Fix for 2017.11 > > include/config

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

2017-11-20 Thread Philipp Tomsich
g support for rk3229 evb. > > Signed-off-by: David Wu <david...@rock-chips.com> > --- > > Changes in v2: > - New patch > > configs/evb-rk3229_defconfig | 5 + > 1 file changed, 5 insertions(+) > Acked-by: Philipp Tomsich <philipp.toms...

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

2017-11-20 Thread Philipp Tomsich
> Add rk3328-evb gmac support. > > Signed-off-by: David Wu <david...@rock-chips.com> > --- > > Changes in v2: > - New patch > > arch/arm/dts/rk3328-evb.dts | 30 ++ > 1 file changed, 30 insertions(+) > Acked-by: Phi

Re: [U-Boot] [U-Boot,1/2] rk3288: tinker: Add TPL support

2017-11-20 Thread Philipp Tomsich
d-off-by: Jagan Teki <ja...@amarulasolutions.com> > --- > arch/arm/mach-rockchip/rk3288/Kconfig | 16 > configs/tinker-rk3288_defconfig | 4 +++- > 2 files changed, 19 insertions(+), 1 deletion(-) > Acked-by: Philipp T

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

2017-11-20 Thread Philipp Tomsich
3288.c | 13 + > include/configs/tinker_rk3288.h | 16 > 2 files 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, v3, 1/3] rockchip: make boot_mode related codes reused across all platforms

2017-11-20 Thread Philipp Tomsich
p/rk3399-board.c | 14 +++ > 9 files changed, 71 insertions(+), 73 deletions(-) > create mode 100644 arch/arm/mach-rockchip/boot_mode.c > create mode 100644 arch/arm/mach-rockchip/rk3399-board.c > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

Re: [U-Boot] [U-Boot, v3, 3/3] rockchip: check download key before bootup

2017-11-20 Thread Philipp Tomsich
arch/arm/mach-rockchip/boot_mode.c | 43 > ++ > 1 file changed, 43 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: add support for enter to bootrom download mode

2017-11-20 Thread Philipp Tomsich
boot_mode.h | 4 +++ > arch/arm/mach-rockchip/Kconfig | 1 + > arch/arm/mach-rockchip/bootrom.c | 47 > ++++++++-- > 3 files changed, 50 insertions(+), 2 deletions(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.

Re: [U-Boot] [U-Boot, 1/1] rockchip: spi: the symbol for Hertz is Hz

2017-11-20 Thread Philipp Tomsich
> fix typo > > Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> > --- > drivers/spi/rk_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> __

Re: [U-Boot] [U-Boot, 1/1] rockchip: spi: the symbol for Hertz is Hz

2017-11-20 Thread Philipp Tomsich
> fix typo > > Signed-off-by: Heinrich Schuchardt <xypron.g...@gmx.de> > --- > drivers/spi/rk_spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>

Re: [U-Boot] [U-Boot, v3, 2/3] rockchip: add support for enter to bootrom download mode

2017-11-20 Thread Philipp Tomsich
boot_mode.h | 4 +++ > arch/arm/mach-rockchip/Kconfig | 1 + > arch/arm/mach-rockchip/bootrom.c | 47 > ++++++++-- > 3 files changed, 50 insertions(+), 2 deletions(-) > Reviewed-by: Philipp Tomsich <philipp.toms...@theo

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

2017-11-20 Thread Philipp Tomsich
On Sat, 4 Nov 2017, Jagan Teki wrote: Add Falcon mode support in tinker rk3288 board. Signed-off-by: Jagan Teki <ja...@amarulasolutions.com> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.

Re: [U-Boot] rockchip: update boot0 hook

2017-11-20 Thread Philipp Tomsich
to understand that the key difference is that ARM_VECTORS is ARMv7 only and ARMv8 should have a 'b reset'. Signed-off-by: Kever Yang <kever.y...@rock-chips.com> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> --- arch/arm/include/asm/arch-rockchip/boot0.h | 14

Re: [U-Boot] rockchip: update boot0 hook

2017-11-20 Thread Philipp Tomsich
include/asm/arch-rockchip/boot0.h | 14 +- > 1 file changed, 9 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,1/2] rk3288: tinker: Add TPL support

2017-11-20 Thread Philipp Tomsich
d-off-by: Jagan Teki <ja...@amarulasolutions.com> > Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > arch/arm/mach-rockchip/rk3288/Kconfig | 16 > configs/tinker-rk3288_defconfig | 4 +++- > 2 files changed, 19 insertions

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