From: Daniel Golle Date: Tue, 15 Jul 2025 14:56:15 +0000 (+0100) Subject: x86: modules: add packages for Intel LPSS drivers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f780a7229363b4a4f771082692a0f946e9edcacd;p=thirdparty%2Fopenwrt.git 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 --- diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk index f43824571ac..3c848f41989 100644 --- a/target/linux/x86/modules.mk +++ b/target/linux/x86/modules.mk @@ -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