Messages in this thread | | | From | Naresh Solanki <> | Subject | [PATCH v2 0/2] regulator: userspace consumer DT support | Date | Wed, 15 Jun 2022 11:07:08 +0200 |
| |
Add devicetree support of the regulator driver userspace-consumer. The supply names for this driver is provided through DT properties so that proper regulator handle can be acquired. Also add support for notification to userspace of regulator events.
This is useful to interact with regulator from userspace. Also use sysfs notify to catch regulator events into userspace application. This enables userspace application to monitor events in regulator & handle them appropriately.
Laxman Dewangan (1): regulator: userspace-consumer: Add devicetree support
Patrick Rudolph (1): regulator: userspace consumer: Add Notification support
drivers/regulator/userspace-consumer.c | 100 ++++++++++++++++++- include/linux/regulator/userspace-consumer.h | 1 + 2 files changed, 99 insertions(+), 2 deletions(-)
base-commit: 018ab4fabddd94f1c96f3b59e180691b9e88d5d8 -- 2.35.3
| |