mbox series

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

Message ID 20190827113214.13773d45@xhacker.debian (mailing list archive)
Headers show
Series hwmon: a new driver for Synaptics AS370 PVT sensor | expand

Message

Jisheng Zhang Aug. 27, 2019, 3:43 a.m. UTC
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