in rockchip_usb2phy_clk480m_register() rphy->clk is checked for NULL, but
clk_get() will return an error instead of NULL if the clk isn't found.
Signed-off-by: David Jander
---
drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/phy/rockchi
The RK3576 has a SARADC v2 with 8 channels and 12 bit resolution.
Signed-off-by: David Jander
---
drivers/aiodev/Kconfig | 2 +-
drivers/aiodev/rockchip_saradc.c | 7 +++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/aiodev/Kconfig b/drivers/aiodev/Kconfig
i
This is the version found in the RK3576.
Signed-off-by: David Jander
---
drivers/gpio/gpio-rockchip.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-rockchip.c b/drivers/gpio/gpio-rockchip.c
index 2c13e97b97..db8a045e8b 100644
--- a/drivers/gpio/gpio-rock
RK3399_PLLCON() and RK3588_PLLCON() are identical, but using the RK3399
name in an RK3588 function seems confusing.
Signed-off-by: David Jander
---
drivers/clk/rockchip/clk-pll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/rockchip/clk-pll.c b/drivers/clk/rock
These are needed for the GPIO driver to probe.
Signed-off-by: David Jander
---
arch/arm/dts/rk3576.dtsi | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/dts/rk3576.dtsi b/arch/arm/dts/rk3576.dtsi
index cf7c69b3b5..e4b63784d9 100644
--- a/arch/arm/dts/rk3576.dtsi
+++ b/arch/ar
The MUXGRF macro from the kernel clk driver has an extra field that was
left out of the barebox driver, since it required a dynamically allocated
hashmap that might have been overly complicated to port.
Until now, this wasn't strictly necessary, but for upcoming RK3576 support
this extra parameter