linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] hwmon: Add support for MPS mp2891 chip
@ 2024-06-26  9:41 Noah Wang
  2024-06-26  9:46 ` [PATCH v5 1/2] dt-bindings: hwmon: Add MPS mp2891 Noah Wang
       [not found] ` <20240626094601.52298-1-noahwang.wang@outlook.com>
  0 siblings, 2 replies; 5+ messages in thread
From: Noah Wang @ 2024-06-26  9:41 UTC (permalink / raw)
  To: robh, krzk+dt, conor+dt, jdelvare, linux
  Cc: corbet, Delphine_CC_Chiu, peteryin.openbmc, javier.carrasco.cruz,
	patrick.rudolph, bhelgaas, lukas, devicetree, linux-kernel,
	linux-hwmon, linux-doc, linux-i2c, Noah Wang

Add mp2891 driver in hwmon and add dt-bindings for it.

v4 -> v5:
    1. remove useless code in mp2891_identify()
    2. add Rob's Acked-by

v3 -> v4:
    1. add mp2891 to Makefile, Kconfig and MAINTAINERS file
       in alpha order
    2. sort include files in alpha order
    3. fix some issue in annotation
    4. remove info variable in mp2891_probe()
    5. add const attribute to mp2891_info variable
    6. add mp2891 in alpha order

v2 -> v3:
    1. change PSC_VOLTAGE_IN, PSC_CURRENT_IN, PSC_TEMPERATURE,
        and PSC_POWER format from linear to direct
    2. add limit register writtings.
    3. fix some coding style issues
    4. move mp2891 dt-bindings to trivial devices

V1 -> V2:
    1. add limit register readings
    2. add status register readings
    3. change PSC_CURRENT_OUT format from linear to direct
    4. add more detailed explanation for special processing
    5. remove useless code
    6. move identify vout_scale, iout_scale function to
        identify() callback
    7. update MP2891 datasheet
    8. add mp2891 dt-bindings

Noah Wang (2):
  dt-bindings: hwmon: Add MPS mp2891
  hwmon: add MP2891 driver

 .../devicetree/bindings/trivial-devices.yaml  |   2 +
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/mp2891.rst                | 179 ++++++
 MAINTAINERS                                   |   7 +
 drivers/hwmon/pmbus/Kconfig                   |   9 +
 drivers/hwmon/pmbus/Makefile                  |   1 +
 drivers/hwmon/pmbus/mp2891.c                  | 600 ++++++++++++++++++
 7 files changed, 799 insertions(+)
 create mode 100644 Documentation/hwmon/mp2891.rst
 create mode 100644 drivers/hwmon/pmbus/mp2891.c

-- 
2.25.1


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

end of thread, other threads:[~2024-06-28 17:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26  9:41 [PATCH v5 0/2] hwmon: Add support for MPS mp2891 chip Noah Wang
2024-06-26  9:46 ` [PATCH v5 1/2] dt-bindings: hwmon: Add MPS mp2891 Noah Wang
2024-06-28 17:25   ` Guenter Roeck
     [not found] ` <20240626094601.52298-1-noahwang.wang@outlook.com>
2024-06-26  9:46   ` [PATCH v5 2/2] hwmon: add MP2891 driver Noah Wang
2024-06-28 17:28     ` 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).