linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] extcon: Add extcon-regulator driver
@ 2022-05-05 23:25 Zev Weiss
  2022-05-05 23:25 ` [PATCH v2 1/2] dt-bindings: connector: Add regulator-connector binding Zev Weiss
  2022-05-05 23:25 ` [PATCH v2 2/2] extcon: Add extcon-regulator driver Zev Weiss
  0 siblings, 2 replies; 10+ messages in thread
From: Zev Weiss @ 2022-05-05 23:25 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood, MyungJoo Ham, Chanwoo Choi
  Cc: Zev Weiss, linux-kernel, Greg Kroah-Hartman, openbmc,
	Rob Herring, Krzysztof Kozlowski, devicetree

Hello,

This is a restructured v2 of a series adding support for
regulator-supplied power output connectors.

Changes since v1 [0, 1]:
 - Dropped regulator-external-output DT property [Mark]
 - Moved DT binding to connector/regulator-connector.yaml [Krzysztof]
 - Dropped EXTERNAL_GET type and other regulator-core changes

This driver aims to support hardware where a regulator supplies a
power output connector, such as a power outlet on a DC power
distribution unit (PDU).  (The specific system I'm targeting at the
moment is the Delta AHE-50DC Open19 power shelf [2], for which I'm
working on a port of OpenBMC.)

Patch 1 adds the regulator-connector DT binding, with a single
property specifying the regulator supplying the connector's output
power, and patch 2 adds an extcon driver (extcon-regulator).  The
driver currently doesn't actually do much extcon-wise, because the
AHE-50DC hardware is quite minimal and doesn't really offer much for
it to do, but if other similar devices in the future do have
additional functionality to support (such as a presence-detection
mechanism) the driver can be extended to add that.


Thanks,
Zev

[0] https://lore.kernel.org/openbmc/20220504065041.6718-1-zev@bewilderbeest.net/
[1] https://lore.kernel.org/openbmc/20220504065252.6955-1-zev@bewilderbeest.net/
[2] https://www.open19.org/marketplace/delta-16kw-power-shelf/

Zev Weiss (2):
  dt-bindings: connector: Add regulator-connector binding
  extcon: Add extcon-regulator driver

 .../ABI/testing/sysfs-driver-extcon-regulator |   8 ++
 .../connector/regulator-connector.yaml        |  38 +++++
 MAINTAINERS                                   |   8 ++
 drivers/extcon/Kconfig                        |   8 ++
 drivers/extcon/Makefile                       |   1 +
 drivers/extcon/extcon-regulator.c             | 133 ++++++++++++++++++
 6 files changed, 196 insertions(+)
 create mode 100644 Documentation/ABI/testing/sysfs-driver-extcon-regulator
 create mode 100644 Documentation/devicetree/bindings/connector/regulator-connector.yaml
 create mode 100644 drivers/extcon/extcon-regulator.c

-- 
2.36.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-05-17 18:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05 23:25 [PATCH v2 0/2] extcon: Add extcon-regulator driver Zev Weiss
2022-05-05 23:25 ` [PATCH v2 1/2] dt-bindings: connector: Add regulator-connector binding Zev Weiss
2022-05-17  0:15   ` Rob Herring
2022-05-05 23:25 ` [PATCH v2 2/2] extcon: Add extcon-regulator driver Zev Weiss
2022-05-09 12:24   ` Chanwoo Choi
2022-05-09 15:24     ` Mark Brown
2022-05-17  1:03       ` Zev Weiss
2022-05-17  3:15         ` Chanwoo Choi
2022-05-17 10:07           ` Zev Weiss
2022-05-17 18:15             ` Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).