Просмотр исходного кода

kernel: add gpio-amd-fch module description

Add a module description for the new gpio-amd-fch device driver.

Signed-off-by: Florian Eckert <[email protected]>
Florian Eckert 6 лет назад
Родитель
Сommit
97bc87d81a
1 измененных файлов с 17 добавлено и 0 удалено
  1. 17 0
      package/kernel/linux/modules/other.mk

+ 17 - 0
package/kernel/linux/modules/other.mk

@@ -313,6 +313,23 @@ endef
 $(eval $(call KernelPackage,gpio-it87))
 
 
+define KernelPackage/gpio-amd-fch
+  SUBMENU:=$(OTHER_MENU)
+  DEPENDS:=@GPIO_SUPPORT @TARGET_x86
+  TITLE:=GPIO support for AMD Fusion Controller Hub (G-series SOCs)
+  KCONFIG:=CONFIG_GPIO_AMD_FCH
+  FILES:=$(LINUX_DIR)/drivers/gpio/gpio-amd-fch.ko
+  AUTOLOAD:=$(call AutoLoad,25,gpio-amd-fch,1)
+endef
+
+define KernelPackage/gpio-amd-fch/description
+  This option enables driver for GPIO on AMDs Fusion Controller Hub,
+  as found on G-series SOCs (eg. GX-412TC)
+endef
+
+$(eval $(call KernelPackage,gpio-amd-fch))
+
+
 define KernelPackage/ppdev
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Parallel port support