[PATCH] rockchip: rk3399-puma: Increase environment size to 16 kiB.

2021-02-18 Thread Christoph Muellner
-off-by: Christoph Muellner --- board/theobroma-systems/puma_rk3399/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/theobroma-systems/puma_rk3399/Kconfig b/board/theobroma-systems/puma_rk3399/Kconfig index e82623a1701..21946d984da 100644 --- a/board/theobroma

[PATCH] rockchip: rk3399-puma: Restore correct VDD_LOG supply.

2021-02-18 Thread Christoph Muellner
from Linux") Signed-off-by: Christoph Muellner --- arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi b/arch/arm/dts/rk3399-puma-haikou-u-boot.dtsi index e7a1aea3a56..e0476ab25c9 100644

[PATCH] cmd: test: Add operators to deal with hexadecimal numbers.

2020-03-11 Thread Christoph Muellner
that allow parameters in hexadecimal format. So the test above can be implemented as follows: => if test "ff" -heq 0; then echo "equal"; fi => [1] https://www.denx.de/wiki/view/DULG/UBootCommandLineInterface Signed-off-by: Christoph Muellner --- cmd/test.c

[U-Boot] [PATCH v2 3/3] rk3399: Add restriction for DMA-able addresses.

2019-05-07 Thread Christoph Muellner
-by: Christoph Müllner Signed-off-by: Christoph Muellner --- Changes in v2: - Convert argument type from unsigned long to void pointer. arch/arm/mach-rockchip/rk3399/rk3399.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/mach-rockchip/rk3399/rk3399.c b/arch/arm/mach

[U-Boot] [PATCH v2 1/3] board_f: Add mach specific DMA address check function.

2019-05-07 Thread Christoph Muellner
From: Christoph Müllner Some machines have limited DMA engines, which cannot deal with arbitrary addresses. This patch introduces a function to model these restrictions on a machine level. Signed-off-by: Christoph Müllner Signed-off-by: Christoph Muellner --- Changes in v2: None common

[U-Boot] [PATCH v2 2/3] bouncebuf: Add DMA validation check to addr_aligned().

2019-05-07 Thread Christoph Muellner
-off-by: Christoph Müllner Signed-off-by: Christoph Muellner --- Changes in v2: None common/bouncebuf.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/common/bouncebuf.c b/common/bouncebuf.c index a7098e2caf..1b82243b06 100644 --- a/common/bouncebuf.c +++ b/common/bouncebuf.c @@ -26,6

[U-Boot] [PATCH 2/2] rockchip: rk3399-puma: Enable SPL_BOUNCE_BUFFER_STATIC.

2019-05-07 Thread Christoph Muellner
buffer method. Signed-off-by: Christoph Muellner --- configs/puma-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index 964464ac0f..cb652922e3 100644 --- a/configs/puma-rk3399_defconfig +++ b/configs/puma

[U-Boot] [PATCH 1/2] bouncebuf: Add static buffer allocation method for SPL.

2019-05-07 Thread Christoph Muellner
a static allocated memory location, which is used instead of dynamically allocated buffers. Signed-off-by: Christoph Muellner --- common/Kconfig | 15 +++ common/bouncebuf.c | 14 ++ 2 files changed, 29 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index

[U-Boot] [PATCH] rockchip: Cleanup of make_fit_atf.py.

2019-05-07 Thread Christoph Muellner
with TF-A v2.1 as BL31. Signed-off-by: Christoph Muellner --- arch/arm/mach-rockchip/make_fit_atf.py | 153 ++--- 1 file changed, 64 insertions(+), 89 deletions(-) diff --git a/arch/arm/mach-rockchip/make_fit_atf.py b/arch/arm/mach-rockchip/make_fit_atf.py index

[U-Boot] [PATCH 1/3] board_f: Add mach specific DMA address check function.

