mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Naresh Solanki <naresh.solanki@9elements.com>
To: Patrick Rudolph <patrick.rudolph@9elements.com>,
	linux-kernel@vger.kernel.org
Cc: Naresh Solanki <Naresh.Solanki@9elements.com>
Subject: [PATCH 0/3] regulator: userspace consumer DT support
Date: Tue, 14 Jun 2022 18:58:57 +0200	[thread overview]
Message-ID: <20220614165901.1084639-1-Naresh.Solanki@9elements.com> (raw)

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


                 reply	other threads:[~2022-06-14 17:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220614165901.1084639-1-Naresh.Solanki@9elements.com \
    --to=naresh.solanki@9elements.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patrick.rudolph@9elements.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®