2021-06-17 03:11:02

by Emil Renner Berthing

[permalink] [raw]
Subject: [PATCH v1 0/2] hwmon: Add StarFive JH7100 temperature sensor

This adds a driver for the temperature sensor on the JH7100, a RISC-V
SoC by StarFive Technology Co. Ltd., and most likely also the upcoming
JH7110 version of the chip.

The SoC is used on the BeagleV Starlight board:
https://github.com/beagleboard/beaglev-starlight

Support for this SoC is not yet upstreamed so feel free to not merge yet
but I'd love some early feedback.

/Emil

Emil Renner Berthing (2):
dt-bindings: hwmon: add starfive,jh7100-temp bindings
hwmon: (sfctemp) Add StarFive JH7100 temperature sensor

.../bindings/hwmon/starfive,jh7100-temp.yaml | 43 +++
drivers/hwmon/Kconfig | 9 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/sfctemp.c | 309 ++++++++++++++++++
4 files changed, 362 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/starfive,jh7100-temp.yaml
create mode 100644 drivers/hwmon/sfctemp.c

--
2.32.0