On 2024/4/22 14:28, Jonas Karlman wrote:
Add Rockchip Toybrick TB-RK3588X .dtb-file entry in Makefile.
Fixes: 9fdd9a546986 ("board: rockchip: add Rockchip Toybrick TB-RK3588X board")
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: New patch split f
.
Also enable the SPL_DM_SEQ_ALIAS Kconfig option to ensure that the
storage device sequence number matches in both SPL and U-Boot proper.
Fixes: 9fdd9a546986 ("board: rockchip: add Rockchip Toybrick TB-RK3588X board")
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kev
On 2024/4/22 14:28, Jonas Karlman wrote:
Fix CoolPi 4 Model B and CoolPi CM5 EVB .dtb-file entries in Makefile.
Fixes: 3e15dee38d45 ("board: rockchip: Add support for rk3588 based Cool Pi CM5
EVB")
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yan
On 2024/4/22 14:28, Jonas Karlman wrote:
Add the CoolPi 4 Model B and CoolPi CM5 EVB board to the documentation.
Fixes: 3e15dee38d45 ("board: rockchip: Add support for rk3588 based Cool Pi CM5
EVB")
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yan
-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: No change
v2: No change
---
configs/pinetab2-rk3566_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/pinetab2-rk3566_defconfig
b/configs/pinetab2-rk3566_defconfig
index edeb1d89b993..525a002a2
.
Also enable the SPL_DM_SEQ_ALIAS Kconfig option to ensure that the
storage device sequence number matches in both SPL and U-Boot proper.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: New patch, split from rk3588 Update bootph props patch
---
configs/evb
.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: New patch, split from rk356x Update bootph props patch
---
configs/evb-rk3568_defconfig | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs/evb-rk3568_defconfig b/configs/evb
ded bootph
props that automatically is propagated to parent nodes.
Also adjust pinctrl nodes to only be included in boot phases where they
are needed and add any missing pinctrl node needed in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kev
ded bootph
props that automatically is propagated to parent nodes.
Also adjust pinctrl nodes to only be included in boot phases where they
are needed and add any missing pinctrl node needed in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: Split evb-rk3568
Karlman
Reviewed-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: Include binman node in sort (Quentin)
v3: Collect r-b tag
v2: Follow kernel sort order (Quentin)
[1]
https://www.kernel.org/doc/html/latest/devicetree/bindings/dts-coding-style.html#order-of-properties-in-device
On 2024/4/22 14:28, Jonas Karlman wrote:
Imply BOOTSTD_FULL for all RK356x boards to more closely follow RK3588.
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: Collect r-b tag
v2: No change
---
arch/arm/mach-rockchip/Kconfig
On 2024/4/22 14:28, Jonas Karlman wrote:
Imply support for GbE PHY status parsing and configuration when support
for onboard ethernet is enabled.
Signed-off-by: Jonas Karlman
Reviewed-by: Quentin Schulz
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: Collect r
-by: Kever Yang
Thanks,
- Kever
---
v3: Collect r-b tag
v2: No change
---
arch/arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi | 6 --
arch/arm/dts/rk356x-u-boot.dtsi| 5 +
arch/arm/dts/rk3588s-u-boot.dtsi | 1 -
arch/arm/mach-rockchip/Kconfig
On 2024/4/22 14:28, Jonas Karlman wrote:
Sort imply statements under ROCKCHIP_RK3568 and ROCKCHIP_RK3588
alphabetically.
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: Collect r-b tag
v2: No change
---
arch/arm/mach-rockchip
from defconfig to align with other
RK356x boards.
This patch have no intended change in boot behavior.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: No change
v2: No change
---
configs/anbernic-rgxx3-rk3566_defconfig | 2 --
1 file changed, 2 deletions(-)
diff
On 2024/4/22 14:28, Jonas Karlman wrote:
RK3588 boards do not have any pwm-regulator compatible nodes in DT, drop
the superfluous REGULATOR_PWM Kconfig options.
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: Collect r-b tag
v2
as Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: Collect r-b tag
v2: No change
---
configs/pinetab2-rk3566_defconfig | 1 -
configs/rock5b-rk3588_defconfig | 1 -
configs/turing-rk1-rk3588_defconfig | 1 -
3 files changed, 3 deletions(-)
diff --git
match these rates use of
SPI flash may fail.
Fix this by using the highest possible rate that exceeds or is equal to
the requested rate.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: New patch
---
drivers/clk/rockchip/clk_rk3568.c | 32
Anderson
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v3: Collect a-b tag
v2: Collect r-b tag
---
drivers/clk/rockchip/clk_rk3588.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/clk/rockchip/clk_rk3588.c
b/drivers/clk/rockchip/clk_rk3588.c
index 8f33843179b0..4c611a390499
On 2024/4/22 14:28, Jonas Karlman wrote:
The CLK_USB3OTGx_REF clocks is used as reference clock for USB3 block.
Add simple support to get rate of CLK_USB3OTGx_REF clocks to fix
reference clock period configuration.
Signed-off-by: Jonas Karlman
Acked-by: Sean Anderson
Reviewed-by: Kever
Hi Chris,
The ATAGS is used for passing parameter from bootloader to kernel
at first, which has been replaced by DTB now for ARM platform.
And Rockchip using ATAGs for passing parameter like dram memory
size/board uart in different boot process like DRAM init binary/ TPL/SPL
to
Hi Quentin,
On 2024/3/22 17:38, Quentin Schulz wrote:
Hi Kever,
On 2/19/24 10:50, Quentin Schulz wrote:
Hi Kever,
On 2/18/24 02:14, Kever Yang wrote:
Hi Quentin,
On 2024/2/9 21:18, Quentin Schulz wrote:
From: Quentin Schulz
The STM32_RST line is routed to the ATtiny microcontroller
PA0
et to f1ee6710
=> fdt list /chosen
chosen {
u-boot,spl-boot-device = "/spi@ff1d/flash@0";
stdout-path = "serial2:150n8";
u-boot,spl-boot-order = "same-as-spl", "/mmc@fe33", "/mmc@fe32";
};
Signed-off-
Hi Tom,
This is for next;
Please pull the updates for rockchip platform:
- Add board: rk3588 Generic, Cool Pi CM5, Theobroma-Systems RK3588 Jaguar SBC,
Toybrick TB-RK3588X;
rk3588s Cool Pi 4B;
rk3566 Pine64 PineTab2;
- Add saradc v2 support;
- Add PMIC RK806
on a Rock64v2.
Signed-off-by: Ben Wolsieffer
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
* Use #ifdef rather than if(CONFIG_IS_ENABLED(...))
* Add a debug message if boot device is not found
arch/arm/mach-rockchip/board.c | 31
board/rockchip/tinker_rk3288
Hi Jonas,
On 2024/3/14 15:04, Jonas Karlman wrote:
Hi Kever,
On 2024-03-14 07:58, Kever Yang wrote:
On 2024/2/1 06:08, Jonas Karlman wrote:
Add a minimal generic RK3588S/RK3588 board that only have eMMC and SDMMC
enabled. This defconfig can be used to boot from eMMC or SD-card on most
listed in Makefile and
documentation.
Signed-off-by: Jonas Karlman
Since rk356x already have a generic board, rk3588 can also have one.
Reviewed-by: Kever Yang
Thanks,
- Kever
---
This patch depend on the series "rockchip: rk35xx: Sync device tree
with linux v6.8-rc1" [1].
Reviewed-by: Kever Yang
Thanks,
- Kever
---
board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c | 64 ++
1 file changed, 64 insertions(+)
diff --git a/board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c
b/board/anbernic/rgxx3_rk3566/rgxx3-rk3566.c
index 5c57b902d1..099eea60c3 100644
On 2024/2/6 02:58, Chris Morgan wrote:
From: Chris Morgan
Remove unnecessary clock frequency defines from the RGxx3 u-boot dts.
Move the necessary defines to the RGxx3 main dts file.
Signed-off-by: Chris Morgan
Reviewed-by: Kever Yang
Thanks,
- Kever
---
.../arm/dts/rk3566-anbernic
tree is imported from linux maintainer branch v6.9-armsoc/dts64,
commit 1b7e19448f8f ("arm64: dts: rockchip: Add devicetree for Pine64
PineTab2").
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
This patch depend on the series "rockchip: rk35xx: S
On 2024/3/13 23:32, Jonas Karlman wrote:
Hi Kever and Chen-Yu,
On 2024-03-13 15:43, Chen-Yu Tsai wrote:
Hi,
On Wed, Mar 13, 2024 at 6:29 PM Kever Yang wrote:
Hi Chen-Yu,
On 2024/2/12 21:51, Chen-Yu Tsai wrote:
From: Chen-Yu Tsai
Regenerate RK3328 defconfigs after adding imply
s written, 249856 bytes skipped in 14.22s, speed 100542 B/s
Signed-off-by: Jonas Karlman
Reviewed-by: Tianling Shen
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Include SPI flash pinctrl nodes in SPL
- Enable SPI_FLASH_XMC and SPI_FLASH_ZBIT, zb25vq128 was reported on my
R1 Plus
664 bytes skipped in 8.516s, speed 163516 B/s
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Include SPI flash pinctrl nodes in SPL
- Enable SPI_FLASH_XTX
- Collect r-b tag
---
arch/arm/dts/rk3328-rock64-u-boot.
of SPI NOR flash.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- No change
---
arch/arm/dts/rk3328-u-boot.dtsi| 11 +++
arch/arm/mach-rockchip/rk3328/rk3328.c | 1 +
2 files changed, 12 insertions(+)
diff --git a/arch/arm/dts/rk3328-u
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- No change
---
arch/arm/mach-rockchip/spl-boot-order.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/arch/arm/mach-rockchip/spl-boot-order.c
b/arch/arm/mach-rockchip/spl-boot-order.c
index 2c39a215c107..79c856d2a0ac 100644
--- a/arch/arm
On 2024/2/17 08:22, Jonas Karlman wrote:
Sync rk3328 device tree from linux v6.8-rc1.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- No change
---
arch/arm/dts/rk3328-evb.dts | 1 +
arch/arm/dts/rk3328-nanopi-r2s.dts | 3
On 2024/2/17 08:22, Jonas Karlman wrote:
Replace the rockchip,cryptov1-rng compatible with compatibles used in
the linux device tree for RK3288, RK3328 and RK3399 to ease sync of SoC
device tree from linux.
Signed-off-by: Jonas Karlman
Reviewed-by: Heinrich Schuchardt
Reviewed-by: Kever
Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Add missing UART2 pinctrl nodes to soc u-boot.dtsi
- Mark the pinctrl node to be included in U-Boot proper pre-reloc phase
- Add SD-card IO-voltage related nodes to nanopi-r2 u-boot.dtsi
---
arch/arm/dts/rk3328-evb-u-boot.dtsi
fallback to not affect any existing unsynced DT.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- No change
---
drivers/gpio/rk_gpio.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/rk_gpio.c b/drivers/gpio/rk_gpio.c
index
generator.
Also add missing device tree files to MAINTAINERS file.
Signed-off-by: Jonas Karlman
Reviewed-by: Tianling Shen
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Add CMD_GPIO, CMD_REGULATOR, DM_MDIO and PHY_GIGE
- Remove SPL_I2C, SPL_PMIC_RK8XX and REGULATOR_PWM
- Collect r-b tag
is not used.
Add RNG_ROCKCHIP=y and DM_RNG=y options to support the onboard random
generator.
Also add myself as a reviewer for this board.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Add CMD_GPIO, CMD_REGULATOR, DM_MDIO and PHY_GIGE
- Remove SPL_I2C
the onboard random
generator.
Also add missing device tree files to MAINTAINERS file.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Add CMD_GPIO, CMD_REGULATOR, DM_MDIO, PHY_GIGE, DM_REGULATOR_GPIO and
SPL_DM_REGULATOR_GPIO
- Remove SPL_I2C, SPL_PMIC_RK8XX
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Add CMD_GPIO, CMD_POWEROFF, CMD_REGULATOR and PHY_GIGE
- Remove SPL_I2C, SPL_PMIC_RK8XX and REGULATOR_PWM
---
board/rockchip/evb_rk3328/MAINTAINERS | 2 ++
configs/roc-cc-rk3328_defconfig | 15 ++-
doc/board/rockchip
is not used.
Add RNG_ROCKCHIP=y and DM_RNG=y options to support the onboard random
generator.
Also add myself as a reviewer for this board.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Add CMD_GPIO, CMD_REGULATOR, DM_MDIO and PHY_GIGE
- Remove SPL_I2C
REGULATOR_PWM=y, the pwm-regulator compatible is not used.
Also add missing device tree file to MAINTAINERS and add myself as a
reviewer for this board.
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Add CMD_GPIO, CMD_POWEROFF
the
obsolete README file.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Add DM_RESET, CMD_GPIO, CMD_REGULATOR, PHY_GIGE and SYSINFO
- Remove REGULATOR_PWM
---
board/rockchip/evb_rk3328/MAINTAINERS | 2 +
board/rockchip/evb_rk3328/README | 70
On 2024/2/17 08:22, Jonas Karlman wrote:
Change to use a common FIT load order, same-as-spl > SD-card > eMMC on
RK3328 boards. Only EVB and Radxa ROCK Pi E is affected by this change.
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yang
Thanks,
- Kever
Hi Quentin,
This patch build fail in CI:
Building current source for 1 boards (1 thread, 32 jobs per thread)
sandbox: + sandbox64
+drivers/power/pmic/rk8xx.c:141:10: error: implicit truncation from
'int' to a one-bit wide bit-field changes value from 1 to -1
h the migration to DM_USB_GADGET completed the U-Boot specific
change to reorder usb nodes in the soc device tree can be reverted.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
---
v2:
- Drop use of DWC3_GENERIC and revert to use XHCI_DWC3 for USB 3.0 host
for devices using another port with otg/per
used in
Maskrom mode.
Also remove a reference to an undefined ROCKCHIP_RK3229 Kconfig symbol.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Update commit message
---
drivers/usb/gadget/Kconfig | 15 ---
1 file changed, 12 insertions(+), 3
: arm: rockchip: Add Toybrick TB-RK3588X")
Reviewed-by: Weizhao Ouyang
Signed-off-by: Elon Zhang
Reviewed-by: Kever Yang
Thanks,
- Kever
---
Changes since v3:
- unsigned int ret -> int ret of fdtdec_add_reserved_memory()
Changes since v2:
- Sync dts file from upstream linux k
used in
Mask ROM mode. Also remove a reference to the unknown ROCKCHIP_RK3229
symbol.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/usb/gadget/Kconfig | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/drivers/usb/gadget
Hi Jonas,
This patch does not able to apply on next, could you help to take a
look.
And also add document of memory layout in rockchip.rst if possible.
Thanks,
- Kever
On 2024/3/3 03:16, Jonas Karlman wrote:
With the stack and text base used by U-Boot SPL and proper on RK3328
there
-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 117 +++---
1 file changed, 14 insertions(+), 103 deletions(-)
diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
for that last byte and skip any write in
the xfer loop.
This is required for 3-wire SPI mode where PICO/POCI lanes are shorted
on HW level. This incidentally the recommended design for RK806 PMIC for
RK3588 products.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Hi Chen-Yu,
On 2024/2/12 21:51, Chen-Yu Tsai wrote:
From: Chen-Yu Tsai
Regenerate RK3328 defconfigs after adding imply statements.
Signed-off-by: Chen-Yu Tsai
Reviewed-by: Christopher Obbard
Reviewed-by: Dragan Simic
---
configs/evb-rk3328_defconfig | 3 ---
On 2024/3/13 07:36, Jonas Karlman wrote:
Move the call to gpt_capsule_update_setup() from the weak function
rk_board_late_init() into the main board_late_init() function.
Also change to use IS_ENABLED() instead for defined().
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks
On 2024/3/13 07:36, Jonas Karlman wrote:
Update MAINTAINERS files for RK3399 boards to include related device
tree files. Also correct a few filenames.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
v2:
- Use glob pattern where appropriate
---
board/firefly
functions from the ADC subsystem which do not exist when ADC
is not enabled, failing the build.
Therefore, let's encapsulate this logic with a check on the ADC symbol
being selected.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
arch/arm/mach
sure it cannot be built without ADC support.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/button/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/button/Kconfig b/drivers/button/Kconfig
index 097b05f822e..3918b05ae03
in menuconfig when ADC isn't selected.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/adc/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/adc/Kconfig b/drivers/adc/Kconfig
index a01d73846b7..c9cdbe6942d 100644
-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
configs/jaguar-rk3588_defconfig | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/configs/jaguar-rk3588_defconfig b/configs/jaguar-rk3588_defconfig
index f55bfb1c82b..275d70ae008 100644
--- a/configs
Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/adc/rockchip-saradc.c | 102 +-
1 file changed, 101 insertions(+), 1 deletion(-)
diff --git a/drivers/adc/rockchip-saradc.c b/drivers/adc/rockchip-saradc.c
index b5df58fe3eb..10ded1b088f 100644
tin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/power/pmic/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig
index 9b61b18e11f..562c1a3b122 100644
--- a/drivers/
with soc_con[1] than
soc_con[0], and that soc_con0 would actually be located at 4 bytes
before soc_con1, let's just make soc_con0 part of the soc_con array.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
arch/arm/include/asm/arch-rockchip/grf_rk3588.h
Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/adc/rockchip-saradc.c | 22 +-
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/drivers/adc/rockchip-saradc.c b/drivers/adc/rockchip-saradc.c
index 607d10b5b70..b5df58fe3eb
On 2024/3/4 19:30, Quentin Schulz wrote:
From: Quentin Schulz
SARADC v1 and v2 have a different way of starting a channel, therefore
let's abstract this function so that it can be provided from the
udevice.data pointer.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever
On 2024/3/4 19:30, Quentin Schulz wrote:
From: Quentin Schulz
SARADC v1 and v2 have a different way of reading data, therefore let's
abstract this function so that it can be provided from the udevice.data
pointer.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
On 2024/3/4 19:30, Quentin Schulz wrote:
From: Quentin Schulz
The registers are entirely different between SARADC v1 and SARADC v2, so
let's prepare to add another struct for accessing v2 registers by adding
a union.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever
On 2024/3/4 19:30, Quentin Schulz wrote:
From: Quentin Schulz
Reword the help text for the pmic read and pmic write commands to better
match what's expected from the user.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
cmd/pmic.c | 4
rom the DT node name, NLDO and PLDO will have overlapping
indices. Therefore, we need a separate logic from the already-existing
ldo callbacks. Let's reuse as much as possible though.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/
for RK806.
No logic change is expected.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/power/regulator/rk8xx.c | 48 ++---
1 file changed, 36 insertions(+), 12 deletions(-)
diff --git a/drivers/power
-by: William Wu
[reworded commit log]
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/power/regulator/rk8xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/power/regulator/rk8xx.c b/drivers/power/regulator/rk8xx.c
index
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/power/regulator/rk8xx.c | 31 ---
include/power/rk8xx_pmic.h | 2 --
2 files changed, 33 deletions(-)
diff --git a/drivers/power/regulator/rk8xx.c b/drivers/power/regulator/rk8
bss, stack and malloc heap size and addresses to
mitigate these limitations and allow for a larger U-Boot proper size.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
arch/arm/mach-rockchip/rk3588/Kconfig| 7 +--
configs/evb-rk3588_defconfig
) - SPL bss (SPL_BSS_START_ADDR, SPL_BSS_MAX_SIZE)
SPL can safely load U-Boot proper + FDT to [10M, 12M-128K) with this
layout.
Migrate to use common bss, stack and malloc heap size and addresses to
remove this size limitation.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
arch/arm/mach-rockchip/rk3399/Kconfig| 7 +--
configs/eaidk-610-rk3399_defconfig | 10 --
configs/evb-rk3399_defconfig | 10 --
configs/firefly-rk3399_defconfig | 10
Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
arch/arm/mach-rockchip/rk3328/Kconfig | 11 ---
configs/evb-rk3328_defconfig | 17 -
configs/nanopi-r2c-plus-rk3328_defconfig | 15 ---
configs/nanopi-r2c-rk3328_defconfig
Reviewed-by: Kever Yang
Thanks,
- Kever
---
Kconfig | 2 +-
arch/arm/mach-rockchip/rk3308/Kconfig | 7 +--
configs/evb-rk3308_defconfig | 13 -
configs/roc-cc-rk3308_defconfig | 13 -
configs/rock-pi-s-rk3308_defconfig
relocated to top of memory we should be able to
use 2M+ for loading kernel, initrd, scripts etc.
Very good update and also good description here, can we also add the
memory usage
description after update to rockchip.rst?
Reviewed-by: Kever Yang
Thanks,
- Kever
Signed-off-by: Jonas
On 2024/3/2 23:28, Jonas Karlman wrote:
Hi Christopher,
On 2024-03-02 15:34, Christopher Obbard wrote:
Some variants of the ROCK Pi 4 series contain an SPI flash chip, which can
be booted from. This patch enables support in U-Boot for building the
image for the SPI flash, support for booting
A/B/C")
Signed-off-by: Christopher Obbard
Reviewed-by: Kever Yang
Thanks,
- Kever
---
arch/arm/dts/rk3399-rock-pi-4a.dts | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/dts/rk3399-rock-pi-4a.dts
b/arch/arm/dts/rk3399-rock-pi-4a.dts
index 931334aa3d6..d5df8939
On 2024/2/18 02:35, Jonas Karlman wrote:
Switch to use the IO-domain driver to configure IO-domain based on
device tree instead of a setup_iodomain() function.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
This should be runtime tested by someone with a puma
On 2024/2/18 02:35, Jonas Karlman wrote:
Switch to use the IO-domain driver to configure IO-domain based on
device tree instead of a setup_iodomain() function.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
This should be runtime tested by someone with a gru
On 2024/2/18 02:35, Jonas Karlman wrote:
Switch to use the IO-domain driver to configure IO-domain based on
device tree instead of a setup_iodomain() function.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
board/vamrs/rock960_rk3399/Makefile | 6
On 2024/2/18 02:35, Jonas Karlman wrote:
Switch to use the IO-domain driver to configure IO-domain based on
device tree instead of a setup_iodomain() function.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
This should be runtime tested by someone
On 2024/2/18 02:35, Jonas Karlman wrote:
Switch to use the IO-domain driver to configure IO-domain based on
device tree instead of a setup_iodomain() function.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
board/pine64/pinebook-pro-rk3399/Makefile | 1
On 2024/2/18 02:35, Jonas Karlman wrote:
Switch to use the IO-domain driver to configure IO-domain based on
device tree instead of a setup_iodomain() function.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
board/pine64/rockpro64_rk3399/Makefile| 7
that have been configured.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
drivers/misc/rockchip-io-domain.c | 79 +--
1 file changed, 75 insertions(+), 4 deletions(-)
diff --git a/drivers/misc/rockchip-io-domain.c
b/drivers/misc
Hi Jonas,
On 2024/2/19 17:13, Quentin Schulz wrote:
Hi Jonas,
On 2/17/24 19:35, Jonas Karlman wrote:
Move ROCK Pi 4 specific board code from the shared evb_rk3399 target
into its own board target and update related defconfigs to use the new
TARGET_ROCKPI4_RK3399 option.
Also move the call to
Hi Jonas,
On 2024/2/18 02:35, Jonas Karlman wrote:
Move ROCK Pi 4 specific board code from the shared evb_rk3399 target
into its own board target and update related defconfigs to use the new
TARGET_ROCKPI4_RK3399 option.
Also move the call to gpt_capsule_update_setup() from the weak function
, and fixed/gpio regulators now have
basic reference counting support so the original intent of this code is
no longer valid.
Remove the unneeded and unused code that used to enable usb regulators.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
board/firefly/roc-pc
On 2024/2/18 02:35, Jonas Karlman wrote:
Add myself as a reviewer for RK3399 boards that I have and can help with
review and testing of defconfig and device tree changes.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
board/pine64/pinebook-pro-rk3399
On 2024/2/18 02:35, Jonas Karlman wrote:
Add myself as a reviewer for RK3399 boards that I have and can help with
review and testing of defconfig and device tree changes.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
Thanks,
- Kever
---
board/pine64/pinebook-pro-rk3399
Hi Quentin,
On 2024/3/9 01:55, Quentin Schulz wrote:
Hi Kever,
On 3/8/24 11:05, Kever Yang wrote:
Hi Quentin,
On 2024/2/21 18:37, Quentin Schulz wrote:
From: Quentin Schulz
Rockchip SoCs have some jtag/sdmmc autoswitching that simply doesn't
work really well.[00] The Linux kernel disables
Hi Jonas,
On 2024/3/8 18:42, Jonas Karlman wrote:
Hi Kever,
On 2024-03-08 10:22, Kever Yang wrote:
Hi Jonas,
Thanks for your patch.
On 2024/2/27 07:08, Jonas Karlman wrote:
RK3036 is using the USB product id normally used by RK3066B, and RK3328
is using the product id normally used
On 2024/2/21 18:37, Quentin Schulz wrote:
From: Quentin Schulz
The original link returns a custom 404, so let's point to a link that
works today instead.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
board/theobroma-systems
Reviewed-by: Kever Yang
Thanks,
- Kever
---
board/theobroma-systems/ringneck_px30/MAINTAINERS | 1 +
board/theobroma-systems/ringneck_px30/README | 70 +
doc/board/theobroma-systems/index.rst | 1 +
doc/board/theobroma-systems/ringneck_px30.rst | 95
Reviewed-by: Kever Yang
Thanks,
- Kever
---
board/theobroma-systems/puma_rk3399/MAINTAINERS | 1 +
board/theobroma-systems/puma_rk3399/README | 90 +
doc/board/theobroma-systems/index.rst | 1 +
doc/board/theobroma-systems/puma_rk3399.rst | 126
On 2024/2/21 18:37, Quentin Schulz wrote:
From: Quentin Schulz
There are multiple Device Trees in U-Boot git repo for Puma, so let's
make the MAINTAINERS entry match them all.
Cc: Quentin Schulz
Signed-off-by: Quentin Schulz
Reviewed-by: Kever Yang
Thanks,
- Kever
---
board
201 - 300 of 3934 matches
Mail list logo