aboutsummaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorAnup Patel <apatel@ventanamicro.com>2023-07-21 13:39:57 +0530
committerAnup Patel <anup@brainfault.org>2023-07-31 14:09:10 +0530
commit8e97275d97bbfb9b990a5e7beafe99bea0e3f538 (patch)
treeda406041af54a250f93a87638961019740a1dd8c /platform
parent14a35b0e0e8ceaeb664c5078d6a1fec9e7193c72 (diff)
downloadopensbi-8e97275d97bbfb9b990a5e7beafe99bea0e3f538.zip
opensbi-8e97275d97bbfb9b990a5e7beafe99bea0e3f538.tar.gz
opensbi-8e97275d97bbfb9b990a5e7beafe99bea0e3f538.tar.bz2
lib: utils/regmap: Add simple FDT based regmap framework
We add a simple FDT based regmap framework which is built on top of generic regmap library. The phandle of FDT regmap DT node is treated as unique regmap ID. The FDT based regmap drivers will be probed on-demand from fdt_regmap_get_by_phandle() and fdt_regmap_get() called by the regmap client drivers. 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/defconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/generic/configs/defconfig b/platform/generic/configs/defconfig
index d8793ea..ad585e3 100644
--- a/platform/generic/configs/defconfig
+++ b/platform/generic/configs/defconfig
@@ -18,7 +18,7 @@ CONFIG_FDT_IRQCHIP=y
CONFIG_FDT_IRQCHIP_APLIC=y
CONFIG_FDT_IRQCHIP_IMSIC=y
CONFIG_FDT_IRQCHIP_PLIC=y
-CONFIG_REGMAP=y
+CONFIG_FDT_REGMAP=y
CONFIG_FDT_RESET=y
CONFIG_FDT_RESET_ATCWDT200=y
CONFIG_FDT_RESET_GPIO=y