1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
5 GPIO_MENU
:=GPIO support
7 define KernelPackage
/gpio-amd-fch
9 DEPENDS
:=@GPIO_SUPPORT @TARGET_x86
10 TITLE
:=GPIO support for AMD Fusion Controller Hub
(G-series SOCs
)
11 KCONFIG
:=CONFIG_GPIO_AMD_FCH
12 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/gpio-amd-fch.ko
13 AUTOLOAD
:=$(call AutoLoad
,25,gpio-amd-fch
,1)
16 define KernelPackage
/gpio-amd-fch
/description
17 This option enables driver for GPIO on AMDs Fusion Controller Hub
,
18 as found on G-series SOCs
(eg. GX-412TC
)
21 $(eval
$(call KernelPackage
,gpio-amd-fch
))
24 define KernelPackage
/gpio-beeper
26 TITLE
:=GPIO beeper support
27 DEPENDS
:=+kmod-input-core
30 CONFIG_INPUT_GPIO_BEEPER
32 $(LINUX_DIR
)/drivers
/input
/misc
/gpio-beeper.ko
33 AUTOLOAD
:=$(call AutoLoad
,50,gpio-beeper
)
36 define KernelPackage
/gpio-beeper
/description
37 This enables playing beeps through an GPIO-connected buzzer
40 $(eval
$(call KernelPackage
,gpio-beeper
))
43 define KernelPackage
/gpio-cascade
45 TITLE
:=Generic GPIO cascade
46 KCONFIG
:=CONFIG_GPIO_CASCADE
47 DEPENDS
:=@GPIO_SUPPORT
+kmod-mux-core
48 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/gpio-cascade.ko
49 AUTOLOAD
:=$(call AutoLoad
,29,gpio-cascade
,1)
52 define KernelPackage
/gpio-cascade
/description
53 Kernel module for Generic GPIO cascade
56 $(eval
$(call KernelPackage
,gpio-cascade
))
59 define KernelPackage
/gpio-f7188x
61 TITLE
:=Fintek F718xx
/F818xx GPIO Support
62 DEPENDS
:=@GPIO_SUPPORT @TARGET_x86
63 KCONFIG
:=CONFIG_GPIO_F7188X
64 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/gpio-f7188x.ko
65 AUTOLOAD
:=$(call AutoProbe
,gpio-f7188x
)
68 define KernelPackage
/gpio-f7188x
/description
69 Kernel module for the GPIOs found on many Fintek Super-IO chips.
72 $(eval
$(call KernelPackage
,gpio-f7188x
))
75 define KernelPackage
/gpio-it87
77 DEPENDS
:=@GPIO_SUPPORT @TARGET_x86
78 TITLE
:=GPIO support for IT87xx Super I
/O chips
79 KCONFIG
:=CONFIG_GPIO_IT87
80 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/gpio-it87.ko
81 AUTOLOAD
:=$(call AutoLoad
,25,gpio-it87
,1)
84 define KernelPackage
/gpio-it87
/description
85 This driver is tested with ITE IT8728 and IT8732 Super I
/O chips
, and
86 supports the IT8761E
, IT8613
, IT8620E
, and IT8628E Super I
/O chips
as
90 $(eval
$(call KernelPackage
,gpio-it87
))
93 define KernelPackage
/gpio-nxp-74hc164
95 TITLE
:=NXP
74HC164 GPIO expander support
96 KCONFIG
:=CONFIG_GPIO_74X164
97 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/gpio-74x164.ko
98 AUTOLOAD
:=$(call AutoProbe
,gpio-74x164
)
101 define KernelPackage
/gpio-nxp-74hc164
/description
102 Kernel module for NXP
74HC164 GPIO expander
105 $(eval
$(call KernelPackage
,gpio-nxp-74hc164
))
108 define KernelPackage
/gpio-pca953x
109 SUBMENU
:=$(GPIO_MENU
)
110 DEPENDS
:=@GPIO_SUPPORT
+kmod-i2c-core
+kmod-regmap-i2c
111 TITLE
:=PCA95xx
, TCA64xx
, and MAX7310 I
/O ports
112 KCONFIG
:=CONFIG_GPIO_PCA953X
113 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/gpio-pca953x.ko
114 AUTOLOAD
:=$(call AutoLoad
,55,gpio-pca953x
)
117 define KernelPackage
/gpio-pca953x
/description
118 Kernel module for MAX731
{0,2,3,5}, PCA6107
, PCA953
{4-9}, PCA955
{4-7},
119 PCA957
{4,5} and TCA64
{08,16} I2C GPIO expanders
122 $(eval
$(call KernelPackage
,gpio-pca953x
))
125 define KernelPackage
/gpio-pcf857x
126 SUBMENU
:=$(GPIO_MENU
)
127 DEPENDS
:=@GPIO_SUPPORT
+kmod-i2c-core
128 TITLE
:=PCX857x
, PCA967x and MAX732X I2C GPIO expanders
129 KCONFIG
:=CONFIG_GPIO_PCF857X
130 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/gpio-pcf857x.ko
131 AUTOLOAD
:=$(call AutoLoad
,55,gpio-pcf857x
)
134 define KernelPackage
/gpio-pcf857x
/description
135 Kernel module for PCF857x
, PCA
{85,96}7x
, and MAX732
[89] I2C GPIO expanders
138 $(eval
$(call KernelPackage
,gpio-pcf857x
))