2019-05-07 Thread Christoph Muellner
From: Christoph Müllner Some machines have limited DMA engines, which cannot deal with arbitrary addresses. This patch introduces a function to model these restrictions on a machine level. Signed-off-by: Christoph Müllner Signed-off-by: Christoph Muellner --- common/board_f.c | 5

[U-Boot] [PATCH 3/3] rk3399: Add restriction for DMA-able addresses.

2019-05-07 Thread Christoph Muellner
Patches on the U-Boot mailing list from Rockchip engineers indicate, that the RK3399's DMA engines are not able to use addresses in high-memory (above 0xf800). This patch models this restriction in an RK3399 specific mach_addr_is_dmaable() function. Signed-off-by: Christoph Muellner

[U-Boot] [PATCH 2/3] bouncebuf: Add DMA validation check to addr_aligned().

2019-05-07 Thread Christoph Muellner
Currently addr_aligned() performs an alignment and a length check to validate the DMA address. However, some machines have stricter restrictions of DMA-able addresses. This patch adds a call to mach_addr_is_dmaable() to honor this machine specific restrictions. Signed-off-by: Christoph Muellner

[U-Boot] [PATCH 1/3] rockchip: pinctrl: rk3399: Add support for UART3.

2019-05-07 Thread Christoph Muellner
This patch adds the missing GRF bit definitions for UART3 on the RK3399. Signed-off-by: Christoph Muellner --- arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-rockchip/grf_rk3399.h b/arch/arm/include/asm/arch

[U-Boot] [PATCH 2/3] rockchip: rk3399: Add option to print on UART3.

2019-05-07 Thread Christoph Muellner
The RK3399 SPL does not use a pinctrl driver to setup the UART pins. Instead it works based on config macros, which set the base address of the actual UART block. Currently the RK3399 SPL support UART0 and UART2. This patch adds UART3 in the same way as UART0. Signed-off-by: Christoph Muellner

[U-Boot] [PATCH 3/3] rockchip: clk: rk3399: allow requests for all UART clocks

2019-05-07 Thread Christoph Muellner
This patch adds the rate for UART1 and UART3 the same way as already implemented for UART0 and UART2. This is required for boards, which have their console output on these UARTs. Signed-off-by: Christoph Muellner --- drivers/clk/rockchip/clk_rk3399.c | 2 ++ 1 file changed, 2 insertions

[U-Boot] [PATCH 2/2] rk3399: gru: Fix DTS compilation issues.

2019-05-07 Thread Christoph Muellner
A previous commit changed the USB3 node names, which breaks compilation of the gru DTS files. This patch addresses this issue by fixing the referenced node names. Signed-off-by: Christoph Muellner --- arch/arm/dts/rk3399-gru-chromebook.dtsi | 7 +-- arch/arm/dts/rk3399-gru.dtsi

[U-Boot] [PATCH 1/2] rk3399: Restore broken USB3 DTS description.

2019-05-07 Thread Christoph Muellner
ommit USB3 was working fine, after the commit USB3 was broken on all RK3399 boards. This commit reverts the USB3 changes to the original ones, which provide the required information for the corresponding drivers in the U-Boot tree. Signed-off-by: Christoph Muellner --- arch/arm/dts/rk3399

[U-Boot] [PATCH] rockchip: rk3399-puma: Move ENV_OFFSET to end of SPI NOR.

2019-05-07 Thread Christoph Muellner
Puma SoMs have a 4 MB SPI NOR flash. Therefore we can move the environment to the end of the flash (4 MiB - 16 kiB) in order to not overlap with SPL. Reported-by: Jakob Unterwurzacher Signed-off-by: Christoph Muellner --- board/theobroma-systems/puma_rk3399/Kconfig | 2 +- 1 file changed, 1

[U-Boot] [PATCH] rockchip: rk3399-puma: Reduce SPL size.

2019-05-07 Thread Christoph Muellner
This commit reduces the SPL size by fixing typos in the removed property string list, switching to the tiny versions of printf/memset and disabling SPL_DOS/EFI_PARTITION support. Signed-off-by: Christoph Muellner --- configs/puma-rk3399_defconfig | 6 +- 1 file changed, 5 insertions(+), 1

