ipq40xx: generic: enable userspace regulator consumer driver
authorShiji Yang <yangshiji66@qq.com>
Tue, 8 Oct 2024 03:20:47 +0000 (11:20 +0800)
committerRobert Marko <robimarko@gmail.com>
Tue, 8 Oct 2024 17:33:33 +0000 (19:33 +0200)
It can be used to control the power on/off status for the fixed
voltage regulator via sysfs.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
Link: https://github.com/openwrt/openwrt/pull/16476
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/ipq40xx/generic/config-default

index bd9876a0b64f9f17b238efc4ba90e9283dae887e..4999ad36223cb14cda762d99aca93fa1821c0614 100644 (file)
@@ -3,4 +3,5 @@ CONFIG_MTD_UBI_BEB_LIMIT=20
 CONFIG_MTD_UBI_BLOCK=y
 CONFIG_MTD_UBI_NVMEM=y
 CONFIG_MTD_UBI_WL_THRESHOLD=4096
+CONFIG_REGULATOR_USERSPACE_CONSUMER=y
 CONFIG_UBIFS_FS=y