[PATCH v3 0/2] hwmon: max31790: support to config PWM as TACH
From: Delphine CC Chiu
Date: Mon Oct 02 2023 - 23:15:40 EST
Support to config PWM as TACH in MAX31790 driver.
Add binding document for MAX31790 driver.
---
Changelog:
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 (2):
hwmon: max31790: support to config PWM as TACH
dt-bindings: hwmon: add MAX31790
.../bindings/hwmon/maxim,max31790.yaml | 89 +++++++++++++++++++
MAINTAINERS | 6 ++
drivers/hwmon/max31790.c | 83 +++++++++++++++++
3 files changed, 178 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max31790.yaml
--
2.25.1