aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2023-07-21 13:40:03 +0530
committerAnup Patel <anup@brainfault.org>2023-07-31 14:09:13 +0530
commitf21d8f7d59114fdf73a56603ff082ce23797d9e5 (patch)
tree8321503645d9a205e4c91b8b804ea0d4573b69b6 /platform
parent8e97275d97bbfb9b990a5e7beafe99bea0e3f538 (diff)
downloadopensbi-f21d8f7d59114fdf73a56603ff082ce23797d9e5.zip
opensbi-f21d8f7d59114fdf73a56603ff082ce23797d9e5.tar.gz
opensbi-f21d8f7d59114fdf73a56603ff082ce23797d9e5.tar.bz2
lib: utils/regmap: Add simple FDT based syscon regmap driver
Let us add a simple FDT based system regmap driver which follows the device tree bindings already defined in the Linux kernel. Signed-off-by: Anup Patel <apatel@ventanamicro.com> Reviewed-by: Xiang W <wxjstz@126.com>
Diffstat (limited to 'platform')
-rw-r--r--platform/generic/configs/defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/generic/configs/defconfig b/platform/generic/configs/defconfig
index ad585e3..b767290 100644
--- a/platform/generic/configs/defconfig
+++ b/platform/generic/configs/defconfig
@@ -19,6 +19,7 @@ CONFIG_FDT_IRQCHIP_APLIC=y
CONFIG_FDT_IRQCHIP_IMSIC=y
CONFIG_FDT_IRQCHIP_PLIC=y
CONFIG_FDT_REGMAP=y
+CONFIG_FDT_REGMAP_SYSCON=y
CONFIG_FDT_RESET=y
CONFIG_FDT_RESET_ATCWDT200=y
CONFIG_FDT_RESET_GPIO=y