[PATCH v4 0/2] Add JHB100 Fan-Tach support

Changhuang Liang posted 2 patches 3 weeks, 6 days ago
There is a newer version of this series
.../hwmon/starfive,jhb100-fan-tach.yaml       |  93 +++
Documentation/hwmon/index.rst                 |   1 +
Documentation/hwmon/starfive-fan-tach.rst     |  38 ++
MAINTAINERS                                   |   8 +
drivers/hwmon/Kconfig                         |  14 +
drivers/hwmon/Makefile                        |   1 +
drivers/hwmon/starfive-fan-tach.c             | 542 ++++++++++++++++++
7 files changed, 697 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/starfive,jhb100-fan-tach.yaml
create mode 100644 Documentation/hwmon/starfive-fan-tach.rst
create mode 100644 drivers/hwmon/starfive-fan-tach.c
[PATCH v4 0/2] Add JHB100 Fan-Tach support
Posted by Changhuang Liang 3 weeks, 6 days ago
StarFive Fan-Tach controller can support up to 16 fan tach input.
The series has been tested on the EVB1 board.

Change since v3:

PATCH 2:
- writing 0 to INT_EN before touching the STATUS and requesting the IRQ.

v3: https://lore.kernel.org/all/20260824030234.9321-1-changhuang.liang@starfivetech.com/
v2: https://lore.kernel.org/all/20260819091601.41077-1-changhuang.liang@starfivetech.com/
v1: https://lore.kernel.org/all/20260428082337.743546-1-changhuang.liang@starfivetech.com/

Changhuang Liang (2):
  dt-bindings: hwmon: Add starfive,jhb100-fan-tach
  hwmon: (starfive-fan-tach) Add fan tach driver for StarFive JHB100

 .../hwmon/starfive,jhb100-fan-tach.yaml       |  93 +++
 Documentation/hwmon/index.rst                 |   1 +
 Documentation/hwmon/starfive-fan-tach.rst     |  38 ++
 MAINTAINERS                                   |   8 +
 drivers/hwmon/Kconfig                         |  14 +
 drivers/hwmon/Makefile                        |   1 +
 drivers/hwmon/starfive-fan-tach.c             | 542 ++++++++++++++++++
 7 files changed, 697 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/hwmon/starfive,jhb100-fan-tach.yaml
 create mode 100644 Documentation/hwmon/starfive-fan-tach.rst
 create mode 100644 drivers/hwmon/starfive-fan-tach.c

--
2.25.1