[U-Boot] [PATCH] rockchip: rk3399-puma: Re-disable SPL_ATF_NO_PLATFORM_PARAM

2019-05-07 Thread Christoph Muellner
This reverts commit c869d63f2785ccde22582f96cf40cb8809f838ba. Mainline ATF already supports fdt-parsing, which allows us to pass rk3399-puma specific data to setup things like the correct UART. Therefore we can re-enable platform parameterss again. Signed-off-by: Christoph Muellner

[U-Boot] [PATCH v1] common: command: Add command execution tracer.

2019-04-05 Thread Christoph Muellner
(e.g. BASH has xtrace, which can be enabled by "set -x"). This patch introduces a command tracer for U-Boot, which prints every command with its arguments before it is executed. Signed-off-by: Christoph Muellner --- cmd/Kconfig | 11 +++ common/command.c | 14 +

[U-Boot] [PATCH v1] dm: pinctrl: Remove obsolete function pinctrl_decode_pin_config_dm().

2019-02-12 Thread Christoph Muellner
This reverts commit 5ff776889212c080e3d1a33634ac904405ed6845. As noted in the comment, the function pinctrl_decode_pin_config_dm() only served as a temporary solution. Since the function has no users anymore, we can remove it again. Signed-off-by: Christoph Muellner --- drivers/pinctrl

[U-Boot] [PATCH v4 0/8] rk3399-puma: Enable PWM regulator for RK3399-Q7

2019-01-02 Thread Christoph Muellner
to review feedback. - Fix pinctrl infrastructure instead of hacking board_init() code. Christoph Muellner (8): rockchip: rk3399-puma: Cleanup of vdd_log DTS entry. power: regulator: Allow PWM regulator to be omitted from SPL. rockchip: rk3399-puma: enable PWM regulator in Puma defconfig

[U-Boot] [PATCH v4 8/8] rockchip: rk3399-puma: Set VDD_LOG to 950 mV.

2019-01-02 Thread Christoph Muellner
This patch sets VDD_LOG to 950 mV on RK3399-Q7. This is required to address stability issues on Puma in heavy-load use-cases. Reported-by: Assaf Agmon Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner --- Changes in v4: - Changed patches according to review feedback. Changes

[U-Boot] [PATCH v4 7/8] rockchip: rk3399-puma: enable full pinctrl driver in Puma defconfig.

2019-01-02 Thread Christoph Muellner
This patch enables the full pinctrl driver in the defconfig for the RK3399-Q7. Signed-off-by: Christoph Muellner --- 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

[U-Boot] [PATCH v4 6/8] rockchip: rk3399: Add Kconfig option for full pinctrl driver

2019-01-02 Thread Christoph Muellner
This patch adds a Kconfig option to enable the full pinctrl driver for the RK3399. This flag needs to be enabed in order to get the features of the full pinctrl driver compiled in (i.e. a .set_state() callback). Signed-off-by: Christoph Muellner --- Changes in v4: None Changes in v3: None

[U-Boot] [PATCH v4 4/8] dm: pinctrl: Add pinctrl_decode_pin_config_dm().

2019-01-02 Thread Christoph Muellner
pinctrl_decode_pin_config_dm() is basically a feature-equivalent implementation of pinctrl_decode_pin_config(), which operates on struct udevice devices and uses the dev_read_*() API. Signed-off-by: Christoph Muellner --- Changes in v4: None Changes in v3: None Changes in v2: None drivers

[U-Boot] [PATCH v4 5/8] rockchip: rk3399: Add improved pinctrl driver.

2019-01-02 Thread Christoph Muellner
pinmuxing and pullup/pulldown configuration). This patch has been tested on a RK3399-Q7 SoM (Puma). Signed-off-by: Christoph Muellner --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/pinctrl/rockchip/pinctrl_rk3399.c | 227 ++ 1 file changed, 227

