linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] hwmon: add initial NXP MC34VR500 PMIC monitoring support
@ 2023-01-18 12:30 Mario Kicherer
  2023-01-18 12:30 ` [PATCH v4 1/3] dt-bindings: hwmon: add nxp,mc34vr500 Mario Kicherer
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Mario Kicherer @ 2023-01-18 12:30 UTC (permalink / raw)
  To: linux-hwmon
  Cc: jdelvare, linux, robh+dt, krzysztof.kozlowski+dt, corbet,
	linux-doc, devicetree, Mario Kicherer

Add initial monitoring support for the MC34VR500 PMIC. In its current
state, input voltage and temperature alarms are reported to hwmon.

Changes since v3:
 - added specific #includes
 - use INTSENSE0 instead of INTSTAT0 register to query alarm status
 - abort probe if hwmon_device_register fails
 - fixed interrupt clear and unmask
 - added device tree match id
 - removed client from struct mc34vr500_data
 - fixed commit messages
 - fixed filename and node name in dtbinding

Changes since v2:
 - split documentation and dt-bindings patch

Changes since v1:
 - included required #defines directly in the C file
 - removed separate header file
 - removed #defines for unimplemented sensors
 - removed error log output
 - use hwmon_device_register_with_info API
 - cleaned probe function


Mario Kicherer (3):
  dt-bindings: hwmon: add nxp,mc34vr500
  docs: hwmon: add docs for the NXP MC34VR500 PMIC
  hwmon: add initial NXP MC34VR500 PMIC monitoring support

 .../bindings/hwmon/nxp,mc34vr500.yaml         |  36 +++
 Documentation/hwmon/mc34vr500.rst             |  30 ++
 drivers/hwmon/Kconfig                         |   7 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/mc34vr500.c                     | 262 ++++++++++++++++++
 5 files changed, 336 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/nxp,mc34vr500.yaml
 create mode 100644 Documentation/hwmon/mc34vr500.rst
 create mode 100644 drivers/hwmon/mc34vr500.c

-- 
2.34.1


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

end of thread, other threads:[~2023-01-24 14:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-18 12:30 [PATCH v4 0/3] hwmon: add initial NXP MC34VR500 PMIC monitoring support Mario Kicherer
2023-01-18 12:30 ` [PATCH v4 1/3] dt-bindings: hwmon: add nxp,mc34vr500 Mario Kicherer
2023-01-19 11:42   ` Krzysztof Kozlowski
2023-01-24 13:56   ` Guenter Roeck
2023-01-18 12:30 ` [PATCH v4 2/3] docs: hwmon: add docs for the NXP MC34VR500 PMIC Mario Kicherer
2023-01-24 13:59   ` Guenter Roeck
2023-01-18 12:30 ` [PATCH v4 3/3] hwmon: add initial NXP MC34VR500 PMIC monitoring support Mario Kicherer
2023-01-24 14:00   ` Guenter Roeck

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).