Skip to contentSkip to conversation

regulator: userspace consumer DT support

PATCH New Naresh Solanki 1 participant 1 message Jun 15, 2022

lore
Share & tools
lore
#0 lore raw

v3 cover regulator: userspace consumer DT support

Add devicetree support of the userspace consumer driver.
The supply names for this driver is provided through DT regulator-names & regulator handle can be acquired.
Driver events can be received from sysfs.

Optionally use sysfs notify to catch driver events into userspace application. This enables userspace application to monitor events & 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: 018ab4fabddd94f1c96f3b59e180691b9e88d5d8

Signature · 1 line
2.35.3