[U-Boot] [PATCH v4 3/8] rockchip: rk3399-puma: enable PWM regulator in Puma defconfig.

2019-01-02 Thread Christoph Muellner
This patch enables the PWM regulator driver in the defconfig for the RK3399-Q7. Signed-off-by: Christoph Muellner --- 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

[U-Boot] [PATCH v4 2/8] power: regulator: Allow PWM regulator to be omitted from SPL.

2019-01-02 Thread Christoph Muellner
This patch allows to enable the PWM regulator driver independent for U-Boot and SPL. Signed-off-by: Christoph Muellner --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/power/regulator/Kconfig | 7 +++ drivers/power/regulator/Makefile | 2 +- 2 files changed, 8

[U-Boot] [PATCH v4 1/8] rockchip: rk3399-puma: Cleanup of vdd_log DTS entry.

2019-01-02 Thread Christoph Muellner
VDD_LOG. Signed-off-by: Christoph Muellner --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/dts/rk3399-puma.dtsi | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi index 9a61fbb453..09f7992f

[U-Boot] [PATCH v3 7/8] rockchip: rk3399-puma: enable full pinctrl driver in Puma defconfig.

2018-12-17 Thread Christoph Muellner
This patch enables the full pinctrl driver in the defconfig for the RK3399-Q7. Signed-off-by: Christoph Muellner --- 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

[U-Boot] [PATCH v3 5/8] rockchip: rk3399: Add improved pinctrl driver.

2018-12-17 Thread Christoph Muellner
pinmuxing and pullup/pulldown configuration). This patch has been tested on a RK3399-Q7 SoM (Puma). Signed-off-by: Christoph Muellner --- Changes in v3: None Changes in v2: None drivers/pinctrl/rockchip/pinctrl_rk3399.c | 226 ++ 1 file changed, 226 insertions(+) diff

[U-Boot] [PATCH v3 4/8] dm: pinctrl: Add pinctrl_decode_pin_config_dm().

2018-12-17 Thread Christoph Muellner
pinctrl_decode_pin_config_dm() is basically a feature-equivalent implementation of pinctrl_decode_pin_config(), which operates on struct udevice devices and uses the dev_read_*() API. Signed-off-by: Christoph Muellner --- Changes in v3: None Changes in v2: None drivers/pinctrl/pinctrl

[U-Boot] [PATCH v3 8/8] rockchip: rk3399-puma: Set VDD_LOG to 950 mV.

2018-12-17 Thread Christoph Muellner
This patch sets VDD_LOG to 950 mV on RK3399-Q7. This is required to address stability issues on Puma in heavy-load use-cases. Reported-by: Assaf Agmon Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner --- Changes in v3: - Fix message verbosity in pinctrl driver. - Changed

[U-Boot] [PATCH v3 6/8] rockchip: rk3399: Add Kconfig option for full pinctrl driver

2018-12-17 Thread Christoph Muellner
This patch adds a Kconfig option to enable the full pinctrl driver for the RK3399. This flag needs to be enabed in order to get the features of the full pinctrl driver compiled in (i.e. a .set_state() callback). Signed-off-by: Christoph Muellner --- Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v3 2/8] power: regulator: Allow PWM regulator to be omitted from SPL.

2018-12-17 Thread Christoph Muellner
This patch allows to enable the PWM regulator driver independent for U-Boot and SPL. Signed-off-by: Christoph Muellner --- Changes in v3: None Changes in v2: None drivers/power/regulator/Kconfig | 7 +++ drivers/power/regulator/Makefile | 2 +- 2 files changed, 8 insertions(+), 1

[U-Boot] [PATCH v3 0/8] rk3399-puma: Enable PWM regulator for RK3399-Q7

2018-12-17 Thread Christoph Muellner
board_init() code. Christoph Muellner (8): rockchip: rk3399-puma: Cleanup of vdd_log DTS entry. power: regulator: Allow PWM regulator to be omitted from SPL. rockchip: rk3399-puma: enable PWM regulator in Puma defconfig. dm: pinctrl: Add pinctrl_decode_pin_config_dm(). rockchip: rk3399: Add

