forked from Mirrors/opensbi
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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user