[PATCH v2 0/2] hwmon: a new driver for Synaptics AS370 PVT sensor

From: Jisheng Zhang
Date: Mon Aug 26 2019 - 23:43:37 EST


Add a new driver for Synaptics AS370 PVT sensor. Currently only
temperature is supported.

Jisheng Zhang (2):
hwmon: Add Synaptics AS370 PVT sensor driver
hwmon: (as370-hwmon) Add DT bindings for Synaptics AS370 PVT

Changes since v1
- remove useless <linux/delay.h>
- use GENMASK
- remove useless bit operation
- remove read_pvt()
- use DIV_ROUND_CLOSEST()

.../devicetree/bindings/hwmon/as370.txt | 11 ++
drivers/hwmon/Kconfig | 10 ++
drivers/hwmon/Makefile | 1 +
drivers/hwmon/as370-hwmon.c | 147 ++++++++++++++++++
4 files changed, 169 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/as370.txt
create mode 100644 drivers/hwmon/as370-hwmon.c

--
2.23.0.rc1