kernel: add kmod-hwmon-tps23861 support

Package the tps23861.ko module, which supports Texas Instruments
TPS23861 PoE+ controller.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
Alexandru Gagniuc 2022-07-19 20:27:49 -05:00 committed by Sander Vanheule
parent c5fbd49d3f
commit b664646db7

View File

@ -519,6 +519,20 @@ endef
$(eval $(call KernelPackage,hwmon-tmp421)) $(eval $(call KernelPackage,hwmon-tmp421))
define KernelPackage/hwmon-tps23861
TITLE:=Texas Instruments TPS23861 PoE PSE
KCONFIG:=CONFIG_SENSORS_TPS23861
FILES:=$(LINUX_DIR)/drivers/hwmon/tps23861.ko
AUTOLOAD:=$(call AutoProbe,tps23861)
$(call AddDepends/hwmon,+kmod-i2c-core)
endef
define KernelPackage/hwmon-tps23861/description
Kernel module for the Texas Instruments TPS23861 802.3at PoE PSE chips.
endef
$(eval $(call KernelPackage,hwmon-tps23861))
define KernelPackage/hwmon-vid define KernelPackage/hwmon-vid
TITLE:=VID/VRM/VRD voltage conversion module. TITLE:=VID/VRM/VRD voltage conversion module.
KCONFIG:=CONFIG_HWMON_VID KCONFIG:=CONFIG_HWMON_VID