PHY_ROCKCHIP_INNO_USB2=y and PHY_ROCKCHIP_TYPEC=y to support USB PHY.
Remove SPL_TINY_MEMSET=y to use full memset in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
---
v2: Drop enable of AHCI/SCSI support
v2: Collect r-b tag
---
arch/arm/dts/rk3399-firefly.dts | 17
DM_ETH_PHY=y to support ethernet PHY.
Add PHY_ROCKCHIP_INNO_USB2=y and PHY_ROCKCHIP_TYPEC=y to support USB PHY.
Remove SPL_TINY_MEMSET=y to use full memset in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
---
v2: Collect r-b tag
---
arch/arm/dts/rk3399-leez-p710.dts | 8 +---
configs
and DM_ETH_PHY=y to support ethernet PHY.
Remove SPL_TINY_MEMSET=y to use full memset in SPL.
Remove USE_PREBOOT=y to speed up booting, standard boot will init USB
after faster boot media has been evaluated.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
---
v2: Drop enable of AHCI/SCSI
DM_ETH_PHY=y to support ethernet PHY.
Add PHY_ROCKCHIP_INNO_USB2=y and PHY_ROCKCHIP_TYPEC=y to support USB PHY.
Remove SPL_TINY_MEMSET=y to use full memset in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
---
v2: Collect r-b tag
---
arch/arm/dts/rk3399-orangepi.dts | 12
Remove the obsolete ethernet0 alias now that all board device tree files
have been fully synced with Linux kernel v6.8.
Signed-off-by: Jonas Karlman
---
v2: New patch
---
arch/arm/dts/rk3399-u-boot.dtsi | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch
use full memset in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yang
---
v2: Collect r-b tags
---
arch/arm/dts/rk3399-pinebook-pro.dts | 24 +++-
configs/pinebook-pro-rk3399_defconfig | 6 --
2 files changed, 11 insertions(+), 19
CMD_ROCKUSB=y, CMD_USB_MASS_STORAGE=y and USB_GADGET=y to support
RockUSB and UMS gadget.
Remove SPL_TINY_MEMSET=y to use full memset in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
---
v2: Drop enable of AHCI/SCSI support on ROCK960
v2: Collect r-b tag
---
arch/arm/dts/rk3399
.
Add DM_ETH_PHY=y to support ethernet PHY.
Add PHY_ROCKCHIP_INNO_USB2=y and PHY_ROCKCHIP_TYPEC=y to support USB PHY.
Remove SPL_TINY_MEMSET=y to use full memset in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
---
v2: Drop enable of AHCI/SCSI support
v2: Collect r-b tag
---
arch
=y to support poweroff using cmdline and power on using
the pwr button on the board.
Add PHY_REALTEK=y and DM_ETH_PHY=y to support ethernet PHY.
Remove SPL_TINY_MEMSET=y to use full memset in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yang
---
v2: Collect r-b
configure io-domain voltage.
Add PHY_REALTEK=y and DM_ETH_PHY=y to support ethernet PHY.
Remove SPL_TINY_MEMSET=y to use full memset in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Christopher Obbard
Reviewed-by: Kever Yang
---
v2: Collect r-b tags
---
arch/arm/dts
full memset in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Kever Yang
---
v2: Only enable AHCI/SCSI on M4 variant
v2: Skip enable of PCI on NEO4 variant
v2: Keep SDHCI enabled on R4S variant
v2: Collect r-b tag
---
arch/arm/dts/rk3399-nanopc-t4.dts | 2 +-
arch/arm/dts/rk3399-nanopi-m4
use full memset in SPL.
Signed-off-by: Jonas Karlman
Reviewed-by: Dragan Simic
Reviewed-by: Kever Yang
---
v2: Collect r-b tags
---
arch/arm/dts/rk3399-pinephone-pro-u-boot.dtsi | 12 ++
arch/arm/dts/rk3399-pinephone-pro.dts | 147 ++
configs/pinephone-pro
ned-off-by: Jonas Karlman
---
This has been runtime tested on a Rock64 and NanoPi R2S Plus.
The uart2m1_xfer change help speed up boot by around 100 ms.
---
arch/arm/dts/rk3328-nanopi-r2s-u-boot.dtsi| 2 +-
.../rk3328-orangepi-r1-plus-lts-u-boot.dtsi | 7 ---
.../dts/rk3328-orangepi
The SCLK_USB3OTG_REF clocks is used as reference clock for USB3 block.
Add simple support to get rate of SCLK_USB3OTG_REF clocks to fix
reference clock period configuration.
Signed-off-by: Jonas Karlman
---
This has been runtime tested on a Rock64 and NanoPi R2S Plus.
---
drivers/clk/rockchip
Hi Chris,
On 2024-05-02 21:34, Chris Morgan wrote:
> From: Chris Morgan
>
> Some of the rgxx3 devices do not have a way to recover from a poor
> flash of a bootloader to eMMC. Set the device to always attempt to boot
> from sdmmc0 first which ensures that we can override the boot from
> emmc if
-upstream-v1
Jonas Karlman (16):
rockchip: rk3308: Migrate to OF_UPSTREAM
rockchip: rk3308: Remove redundant device tree files
rockchip: rk3328: Migrate to OF_UPSTREAM
rockchip: rk3328: Remove redundant device tree files
rockchip: rk3399: Migrate to OF_UPSTREAM
rockchip: rk3399: Remove
All RK3308 boards has now been synced to Linux kernel v6.8 DTs and can
migrate to use OF_UPSTREAM.
Migrate all RK3308 boards to use OF_UPSTREAM.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/Makefile | 5 -
arch/arm/mach-rockchip/Kconfig | 1 +
configs/evb-rk3308_defconfig
Remove redundant device tree files now that RK3308 boards have been
migrated to use OF_UPSTREAM.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3308-evb.dts| 230 ---
arch/arm/dts/rk3308-roc-cc.dts | 190 ---
arch/arm/dts/rk3308-rock-pi-s.dts | 314
arch/arm
All RK3328 boards has now been synced to Linux kernel v6.8 DTs and can
migrate to use OF_UPSTREAM.
Migrate all RK3328 boards to use OF_UPSTREAM.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/Makefile | 11 ---
arch/arm/mach-rockchip/Kconfig| 1
Add a -u-boot.dtsi file that gets included by default
for RK356x boards when a board specific u-boot.dtsi file dont exists.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3568-u-boot.dtsi | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 arch/arm/dts/rk3568-u-boot.dtsi
diff --git a
-off-by: Jonas Karlman
---
arch/arm/dts/Makefile| 31
arch/arm/mach-rockchip/Kconfig | 1 +
configs/chromebook_bob_defconfig | 2 +-
configs/chromebook_kevin_defconfig | 2 +-
configs/eaidk-610-rk3399_defconfig
river").
Signed-off-by: Jonas Karlman
---
drivers/phy/rockchip/phy-rockchip-usbdp.c | 39 ---
1 file changed, 34 insertions(+), 5 deletions(-)
diff --git a/drivers/phy/rockchip/phy-rockchip-usbdp.c
b/drivers/phy/rockchip/phy-rockchip-usbdp.c
index baf92529348c..8e5821069757 10
Remove the rockchip_u3phy_uboot_init() function, it has no caller and is
not needed with proper driver model use.
Signed-off-by: Jonas Karlman
---
drivers/phy/rockchip/phy-rockchip-usbdp.c | 24 ---
1 file changed, 24 deletions(-)
diff --git a/drivers/phy/rockchip/phy
Migrate RK356x boards that exists in Linux v6.8 to use OF_UPSTREAM.
Following targets is not migrated to use OF_UPSTREAM:
- anbernic-rgxx3-rk3566: Multi device target
- generic-rk3568: Generic target only meant for U-Boot use
- pinetab2-rk3566: Merged in v6.9-rc1
Signed-off-by: Jonas Karlman
hy0 PHY_TYPE_USB3>
Adopt the usbdp phy driver to work with upstream DT binding targeted for
Linux kernel v6.10.
Signed-off-by: Jonas Karlman
---
drivers/phy/rockchip/phy-rockchip-usbdp.c | 63 ++-
1 file changed, 17 insertions(+), 46 deletions(-)
diff --git a/drivers/phy/r
and maximum-speed prop to cleanup the board
u-boot.dtsi file.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3588-rock-5b-u-boot.dtsi | 106 +---
1 file changed, 2 insertions(+), 104 deletions(-)
diff --git a/arch/arm/dts/rk3588-rock-5b-u-boot.dtsi
b/arch/arm/dts/rk3588-rock
The USB3 related DT nodes in SoC u-boot.dtsi is slightly different from
the final nodes being targeted for Linux kernel v6.10.
Sync USB3 related nodes from Linux maintainer v6.10-rockchip-dts64-1 tag
to prepare for migration of RK3588 to use OF_UPSTREAM.
Signed-off-by: Jonas Karlman
---
arch
Migrate RK3588 boards that exists in Linux v6.8 to use OF_UPSTREAM.
Following targets is not migrated to use OF_UPSTREAM:
- generic-rk3588: Generic target only meant for U-Boot use
- toybrick-rk3588: Merged in v6.9-rc1
Signed-off-by: Jonas Karlman
---
arch/arm/dts/Makefile
Remove redundant device tree files now that RK3328 boards have been
migrated to use OF_UPSTREAM.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3328-evb.dts | 289 ---
arch/arm/dts/rk3328-nanopi-r2c-plus.dts | 33 -
arch/arm/dts/rk3328-nanopi-r2c.dts | 40
Hi Chris,
On 2024-05-04 22:51, Chris Morgan wrote:
> On Sat, May 04, 2024 at 07:43:01PM +0000, Jonas Karlman wrote:
>> Remove redundant device tree files now that RK356x boards have been
>> migrated to use OF_UPSTREAM.
>>
>> Signed-off-by: Jonas Karlman
>> ---
Hi Quentin,
On 2024-05-06 13:07, Quentin Schulz wrote:
> Hi Jonas,
>
> On 5/1/24 6:22 PM, Jonas Karlman wrote:
>> rk3399-nanopi-4.dtsi try to set parent of and set rate to 100 MHz of the
>> SCLK_PCIEPHY_REF clock.
>>
>> The existing enable/disable ops for SCLK_P
Hi,
On 2024-05-09 17:26, Anand Moon wrote:
> Migrate RV1126 boards that exists in Linux v6.8 to use OF_UPSTREAM.
>
> Following targets is not migrated to use OF_UPSTREAM:
At first I got a little bit confused about the "not migrated", but see
now that these are the boards that is migrated.
> - r
Hi Anand,
On 2024-05-09 18:42, Anand Moon wrote:
> Hi Jonas
>
> On Thu, 9 May 2024 at 21:38, Jonas Karlman wrote:
>>
>> Hi,
>>
>> On 2024-05-09 17:26, Anand Moon wrote:
>>> Migrate RV1126 boards that exists in Linux v6.8 to use OF_UPSTREAM.
>&g
rrectly return pin controller "foo" instead of "bar".
Fix this by using an exclusive range check.
Fixes: d0bb00adccb8 ("pinctrl: fix pinctrl_gpio_get_pinctrl_and_offset for
gpio-ranges array")
Signed-off-by: Jonas Karlman
---
drivers/pinctrl/pinctrl-uclass.c | 2 +-
from board u-boot.dtsi.
PX30, RK3066, RK3188, RK356x and RK3588 are the only SoCs that currently
define gpio-ranges props and is affected by this series.
A follow up series adding support for the pinmux status cmd will also
add gpio-ranges props for remaining RK SoCs.
Jonas Karlman (4):
pinctrl
, similar to Linux kernel.
Reset ctrl->nr_pins to 0 so that pin_to_bank() can locate a bank after
the second probe in U-Boot proper.
Signed-off-by: Jonas Karlman
---
The pin_to_bank() helper will also be used in a follow up series adding
support for the pinmux status cmd.
---
.../pinctrl/rockc
Some boards use pinctrl to set a non-gpio pinmux on a pin that is later
requested to be used for gpio output.
Add a request() ops that call pinctrl_gpio_request() when the required
gpio-ranges prop has been defined to signal pinctrl driver to use gpio
pinmux.
Signed-off-by: Jonas Karlman
automatically use gpio pinmux when a gpio is requested.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi | 12
1 file changed, 12 deletions(-)
diff --git a/arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi
b/arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi
index 74755a44eaee
automatically use gpio pinmux when a gpio is requested.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3568-rock-3a-u-boot.dtsi | 12
1 file changed, 12 deletions(-)
diff --git a/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi
b/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi
index 9d18f5d0b364
Hi Alex,
On 2024-05-11 19:44, Alex Bee wrote:
> Hi Jonas,
>
> Am 11.05.24 um 13:28 schrieb Jonas Karlman:
>> This series add gpio request() and pinctrl gpio_request_enable() ops so
>> that a gpio requested pin automatically use gpio pinmux and U-Boot
>> behaves m
Hi Mark,
On 2024-05-11 21:57, Mark Kettenis wrote:
>> Date: Sat, 11 May 2024 20:47:40 +0200
>> From: Jonas Karlman
>
> Hi Jonas & Alex,
>
>> Hi Alex,
>>
>> On 2024-05-11 19:44, Alex Bee wrote:
>>> Hi Jonas,
>>>
>>> Am 11.0
ranges props for RK3288.
This series depends on the "rockchip: Add gpio request() ops and drop
PCIe reset-gpios workaround" [1] series.
[1] https://patchwork.ozlabs.org/cover/1934100/
Jonas Karlman (9):
pinctrl: rockchip: rk3188: Fix support for IOMUX_GPIO_ONLY flag
pinctrl: rockchi
GPIO IOMUX control is located at PMU2_IOC or BUS_IOC offset on RK3588.
Based on Linux commit fdc33eba11c5 ("pinctrl/rockchip: add rk3588
support").
Compared to the Linux commit, this include a fix so that the iomux of
GPIO0_B4-D7 is reported correctly.
Signed-off-by: Jonas Karlman
-
verify_config() of banknum and index to avoid an out of range
access of the pin_banks array, i.e. with gpio6 on rk3066a.
Signed-off-by: Jonas Karlman
---
The pin_to_mux() helper will be used in the get_pin_muxing() ops added
in a later patch to support the pinmux status cmd.
---
.../pinctrl/rockchip
Use syscon_regmap_lookup_by_phandle() to simplify the code.
Signed-off-by: Jonas Karlman
---
.../pinctrl/rockchip/pinctrl-rockchip-core.c | 39 ++-
1 file changed, 12 insertions(+), 27 deletions(-)
diff --git a/drivers/pinctrl/rockchip/pinctrl-rockchip-core.c
b/drivers
Signed-off-by: Jonas Karlman
---
Based on the old Linux commit and TRM it looks like GPIO0_B0-B7 should
also be flagged as IOMUX_GPIO_ONLY.
---
drivers/pinctrl/rockchip/pinctrl-rockchip-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pinctrl/rockchip/pinctrl-rockc
nctrl support").
Signed-off-by: Jonas Karlman
---
drivers/pinctrl/rockchip/pinctrl-rockchip-core.c | 14 ++
1 file changed, 10 insertions(+), 4 deletions(-)
diff --git a/drivers/pinctrl/rockchip/pinctrl-rockchip-core.c
b/drivers/pinctrl/rockchip/pinctrl-rockchip-core.c
index b6
are used meaning the pinctrl
pin offset start at pin 24 for gpio1. Use DIV_ROUND_UP to get the 32 pin
aligned bank num.
Signed-off-by: Jonas Karlman
---
drivers/gpio/rk_gpio.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/drivers/gpio/rk_gpio.c b/drivers
Get pinctrl device from gpio-ranges phandle when the property exists,
fallback to get the first pinctrl device.
Signed-off-by: Jonas Karlman
---
drivers/gpio/rk_gpio.c | 27 +++
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/drivers/gpio/rk_gpio.c b
: gpio
GPIO0_A7 : func-1
GPIO0_B0 : gpio
GPIO0_B1 : func-1
GPIO0_B2 : func-1
GPIO0_B3 : gpio
[...]
The change to use ENOENT for unrouted pins also help hide a "Error -22"
message for unrouted pins using the gpio status -a cmd.
Signed-off-by: Jonas Karlman
---
.../pinctrl/
: Jonas Karlman
---
Cc: Johan Jonker
---
arch/arm/dts/rk3036-u-boot.dtsi | 12
arch/arm/dts/rk3066a-u-boot.dtsi | 3 +--
arch/arm/dts/rk3128-u-boot.dtsi | 16
arch/arm/dts/rk322x-u-boot.dtsi | 16
arch/arm/dts/rk3288-u-boot.dtsi | 33
Hi Alex,
On 2024-05-12 21:49, Alex Bee wrote:
> Am 11.05.24 um 20:47 schrieb Jonas Karlman:
>> Hi Alex,
>>
>> On 2024-05-11 19:44, Alex Bee wrote:
>>> Hi Jonas,
>>>
>>> Am 11.05.24 um 13:28 schrieb Jonas Karlman:
>>>> This series
Hi Mark,
On 2024-05-12 22:41, Mark Kettenis wrote:
>> Date: Sat, 11 May 2024 22:55:18 +0200
>> From: Jonas Karlman
>>
>> Hi Mark,
>>
>> On 2024-05-11 21:57, Mark Kettenis wrote:
>>>> Date: Sat, 11 May 2024 20:47:40 +0200
>>>> Fr
On 2024-05-13 00:34, Alex Bee wrote:
>
> Am 12.05.24 um 23:37 schrieb Jonas Karlman:
>> Hi Alex,
>>
>> On 2024-05-12 21:49, Alex Bee wrote:
>>> Am 11.05.24 um 20:47 schrieb Jonas Karlman:
>>>> Hi Alex,
>>>>
>>>> On 2024-05-11 19
Hi Jiaxun,
On 2024-05-13 20:13, Jiaxun Yang wrote:
> When bootph-all is enabled for a syscon driver, the device
> may leave unprobed when syscon_get_regmap is called by another
> driver.
>
> Perform device_probe in syscon_get_regmap, there is no side
> affect as device_probe will return 0 quickly
Hi Jiaxun,
On 2024-05-15 02:12, Jiaxun Yang wrote:
>
>
> 在2024年5月14日五月 下午3:50,Jonas Karlman写道:
>> Hi Jiaxun,
> [...]
>>> + return ERR_PTR(ret);
>>
>> Please explain in more details what the issue this is trying to solve.
>>
>> T
Hi Tom,
On 2024-05-14 18:42, Tom Rini wrote:>
> git-subtree-dir: dts/upstream
> git-subtree-split: 7e08733c96c84eb323f47e9b248c924e2ac6272a
> ---
> This moves OF_UPSTREAM to be tracking the v6.9 release and is for the
> -next branch. To test these changes yourself locally, either use my
> "WIP/14
Hi Sumit,
On 2024-05-15 10:49, Sumit Garg wrote:
> Hi Jonas,
>
> On Wed, 15 May 2024 at 13:11, Jonas Karlman wrote:
>>
>> Hi Tom,
>>
>> On 2024-05-14 18:42, Tom Rini wrote:>
>>> git-subtree-dir: dts/upstream
>>> git-subtree-split: 7e08733c9
Hi Jiaxun,
On 2024-05-16 13:40, Jiaxun Yang wrote:
> In upstream devicetree, clk_boston is a child of syscon node
> and there is no "regmap" property for clk_boston node.
>
> Try to check parent device first to look for syscon.
>
> Signed-off-by: Jiaxun Yang
> ---
> v2: Move syscon_get_regmap t
Hi Anand,
On 2024-05-16 10:59, Anand Moon wrote:
> Changes help enable CONFIG_DISPLAY_CPUINFO to build with SPL_BUILD for
> SoC RK356x and RK3588.
>
> Cc: Jagan Teki
> Signed-off-by: Anand Moon
> ---
> arch/arm/mach-rockchip/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
Hi Anand,
On 2024-05-16 10:59, Anand Moon wrote:
> Read the reset cause from clock reset unit for RK356x SoC.
>
> Cc: Jagan Teki
> Signed-off-by: Anand Moon
> ---
> arch/arm/mach-rockchip/cpu-info.c | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/mach-rockchip/cpu-info.c
Hi Quentin,
On 2024-05-21 11:53, Quentin Schulz wrote:
> Hi all,
>
> On 5/20/24 6:06 PM, Tom Rini wrote:
>> Hey all,
>>
>> It's release day and here is -rc3. At this point, I think we're firmly
>> on "bug fix and documentation" ground moving forward for changes to
>> v2024.07 and the next branch
On 2024-05-22 16:18, Alex Bee wrote:
> Am 13.05.24 um 01:22 schrieb Jonas Karlman:
>> On 2024-05-13 00:34, Alex Bee wrote:
>>> Am 12.05.24 um 23:37 schrieb Jonas Karlman:
>>>> Hi Alex,
>>>>
>>>> On 2024-05-12 21:49, Alex Bee wrote:
>>&g
On 2024-05-22 20:03, Quentin Schulz wrote:
> Hi Jianfeng Liu,
>
> On 5/22/24 6:58 PM, Jianfeng Liu wrote:
> [...]
>> Note that these commits:
>> - e18e5e8188f2 (arm64: dts: rockchip: add USBDP phys on rk3588)
>> - 6fca4edb93d3 (arm64: dts: rockchip: Add rk3588 GPU node)
>> are not synced to u-boot
Hi Jianfeng,
On 2024-05-27 19:02, Jianfeng Liu wrote:
> Devicetree of ArmSoM Sige7 is merged to kernel v6.10-rc1 with USBDP and
> GPU nodes. So I use update-dts-subtree.sh to pick related commits of
> rk3588s.dtsi, and then pick the commit of ArmSoM Sige7's devicetree.
> I also did run command:
>
Hi Jianfeng,
On 2024-05-27 19:02, Jianfeng Liu wrote:
> ArmSoM Sige7 is a Rockchip RK3588 based SBC (Single Board Computer) by
> ArmSoM.
>
> There are two variants depending on the DRAM size : 8G and 16G.
>
> Specification:
>
> Rockchip Rk3588 SoC
> 4x ARM Cortex-A76, 4x ARM Cortex-A55
use of bootph properties.
Patch 13-16 fixes minor issues observed with newly added boards.
Patch 17 enables options on rk3588-edgeble-neu6 boards to closer match
other RK35xx boards.
Patch 18-19 adds SPI flash and USB OTG support to the rk35xx-generic
boards.
Jonas Karlman (19):
clk: rockchip
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
---
drivers/clk/rockchip/clk_rk3568.c | 4
1 file changed, 4 insertions(+)
diff --git
The REF_CLK_USB3OTGx clocks is used as reference clock for USB3 block.
Add simple support to get rate of REF_CLK_USB3OTGx clocks to fix
reference clock period configuration.
Signed-off-by: Jonas Karlman
---
drivers/clk/rockchip/clk_rk3588.c | 6 ++
1 file changed, 6 insertions(+)
diff
The commit 8c19275fdb13 ("rockchip: Update the default USB Product ID
value") added default product id for all supported Rockchip SoCs.
Remove USB_GADGET_PRODUCT_NUM options that match default value from
RK35xx boards.
Signed-off-by: Jonas Karlman
---
configs/pinetab2-rk3566_defco
boards.
This patch have no intended change in boot behavior.
Signed-off-by: Jonas Karlman
---
configs/anbernic-rgxx3-rk3566_defconfig | 2 --
1 file changed, 2 deletions(-)
diff --git a/configs/anbernic-rgxx3-rk3566_defconfig
b/configs/anbernic-rgxx3-rk3566_defconfig
index c8c9238f96fc
RK3588 boards do not have any pwm-regulator compatible nodes in DT, drop
the superfluous REGULATOR_PWM Kconfig options.
Signed-off-by: Jonas Karlman
---
configs/evb-rk3588_defconfig | 1 -
configs/neu6a-io-rk3588_defconfig| 1 -
configs/neu6b-io-rk3588_defconfig| 1 -
configs
Sort imply statements under ROCKCHIP_RK3568 and ROCKCHIP_RK3588
alphabetically.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/Kconfig | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip
The RK35xx SoCs contain a crypto engine block that can generate random
numbers.
Enable rng node in soc u-boot.dtsi and enable Kconfig options to take
advantage of the random generator.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3566-anbernic-rgxx3-u-boot.dtsi | 6 --
arch/arm/dts
Imply support for GbE PHY status parsing and configuration when support
for onboard ethernet is enabled.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index
Imply BOOTSTD_FULL for all RK356x boards to more closely follow RK3588.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/Kconfig | 1 +
configs/bpi-r2-pro-rk3568_defconfig | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm
Sort nodes and props in RK356x/RK3588 u-boot.dtsi alphabetically, nodes
is sorted by reg addr then by alphabetical order.
This has no intended change beside sorting existing nodes and removing
a duplicated usbdpphy0_grf node.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk356x-u-boot.dtsi
pagated 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
---
arch/arm/dts/rk3566-pinetab2-u-boot.dtsi | 24 +-
arch/arm/dts/rk3566-quartz64-a-u-boot
pagated 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
---
.../arm/dts/rk3588-coolpi-cm5-evb-u-boot.dtsi | 5 ++-
arch/arm/dts/rk3588-generic.dts | 1 +
The SF_DEFAULT_SPEED Kconfig option got lost during merge and this
prevent reading FIT from SPI flash.
Restore the SF_DEFAULT_SPEED option to fix this.
Fixes: 8a94c376f6cb ("rockchip: Use common bss and stack addresses on RK356x")
Signed-off-by: Jonas Karlman
---
config
Add .dtb-file entry to Makefile and enable Kconfig options required to
configure pinctrl in SPL. Also add missing PHY_ROCKCHIP_NANENG_COMBOPHY.
Fixes: 9fdd9a546986 ("board: rockchip: add Rockchip Toybrick TB-RK3588X board")
Signed-off-by: Jonas Karlman
---
arch/arm/dts/Makefile
ned-off-by: Jonas Karlman
---
configs/turing-rk1-rk3588_defconfig | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/configs/turing-rk1-rk3588_defconfig
b/configs/turing-rk1-rk3588_defconfig
index 77aacbc64b6c..e486f0597813 100644
--- a/configs/turing-rk1-rk3588_defconfig
+++
Add the CoolPi 4 Model B and CoolPi CM5 EVB board to the documentation.
Also fix .dtb-file entries in Makefile.
Fixes: 3e15dee38d45 ("board: rockchip: Add support for rk3588 based Cool Pi CM5
EVB")
Signed-off-by: Jonas Karlman
---
arch/arm/dts/Makefile | 4 ++--
doc/boar
readl/writel in serial driver.
Signed-off-by: Jonas Karlman
---
configs/neu6a-io-rk3588_defconfig | 7 ++-
configs/neu6b-io-rk3588_defconfig | 7 ++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/configs/neu6a-io-rk3588_defconfig
b/configs/neu6a-io-rk3588_defconfig
Extend the Generic RK3566/RK3568 target to also include support for SPI
flash, USB OTG, RockUSB and UMS.
Also fix sdmmc alias, include missing pinctrl and add broken-cd prop to
fix use of SD-card in linux.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3568-generic-u-boot.dtsi | 7
Extend the Generic RK3588S/RK3588 target to also include support for USB
OTG, RockUSB and UMS.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3588-generic-u-boot.dtsi | 22 ++
arch/arm/dts/rk3588-generic.dts | 3 ++-
configs/generic-rk3588_defconfig| 17
Hi Chris,
On 2024-03-30 06:05, Chris Morgan wrote:
> From: Chris Morgan
>
> Allow individual boards or SoCs to alter the RAM bank addition logic
> by defining a __weak function that these boards can then override
> if needed. In the event this function fails, fallback to the default
> detection
Hi Chris,
On 2024-03-30 06:05, Chris Morgan wrote:
> From: Chris Morgan
>
> Add SoC specific RAM bank logic for the rk3588 boards. This logic
> works by reading the ATAGS created by the ROCKCHIP_TPL stage and
> applies fixups on those to ensure we aren't stepping on any
> reserved memory address
-boot-rockchip/commits/rk3399-dt-sync-v1
Jonas Karlman (31):
rockchip: rk3399-gru: Fix max SPL size on bob and kevin
rockchip: rk3399-ficus: Enable TPL and use common bss and stack addr
rockchip: rk3399: Sort imply statements alphabetically
rockchip: rk3399: Enable ARMv8 crypto and FIT checksum
limitation.
Signed-off-by: Jonas Karlman
---
configs/chromebook_bob_defconfig | 2 +-
configs/chromebook_kevin_defconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configs/chromebook_bob_defconfig b/configs/chromebook_bob_defconfig
index d0321948697b..58e76f11472c
enabled in a future patch. Also add the missing
DEFAULT_FDT_FILE option.
Signed-off-by: Jonas Karlman
---
configs/ficus-rk3399_defconfig | 14 ++
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git a/configs/ficus-rk3399_defconfig b/configs/ficus-rk3399_defconfig
index
Sort imply statements under ROCKCHIP_RK3399 alphabetically.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/Kconfig | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index
limitation of 224 KiB
Also imply OF_LIVE to help speed up init of U-Boot proper and disable
CONFIG_SPL_RAW_IMAGE_SUPPORT on leez-rk3399 to ensure SPL does not try
to jump to code that failed checksum validation.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/Kconfig | 5
Imply support for GbE PHY status parsing and configuration when support
for onboard ethernet is enabled.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index
The RK3399 SoC contain a crypto engine block that can generate random
numbers.
Imply DM_RNG and RNG_ROCKCHIP Kconfig options to take advantage of the
random generator on all RK3399 boards.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/Kconfig | 2 ++
configs
The TPL and/or SPL control FDT on RK3399 boards does not contain any
node with a compatible that is supported by driver/misc/ drivers.
Remove use of xPL_MISC_DRIVERS options to stop including e.g an unused
efuse driver in TPL and/or SPL.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip
Imply OF_LIBFDT_OVERLAY Kconfig options to add device tree overlay
support on all RK3399 boards.
Signed-off-by: Jonas Karlman
---
arch/arm/mach-rockchip/Kconfig| 1 +
configs/rock-4c-plus-rk3399_defconfig | 1 -
configs/rock-4se-rk3399_defconfig | 1 -
configs/rock-pi-4
ot source id is cached and "same-as-spl" can be resolved into the SPI
flash node.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3399-eaidk-610-u-boot.dtsi | 1 -
arch/arm/dts/rk3399-evb-u-boot.dtsi| 1 -
arch/arm/dts/rk3399-ficus-u-boot.dtsi | 6 -
Sync rk3399-cru.h with one from linux v6.2+ and fix use of the
SCLK_DDRCLK name that was only used by U-Boot.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3399-u-boot.dtsi| 2 +-
drivers/clk/rockchip/clk_rk3399.c | 2 +-
include/dt-bindings/clock/rk3399-cru.h | 30
.
Signed-off-by: Jonas Karlman
---
drivers/clk/rockchip/clk_rk3399.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/clk/rockchip/clk_rk3399.c
b/drivers/clk/rockchip/clk_rk3399.c
index f0ce54067f8c..5934771b4096 100644
--- a/drivers/clk/rockchip/clk_rk3399.c
+++ b/drivers/clk/rockchip
701 - 800 of 1341 matches
Mail list logo