x86: modules: add packages for Intel LPSS drivers

Add driver packages for Intel Low-Power Subsystem devices which are part
of some Intel chipsets. They are mainly needed to have access to the I2C
bus used for HID devices.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2025-07-15 15:56:15 +01:00
parent cd1c8f9ea2
commit f780a72293

View file

@ -99,6 +99,62 @@ endef
$(eval $(call KernelPackage,ib700-wdt))
define KernelPackage/intel-lpss
SUBMENU:=$(OTHER_MENU)
TITLE:=Intel LPSS common
DEPENDS:=@TARGET_x86
KCONFIG:=CONFIG_INTEL_LPSS
FILES:=$(LINUX_DIR)/drivers/mfd/intel-lpss.ko
HIDDEN:=1
AUTOLOAD:=$(call AutoProbe,intel-lpss)
endef
$(eval $(call KernelPackage,intel-lpss))
define KernelPackage/intel-lpss-acpi
SUBMENU:=$(OTHER_MENU)
TITLE:=Intel LPSS ACPI
DEPENDS:=+kmod-intel-lpss
KCONFIG:=CONFIG_INTEL_LPSS_ACPI
FILES:=$(LINUX_DIR)/drivers/mfd/intel-lpss-acpi.ko
AUTOLOAD:=$(call AutoProbe,intel-lpss-acpi)
endef
define KernelPackage/intel-lpss-acpi/description
Kernel module to support Intel Low Power Subsystem (LPSS) devices such as
I2C, SPI and HS-UART starting from Intel Sunrisepoint (Intel Skylake
PCH) in ACPI mode.
The actual hardware driver (eg. kmod-i2c-designware-platform) is still
needed in addition to this package.
endef
$(eval $(call KernelPackage,intel-lpss-acpi))
define KernelPackage/intel-lpss-pci
SUBMENU:=$(OTHER_MENU)
TITLE:=Intel LPSS PCI
DEPENDS:=+kmod-intel-lpss
KCONFIG:=CONFIG_INTEL_LPSS_PCI
FILES:=$(LINUX_DIR)/drivers/mfd/intel-lpss-pci.ko
AUTOLOAD:=$(call AutoProbe,intel-lpss-pci)
endef
define KernelPackage/intel-lpss-pci/description
Kernel module to support Intel Low Power Subsystem (LPSS) devices such as
I2C, SPI and HS-UART starting from Intel Sunrisepoint (Intel Skylake
PCH) in PCI mode.
The actual hardware driver (eg. kmod-i2c-designware-platform) is still
needed in addition to this package.
endef
$(eval $(call KernelPackage,intel-lpss-pci))
define KernelPackage/it87-wdt
SUBMENU:=$(OTHER_MENU)
TITLE:=ITE IT87 Watchdog Timer