kernel/iio: Add dps310 I2C driver

This commit add kernel module support for Infineon DPS310/DPS368/DPS422
digital barometric air pressure and temperature sensor.
Test on custom board based on Mediatek MT7988a.

Signed-off-by: Elwin Huang <s09289728096@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
Elwin Huang 2025-09-20 08:09:54 +00:00
parent d8e4a5ac16
commit aef3288993

View File

@ -317,6 +317,24 @@ endef
$(eval $(call KernelPackage,iio-bmp280-spi))
define KernelPackage/iio-dps310
TITLE:=DPS310/DPS368/DPS422 pressure temperatur sensor
DEPENDS:=+kmod-regmap-i2c
KCONFIG:=CONFIG_DPS310
FILES:=$(LINUX_DIR)/drivers/iio/pressure/dps310.ko
AUTOLOAD:=$(call AutoProbe,dps310)
$(call AddDepends/iio)
endef
define KernelPackage/iio-dps310/description
Kernel module for Infineon DPS310/DPS368/DPS422 pressure and
temperature I2C sensor.
endef
$(eval $(call KernelPackage,iio-dps310))
define KernelPackage/iio-htu21
DEPENDS:=+kmod-i2c-core
TITLE:=HTU21 humidity & temperature sensor