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

From: Emil Renner Berthing
Date: Wed Jun 16 2021 - 14:16:12 EST

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:

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


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