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