[U-Boot] [PATCH v3 1/8] rockchip: rk3399-puma: Cleanup of vdd_log DTS entry.

2018-12-17 Thread Christoph Muellner
VDD_LOG. Signed-off-by: Christoph Muellner --- Changes in v3: None Changes in v2: None arch/arm/dts/rk3399-puma.dtsi | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi index 9a61fbb453..09f7992f65 100644 --- a

[U-Boot] [PATCH v3 3/8] rockchip: rk3399-puma: enable PWM regulator in Puma defconfig.

2018-12-17 Thread Christoph Muellner
This patch enables the PWM regulator driver in the defconfig for the RK3399-Q7. Signed-off-by: Christoph Muellner --- 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

[U-Boot] [PATCH v2 4/6] dm: pinctrl: Add pinctrl_decode_pin_config_dm().

2018-12-11 Thread Christoph Muellner
pinctrl_decode_pin_config_dm() is basically a feature-equivalent implementation of pinctrl_decode_pin_config(), which operates on struct udevice devices and uses the dev_read_*() API. Signed-off-by: Christoph Muellner --- Changes in v2: None drivers/pinctrl/pinctrl-uclass.c | 15

[U-Boot] [PATCH v2 2/6] power: regulator: Allow PWM regulator to be omitted from SPL.

2018-12-11 Thread Christoph Muellner
This patch allows to enable the PWM regulator driver independent for U-Boot and SPL. Signed-off-by: Christoph Muellner --- Changes in v2: None drivers/power/regulator/Kconfig | 7 +++ drivers/power/regulator/Makefile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 6/6] rockchip: rk3399-puma: Set VDD_LOG to 950 mV.

2018-12-11 Thread Christoph Muellner
This patch sets VDD_LOG to 950 mV on RK3399-Q7. This is required to address stability issues on Puma in heavy-load use-cases. Reported-by: Assaf Agmon Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner --- Changes in v2: - Changed patches according to review feedback. - Fix

[U-Boot] [PATCH v2 3/6] rockchip: rk3399-puma: enable PWM regulator in Puma defconfig.

2018-12-11 Thread Christoph Muellner
This patch enables the PWM regulator driver in the defconfig for the RK3399-Q7. Signed-off-by: Christoph Muellner --- 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

[U-Boot] [PATCH v2 5/6] rockchip: rk3399: Add improved pinctrl driver.

2018-12-11 Thread Christoph Muellner
pinmuxing and pullup/pulldown configuration). This patch has been tested on a RK3399-Q7 SoM (Puma). Signed-off-by: Christoph Muellner --- Changes in v2: None drivers/pinctrl/rockchip/pinctrl_rk3399.c | 189 ++ 1 file changed, 189 insertions(+) diff --git a/drivers

[U-Boot] [PATCH v2 0/6] rk3399-puma: Enable PWM regulator for RK3399-Q7

2018-12-11 Thread Christoph Muellner
to the description in the DTS. Changes in v2: - Changed patches according to review feedback. - Fix pinctrl infrastructure instead of hacking board_init() code. Christoph Muellner (6): rockchip: rk3399-puma: Cleanup of vdd_log DTS entry. power: regulator: Allow PWM regulator to be omitted from

[U-Boot] [PATCH v2 1/6] rockchip: rk3399-puma: Cleanup of vdd_log DTS entry.

2018-12-11 Thread Christoph Muellner
VDD_LOG. Signed-off-by: Christoph Muellner --- Changes in v2: None arch/arm/dts/rk3399-puma.dtsi | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch/arm/dts/rk3399-puma.dtsi index 9a61fbb4536..09f7992f65c 100644 --- a/arch/arm/dts/rk3399-puma

[U-Boot] [PATCH v1] rockchip: rk3399-puma: Remove obsolete DTS node 'vcc5v0_host'.

