[PATCH 0/2] soc: rockchip: add driver for rockchip io domains
Michael Riesch
michael.riesch at wolfvision.net
Mon Sep 5 07:52:12 PDT 2022
Hi all,
The IO domains on Rockchip SoCs need to be configured to the correct
bank voltage. In Linux this is achieved by means of a platform driver
that reads the voltage value of the supplies and configures the bits
in the general register file (GRF) accordingly.
This series ports this driver to barebox to provide support for the
Rockchip RK356x SoCs. Please note that I could only test the changes
on RK3568 boards, so I left out the parts for the other SoCs supported
by the Linux driver. Also, it should be noted that the Linux driver
uses notifiers to react to voltage changes. This is not supported by
this barebox driver.
WARNING: Use those patches with care as they have the potential to
fry up your board. That said, testers are very welcome ;-)
Looking forward to your comments!
Best regards,
Michael
Michael Riesch (2):
soc: rockchip: add driver for rockchip io domains
arm: rockchip: radxa-rock3: remove io domain configuration
arch/arm/boards/radxa-rock3/lowlevel.c | 6 -
drivers/soc/Kconfig | 1 +
drivers/soc/Makefile | 1 +
drivers/soc/rockchip/Kconfig | 17 ++
drivers/soc/rockchip/Makefile | 6 +
drivers/soc/rockchip/io-domain.c | 223 +++++++++++++++++++++++++
6 files changed, 248 insertions(+), 6 deletions(-)
create mode 100644 drivers/soc/rockchip/Kconfig
create mode 100644 drivers/soc/rockchip/Makefile
create mode 100644 drivers/soc/rockchip/io-domain.c
--
2.30.2
More information about the barebox
mailing list