From 8c78f0dee4371ab3b0422edf08597525c6219512 Mon Sep 17 00:00:00 2001 From: "Johannes Cornelis Draaijer (datdenkikniet)" Date: Thu, 7 Jan 2021 20:40:14 +0100 Subject: hwmon: Add AHT10 Temperature and Humidity Sensor Driver This patch adds a hwmon driver for the AHT10 Temperature and Humidity sensor. It has a maximum sample rate, as the datasheet states that the chip may heat up if it is sampled more than once every two seconds. Has been tested a to work on a raspberrypi0w Signed-off-by: Johannes Cornelis Draaijer (datdenkikniet) Link: https://lore.kernel.org/r/20210107194014.GA88780@desktop [groeck: dropped AHT10_ADDR (unused) and use AHT10_MEAS_SIZE where appropriate; dropped change log] Signed-off-by: Guenter Roeck --- drivers/hwmon/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/hwmon/Makefile') diff --git a/drivers/hwmon/Makefile b/drivers/hwmon/Makefile index 990891a8c89d..51dd97437bfd 100644 --- a/drivers/hwmon/Makefile +++ b/drivers/hwmon/Makefile @@ -44,6 +44,7 @@ obj-$(CONFIG_SENSORS_ADT7411) += adt7411.o obj-$(CONFIG_SENSORS_ADT7462) += adt7462.o obj-$(CONFIG_SENSORS_ADT7470) += adt7470.o obj-$(CONFIG_SENSORS_ADT7475) += adt7475.o +obj-$(CONFIG_SENSORS_AHT10) += aht10.o obj-$(CONFIG_SENSORS_AMD_ENERGY) += amd_energy.o obj-$(CONFIG_SENSORS_APPLESMC) += applesmc.o obj-$(CONFIG_SENSORS_ARM_SCMI) += scmi-hwmon.o -- cgit v1.2.3