[PATCH linux dev-6.5 v4 0/3] hwmon: max31790: support to config PWM as TACH

Delphine CC Chiu Delphine_CC_Chiu at wiwynn.com
Thu Nov 2 14:38:59 AEDT 2023


Support to config PWM as TACH in MAX31790 driver.
Add binding document for MAX31790 driver.
Add fanN_enable for all fans

---
Changelog:
v4 - Add fanN_enable for all fans.
v3 - Use 'sensor-type' in 'channel' node to config pwm as tach.
   - Changed the status in MAINTAINERS to 'Maintained'.
v2 - Remove unnecessary parentheses.
   - Add more error handling.
   - Change the type of "pwm-as-tach" from u8 to u32 to match binding
     document.
   - Add dt-bindings for the MAXIM MAX31790.
v1 - Support to config PWM as TACH

Delphine CC Chiu (3):
  hwmon: max31790: support to config PWM as TACH
  dt-bindings: hwmon: add MAX31790
  hwmon: max31790: add fanN_enable for all fans

 .../bindings/hwmon/maxim,max31790.yaml        |  89 +++++++++++
 Documentation/hwmon/max31790.rst              |   2 +-
 MAINTAINERS                                   |   6 +
 drivers/hwmon/max31790.c                      | 140 ++++++++++++++----
 4 files changed, 210 insertions(+), 27 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml

-- 
2.25.1



More information about the openbmc mailing list