2018-12-11 Thread Christoph Muellner
not successful probing) regulator vcc5v0_host from the DTS and adds the pinctrl-* setting to usbhub_enable. Signed-off-by: Christoph Muellner --- arch/arm/dts/rk3399-puma.dtsi | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/arch/arm/dts/rk3399-puma.dtsi b/arch

[U-Boot] [PATCH 0/4] rk3399: puma: Enable PWM regulator for Puma.

2018-12-06 Thread Christoph Muellner
This patch series allows to tune VDD_LOG on RK3399-Q7 Puma boards using a PWM adjustable regulator. The effect of the series is, that VDD_LOG will be set to about 950 mV on Puma. This is required to address stability issues on Puma. Christoph Muellner (4): rockchip: rk3399-puma: Cleanup

[U-Boot] [PATCH 1/4] rockchip: rk3399-puma: Cleanup vdd_log node in puma DTSI.

2018-12-06 Thread Christoph Muellner
* Eliminate non-standard entries (rockchip,pwm_id and rockchip,pwm_voltage). * Define target voltage level for vdd-log to 950 mV. Signed-off-by: Christoph Muellner --- arch/arm/dts/rk3399-puma.dtsi | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/dts/rk3399

[U-Boot] [PATCH 4/4] rockchip: puma-rk3399: Enable vdd-log during bootup.

2018-12-06 Thread Christoph Muellner
Signed-off-by: Philipp Tomsich Signed-off-by: Christoph Muellner --- board/theobroma-systems/puma_rk3399/puma-rk3399.c | 43 +++ 1 file changed, 43 insertions(+) diff --git a/board/theobroma-systems/puma_rk3399/puma-rk3399.c b/board/theobroma-systems/puma_rk3399/puma-rk3399.c index 5

[U-Boot] [PATCH 3/4] rockchip: defconfig: puma-rk3399: enable PWM regulator

2018-12-06 Thread Christoph Muellner
Signed-off-by: Christoph Muellner --- configs/puma-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/puma-rk3399_defconfig b/configs/puma-rk3399_defconfig index 8e33e09cee8..d23cf4bc523 100644 --- a/configs/puma-rk3399_defconfig +++ b/configs/puma-rk3399_defconfig

[U-Boot] [PATCH 2/4] power: regulator: Allow PWM regulator to be omitted from SPL.

2018-12-06 Thread Christoph Muellner
This patch allows to enable the PWM regulator driver independent for U-Boot and SPL. Signed-off-by: Christoph Muellner --- drivers/power/regulator/Kconfig | 7 +++ drivers/power/regulator/Makefile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/power/regulator

[U-Boot] [PATCH] cmd: i2c: Fix help output of i2c command.

2018-12-04 Thread Christoph Muellner
channel] - show I2C bus info i2c crc32 chip address[.0, .1, .2] count - compute CRC32 checksum i2c dev [dev] - show or set current I2C bus ... Signed-off-by: Christoph Muellner --- cmd/i2c.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/i2c.c b/cmd/i2c.c index 56df8eb3bca..09c4

[U-Boot] [PATCH v2] rockchip: rk3399: Initialize CPU B clock.

2018-11-30 Thread Christoph Muellner
clk_core_b parent to BPLL instead of LPLL. Kudos to Mark Kettenis for spotting this. Signed-off-by: Christoph Muellner --- arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 22 +-- drivers/clk/rockchip/clk_rk3399.c | 79 ++--- 2 files changed, 88 insertions(+), 13

[U-Boot] [PATCH] rockchip: rk3399: Initialize CPU B clock.

2018-11-19 Thread Christoph Muellner
This patch sets the PLL of CPU cluster B (BPLL) to 600 MHz. This decreases the boot time of Linux 4.19 by about 8%. The 600 MHz are inspired by the 600 MHz used for LPLL initialization (came in with commit 9f636a249c1). Tested on RK3399-Q7 on Haikou base board. Signed-off-by: Christoph Muellner