2 # Copyright (C) 2006-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 define KernelPackage/cs5535
10 TITLE:=NSC/AMD CS5535 chipset support
12 KCONFIG:=CONFIG_BLK_DEV_CS5535
13 FILES=$(LINUX_DIR)/drivers/ide/cs5535.ko
14 AUTOLOAD:=$(call AutoLoad,30,cs5535,1)
15 $(call AddDepends/ide)
18 define KernelPackage/cs5535/description
19 Kernel module for the NSC/AMD CS5535 companion chip
22 $(eval $(call KernelPackage,cs5535))
25 define KernelPackage/cs5536
26 SUBMENU:=$(BLOCK_MENU)
27 TITLE:=AMD CS5536 chipset support
29 KCONFIG:=CONFIG_BLK_DEV_CS5536
30 FILES=$(LINUX_DIR)/drivers/ide/cs5536.ko
31 AUTOLOAD:=$(call AutoLoad,30,cs5536,1)
32 $(call AddDepends/ide)
35 define KernelPackage/cs5536/description
36 Kernel module for the AMD CS5536 Geode LX companion chip
39 $(eval $(call KernelPackage,cs5536))
42 define KernelPackage/pata-cs5535
43 SUBMENU:=$(BLOCK_MENU)
44 TITLE:=CS5535 PATA support
45 DEPENDS:=@TARGET_x86 @PCI_SUPPORT
46 KCONFIG:=CONFIG_PATA_CS5535
47 FILES=$(LINUX_DIR)/drivers/ata/pata_cs5535.ko
48 AUTOLOAD:=$(call AutoLoad,30,pata_cs5535,1)
49 $(call AddDepends/ata)
52 define KernelPackage/pata-cs5535/description
53 Kernel module for the NSC/AMD CS5535 companion chip
56 $(eval $(call KernelPackage,pata-cs5535))
59 define KernelPackage/pata-cs5536
60 SUBMENU:=$(BLOCK_MENU)
61 TITLE:=CS5536 PATA support
62 DEPENDS:=@TARGET_x86 @PCI_SUPPORT
63 KCONFIG:=CONFIG_PATA_CS5536
64 FILES=$(LINUX_DIR)/drivers/ata/pata_cs5536.ko
65 AUTOLOAD:=$(call AutoLoad,30,pata_cs5536,1)
66 $(call AddDepends/ata)
69 define KernelPackage/pata-cs5536/description
70 Kernel module for the AMD CS5536 Geode LX companion chip
73 $(eval $(call KernelPackage,pata-cs5536))
76 define KernelPackage/cpu-msr
77 SUBMENU:=$(OTHER_MENU)
78 TITLE:=x86 CPU MSR support
80 KCONFIG:=CONFIG_X86_MSR
81 FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.ko
82 AUTOLOAD:=$(call AutoLoad,20,msr)
85 define KernelPackage/cpu-msr/description
86 Kernel module for Model Specific Registers support in x86 CPUs
89 $(eval $(call KernelPackage,cpu-msr))
91 define KernelPackage/gpio-cs5535-new
92 SUBMENU:=$(OTHER_MENU)
93 TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support
94 DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd
95 KCONFIG:=CONFIG_GPIO_CS5535
96 FILES:=$(LINUX_DIR)/drivers/gpio/gpio-cs5535.ko
97 AUTOLOAD:=$(call AutoLoad,50,gpio-cs5535)
100 define KernelPackage/gpio-cs5535-new/description
101 This package contains the new AMD CS5535/CS5536 GPIO driver
104 $(eval $(call KernelPackage,gpio-cs5535-new))
106 define KernelPackage/gpio-nsc
107 SUBMENU:=$(OTHER_MENU)
108 TITLE:=Natsemi GPIO support
110 KCONFIG:=CONFIG_NSC_GPIO
111 FILES:=$(LINUX_DIR)/drivers/char/nsc_gpio.ko
112 AUTOLOAD:=$(call AutoLoad,40,nsc_gpio)
115 define KernelPackage/gpio-nsc/description
116 Kernel module for Natsemi GPIO
119 $(eval $(call KernelPackage,gpio-nsc))
122 define KernelPackage/gpio-pc8736x
123 SUBMENU:=$(OTHER_MENU)
124 TITLE:=PC8736x GPIO support
125 DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
126 KCONFIG:=CONFIG_PC8736x_GPIO
127 FILES:=$(LINUX_DIR)/drivers/char/pc8736x_gpio.ko
128 AUTOLOAD:=$(call AutoLoad,40,pc8736x_gpio)
131 define KernelPackage/gpio-pc8736x/description
132 Kernel module for PC8736x GPIO
135 $(eval $(call KernelPackage,gpio-pc8736x))
138 define KernelPackage/gpio-scx200
139 SUBMENU:=$(OTHER_MENU)
140 TITLE:=Natsemi SCX200 GPIO support
141 DEPENDS:=@TARGET_x86 +kmod-gpio-nsc
142 KCONFIG:=CONFIG_SCx200_GPIO
143 FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.ko
144 AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)
147 define KernelPackage/gpio-scx200/description
148 Kernel module for SCX200 GPIO
151 $(eval $(call KernelPackage,gpio-scx200))
153 define KernelPackage/wdt-geode
154 SUBMENU:=$(OTHER_MENU)
155 TITLE:=Geode/LX Watchdog timer
156 DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
157 KCONFIG:=CONFIG_GEODE_WDT
158 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/geodewdt.ko
159 AUTOLOAD:=$(call AutoLoad,50,geodewdt)
162 define KernelPackage/wdt-geode/description
163 Kernel module for Geode watchdog timer.
166 $(eval $(call KernelPackage,wdt-geode))
169 define KernelPackage/cs5535-clockevt
170 SUBMENU:=$(OTHER_MENU)
171 TITLE:=CS5535/CS5536 high-res timer (MFGPT) events
172 DEPENDS:=@TARGET_x86 +kmod-cs5535-mfgpt
173 KCONFIG:=CONFIG_CS5535_CLOCK_EVENT_SRC
174 FILES:=$(LINUX_DIR)/drivers/clocksource/cs5535-clockevt.ko
175 AUTOLOAD:=$(call AutoLoad,50,cs5535-clockevt)
178 define KernelPackage/cs5535-clockevt/description
179 Kernel module for CS5535/6 high-res clock event source
182 $(eval $(call KernelPackage,cs5535-clockevt))
185 define KernelPackage/cs5535-mfgpt
186 SUBMENU:=$(OTHER_MENU)
187 TITLE:=CS5535/6 Multifunction General Purpose Timer
188 DEPENDS:=@TARGET_x86 +kmod-cs5535-mfd
189 KCONFIG:=CONFIG_CS5535_MFGPT
190 FILES:=$(LINUX_DIR)/drivers/misc/cs5535-mfgpt.ko
191 AUTOLOAD:=$(call AutoLoad,45,cs5535-mfgpt)
194 define KernelPackage/cs5535-mfgpt/description
195 Kernel module for CS5535/6 multifunction general purpose timer.
198 $(eval $(call KernelPackage,cs5535-mfgpt))
201 define KernelPackage/cs5535-mfd
202 SUBMENU:=$(OTHER_MENU)
203 TITLE:=CS5535/6 Multifunction General Purpose Driver
205 KCONFIG:=CONFIG_MFD_CS5535
207 $(LINUX_DIR)/drivers/mfd/mfd-core.ko \
208 $(LINUX_DIR)/drivers/mfd/cs5535-mfd.ko
209 AUTOLOAD:=$(call AutoLoad,44,mfd-core cs5535-mfd)
212 define KernelPackage/cs5535-mfd/description
213 Core driver for CS5535/CS5536 MFD functions.
216 $(eval $(call KernelPackage,cs5535-mfd))
218 define KernelPackage/wdt-sc520
219 SUBMENU:=$(OTHER_MENU)
220 TITLE:=Natsemi SC520 Watchdog support
222 KCONFIG:=CONFIG_SC520_WDT
223 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/sc520_wdt.ko
224 AUTOLOAD:=$(call AutoLoad,50,sc520_wdt)
227 define KernelPackage/wdt-sc520/description
228 Kernel module for SC520 Watchdog
231 $(eval $(call KernelPackage,wdt-sc520))
234 define KernelPackage/wdt-scx200
235 SUBMENU:=$(OTHER_MENU)
236 TITLE:=Natsemi SCX200 Watchdog support
238 KCONFIG:=CONFIG_SCx200_WDT
239 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/scx200_wdt.ko
240 AUTOLOAD:=$(call AutoLoad,50,scx200_wdt)
243 define KernelPackage/wdt-scx200/description
244 Kernel module for SCX200 Watchdog
247 $(eval $(call KernelPackage,wdt-scx200))
249 I2C_SCX200_MODULES:=\
250 CONFIG_SCx200_I2C:drivers/i2c/busses/scx200_i2c
252 define KernelPackage/i2c-scx200
253 $(call i2c_defaults,$(I2C_SCX200_MODULES),59)
254 TITLE:=Geode SCx200 I2C using GPIO pins
255 DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-algo-bit
257 CONFIG_SCx200_I2C_SCL=12 \
258 CONFIG_SCx200_I2C_SDA=13
261 define KernelPackage/i2c-scx200/description
262 Kernel module for I2C using GPIO pins on the Geode SCx200 processors.
265 $(eval $(call KernelPackage,i2c-scx200))
268 I2C_SCX200_ACB_MODULES:=\
269 CONFIG_SCx200_ACB:drivers/i2c/busses/scx200_acb
271 define KernelPackage/i2c-scx200-acb
272 $(call i2c_defaults,$(I2C_SCX200_ACB_MODULES),59)
273 TITLE:=Geode SCx200 ACCESS.bus support
274 DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-algo-bit
277 define KernelPackage/i2c-scx200-acb/description
278 Kernel module for I2C using the ACCESS.bus controllers on the Geode SCx200
279 and SC1100 processors and the CS5535 and CS5536 Geode companion devices.
282 $(eval $(call KernelPackage,i2c-scx200-acb))
285 define KernelPackage/leds-wrap
286 SUBMENU:=$(LEDS_MENU)
287 TITLE:=PCengines WRAP LED support
288 DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
289 KCONFIG:=CONFIG_LEDS_WRAP
290 FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko
291 AUTOLOAD:=$(call AutoLoad,50,leds-wrap)
294 define KernelPackage/leds-wrap/description
295 Kernel module for PCengines WRAP LEDs
298 $(eval $(call KernelPackage,leds-wrap))
301 define KernelPackage/leds-net48xx
302 SUBMENU:=$(LEDS_MENU)
303 TITLE:=Soekris Net48xx LED support
304 DEPENDS:=@TARGET_x86 +kmod-gpio-scx200
305 KCONFIG:=CONFIG_LEDS_NET48XX
306 FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko
307 AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
310 define KernelPackage/leds-net48xx/description
311 Kernel module for Soekris Net48xx LEDs
314 $(eval $(call KernelPackage,leds-net48xx))
316 define KernelPackage/rdc321x-wdt
317 SUBMENU:=$(OTHER_MENU)
318 TITLE:=RDC321x watchdog
319 DEPENDS:=@TARGET_x86_rdc
320 KCONFIG:=CONFIG_RDC321X_WDT
321 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/rdc321x_wdt.ko
322 AUTOLOAD:=$(call AutoLoad,50,rdc321x_wdt)
325 define KernelPackage/rdc321x-wdt/description
326 RDC-321x watchdog driver
329 $(eval $(call KernelPackage,rdc321x-wdt))