[PATCH v2 0/4] Add max6639 regulator and devicetree support

From: Marcello Sylvester Bauer
Date: Mon Jan 17 2022 - 05:41:04 EST


these patches add devicetree support for the Maxim MAX6639.
In addition, it includes optional regulator support for the fan-supply and
updates the URL to the datasheet.

Changes in v2:
- dt: Rename polarity to pwm-polarity
- Remove unused platform_data header.
- Remove regulator enable/disable calls in pwm_store due to imbalance of
calls.
- Move to strict per channel dt configuration without defaults.

Marcello Sylvester Bauer (4):
hwmon: (max6639) Update Datasheet URL
hwmon: (max6639) Add regulator support
dt-bindings: hwmon: Add binding for max6639
hwmon: (max6639) Change from pdata to dt configuration

.../bindings/hwmon/maxim,max6639.yaml | 112 +++++++++
Documentation/hwmon/max6639.rst | 2 +-
drivers/hwmon/max6639.c | 235 ++++++++++++++----
include/linux/platform_data/max6639.h | 15 --
4 files changed, 297 insertions(+), 67 deletions(-)
create mode 100644 Documentation/devicetree/bindings/hwmon/maxim,max6639.yaml
delete mode 100644 include/linux/platform_data/max6639.h

--
2.33.1