[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220910171945.48088-1-Ibrahim.Tilki@analog.com>
Date: Sat, 10 Sep 2022 20:19:41 +0300
From: Ibrahim Tilki <Ibrahim.Tilki@...log.com>
To: <jdelvare@...e.com>, <linux@...ck-us.net>
CC: Ibrahim Tilki <Ibrahim.Tilki@...log.com>,
<linux-hwmon@...r.kernel.org>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH v9 0/4] hwmon: Add max31760 fan speed controller
changes in v9:
- return -EINVAL when writing fan_enable and pwm_enable
- fix dt-bindings errors
changes in v8:
- use sizeof(*)
- use DEFINE_SIMPLE_DEV_PM_OPS
- remove __maybe_unused
- remove of_match_ptr
- dt-bindings: style fixes
changes in v7:
- make max31760_read_string static
changes in v6:
- update description of hwmon documentation
- add hwmon documentation to index.rst
changes in v5:
- add dt-bindings documentation
- add maintainer
changes in v4:
- use sysfs_emit instead of sprintf
- use kstrtou8 for pwm
- use closest match for pwm1_auto_point_temp_hyst
changes in v3:
- add regmap cache
- remove pwm1_auto_point[1-48]_{temp,temp_hyst} attributes
- add pwm1_auto_point_temp_hyst attribute
changes in v2:
- remove pulse_per_rev variable in tach_to_rpm
- remove temperature max_hyst and crit_hyst
- strict value checking for fan_enable and pwm_enable
- do not clamp pwm value for Look-up table
- add sysfs_attr_init call
- add documentation
Ibrahim Tilki (4):
drivers: hwmon: Add max31760 fan speed controller driver
docs: hwmon: add max31760 documentation
dt-bindings: hwmon: Add bindings for max31760
MAINTAINERS: Add maintainer for hwmon/max31760
.../bindings/hwmon/adi,max31760.yaml | 42 ++
Documentation/hwmon/index.rst | 1 +
Documentation/hwmon/max31760.rst | 77 +++
MAINTAINERS | 9 +
drivers/hwmon/Kconfig | 12 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/max31760.c | 596 ++++++++++++++++++
7 files changed, 738 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/adi,max31760.yaml
create mode 100644 Documentation/hwmon/max31760.rst
create mode 100644 drivers/hwmon/max31760.c
--
2.36.1
Powered by blists - more mailing lists