[PATCH 0/3] regulator: userspace consumer DT support

From: Naresh Solanki
Date: Tue Jun 14 2022 - 13:01:32 EST


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

Naresh Solanki (1):
dt-bindings: regulator: add bindings for userspace-consumer

Patrick Rudolph (1):
regulator: userspace consumer: Add Notification support

.../regulator/userspace-consumer.yaml | 66 ++++++++++++
drivers/regulator/userspace-consumer.c | 100 +++++++++++++++++-
include/linux/regulator/userspace-consumer.h | 1 +
3 files changed, 165 insertions(+), 2 deletions(-)
create mode 100644 Documentation/devicetree/bindings/regulator/userspace-consumer.yaml


base-commit: b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3
prerequisite-patch-id: 0000000000000000000000000000000000000000
--
2.35.3