git: ad1bf74705e4 - main - arm64: rockchip: Add a new rk8xx device

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Mon, 06 Jan 2025 07:40:00 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=ad1bf74705e4bbf116bf9e285088c4dfb31247e2

commit ad1bf74705e4bbf116bf9e285088c4dfb31247e2
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2025-01-02 12:51:09 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2025-01-06 07:37:29 +0000

    arm64: rockchip: Add a new rk8xx device
    
    This device will select the base driver for Rockchip PMIC.
    While here also add a new rk808 device which selects the PMIC used for RK3399
    
    Reviewed by:    andrew
    Differential Revision:  https://reviews.freebsd.org/D48287
---
 sys/arm64/conf/std.rockchip |  2 ++
 sys/conf/files.arm64        | 10 +++++-----
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/sys/arm64/conf/std.rockchip b/sys/arm64/conf/std.rockchip
index d32de4e4fe79..dc4dfadfde39 100644
--- a/sys/arm64/conf/std.rockchip
+++ b/sys/arm64/conf/std.rockchip
@@ -21,7 +21,9 @@ device		rk_i2c			# RockChip I2C controller
 device		fan53555		# Fairchild Semi FAN53555/SYR82x Regulator
 
 # Power management controllers
+device		rk8xx			# RockChip RK8XX base support
 device		rk805			# RockChip RK805 PMIC
+device		rk808			# RockChip RK805 PMIC
 device		rk817			# RockChip RK817 PMIC
 device		syr827			# Silergy SYR827 PMIC
 device		tcs4525			# TCS 4525 PMIC
diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64
index b1f3aefadbe1..ed251b7ae0d7 100644
--- a/sys/conf/files.arm64
+++ b/sys/conf/files.arm64
@@ -720,12 +720,12 @@ arm64/rockchip/rk3568_pciephy.c			optional fdt pci soc_rockchip_rk3568
 arm64/rockchip/rk_i2s.c				optional fdt sound soc_rockchip_rk3328 | fdt sound soc_rockchip_rk3399
 arm64/rockchip/rk_otp.c				optional fdt soc_rockchip_rk3568
 arm64/rockchip/rk_otp_if.m			optional fdt soc_rockchip_rk3568
-dev/iicbus/pmic/rockchip/rk8xx.c		optional fdt rk805 soc_rockchip
-dev/iicbus/pmic/rockchip/rk8xx_clocks.c		optional fdt rk805 soc_rockchip
-dev/iicbus/pmic/rockchip/rk8xx_regulators.c	optional fdt rk805 soc_rockchip
-dev/iicbus/pmic/rockchip/rk8xx_rtc.c		optional fdt rk805 soc_rockchip
+dev/iicbus/pmic/rockchip/rk8xx.c		optional fdt rk8xx soc_rockchip
+dev/iicbus/pmic/rockchip/rk8xx_clocks.c		optional fdt rk8xx soc_rockchip
+dev/iicbus/pmic/rockchip/rk8xx_regulators.c	optional fdt rk8xx soc_rockchip
+dev/iicbus/pmic/rockchip/rk8xx_rtc.c		optional fdt rk8xx soc_rockchip
 dev/iicbus/pmic/rockchip/rk805.c		optional fdt rk805 soc_rockchip_rk3328
-dev/iicbus/pmic/rockchip/rk808.c		optional fdt rk805 soc_rockchip_rk3399
+dev/iicbus/pmic/rockchip/rk808.c		optional fdt rk808 soc_rockchip_rk3399
 dev/iicbus/pmic/rockchip/rk817.c		optional fdt rk817 soc_rockchip_rk3568
 arm64/rockchip/rk_grf.c				optional fdt soc_rockchip
 arm64/rockchip/rk_pinctrl.c			optional fdt rk_pinctrl soc_rockchip