| 1 | # |
| 2 | # Copyright (C) 2011 OpenWrt.org |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | |
| 8 | define KernelPackage/fb-ep93xx |
| 9 | SUBMENU:=$(VIDEO_MENU) |
| 10 | TITLE:=EP93xx framebuffer support |
| 11 | DEPENDS:=@TARGET_ep93xx +kmod-fb +kmod-fb-cfb-fillrect \ |
| 12 | +kmod-fb-cfb-copyarea +kmod-fb-cfb-imgblt |
| 13 | KCONFIG:=CONFIG_FB_EP93XX |
| 14 | FILES:=$(LINUX_DIR)/drivers/video/ep93xx-fb.ko |
| 15 | AUTOLOAD:=$(call AutoLoad,51,ep93xx-fb) |
| 16 | endef |
| 17 | |
| 18 | define KernelPackage/fb-ep93xx/description |
| 19 | EP93xx framebuffer support |
| 20 | endef |
| 21 | |
| 22 | $(eval $(call KernelPackage,fb-ep93xx)) |
| 23 | |
| 24 | define KernelPackage/input-keyboard-ep93xx |
| 25 | SUBMENU:=$(OTHER_MENU) |
| 26 | TITLE:=EP93xx Matrix Keypad support |
| 27 | DEPENDS:=@TARGET_ep93xx +(LINUX_3_6||LINUX_3_7):kmod-input-matrixkmap |
| 28 | KCONFIG:= \ |
| 29 | CONFIG_KEYBOARD_EP93XX \ |
| 30 | CONFIG_INPUT_KEYBOARD=y |
| 31 | FILES:=$(LINUX_DIR)/drivers/input/keyboard/ep93xx_keypad.ko |
| 32 | AUTOLOAD:=$(call AutoLoad,62,ep93xx_keypad) |
| 33 | $(call AddDepends/input) |
| 34 | endef |
| 35 | |
| 36 | define KernelPackage/input-keyboard-ep93xx/description |
| 37 | EP93xx Matrix Keypad support |
| 38 | endef |
| 39 | |
| 40 | $(eval $(call KernelPackage,input-keyboard-ep93xx)) |
| 41 | |
| 42 | |
| 43 | define KernelPackage/sound-soc-ep93xx |
| 44 | SUBMENU:=$(SOUND_MENU) |
| 45 | TITLE:=EP93xx SoC sound support |
| 46 | DEPENDS:=@TARGET_ep93xx +kmod-sound-soc-ac97 |
| 47 | KCONFIG:=CONFIG_SND_EP93XX_SOC |
| 48 | FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-ep93xx.ko |
| 49 | AUTOLOAD:=$(call AutoLoad,57,snd-soc-ep93xx) |
| 50 | endef |
| 51 | |
| 52 | define KernelPackage/sound-soc-ep93xx/description |
| 53 | EP93xx SoC sound support |
| 54 | endef |
| 55 | |
| 56 | $(eval $(call KernelPackage,sound-soc-ep93xx)) |
| 57 | |
| 58 | # Must be loaded prior to sound-soc-ac97 because it exports |
| 59 | # soc_ac97_ops |
| 60 | define KernelPackage/sound-soc-ep93xx-ac97 |
| 61 | SUBMENU:=$(SOUND_MENU) |
| 62 | TITLE:=EP93xx SoC AC97 support |
| 63 | DEPENDS:=@TARGET_ep93xx +kmod-sound-soc-ep93xx |
| 64 | KCONFIG:=CONFIG_SND_EP93XX_SOC_AC97 |
| 65 | FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-ep93xx-ac97.ko |
| 66 | AUTOLOAD:=$(call AutoLoad,56,snd-soc-ep93xx-ac97) |
| 67 | endef |
| 68 | |
| 69 | define KernelPackage/sound-soc-ep93xx-ac97/description |
| 70 | EP93xx SoC AC97 support |
| 71 | endef |
| 72 | |
| 73 | $(eval $(call KernelPackage,sound-soc-ep93xx-ac97)) |
| 74 | |
| 75 | define KernelPackage/sound-soc-ep93xx-simone |
| 76 | SUBMENU:=$(SOUND_MENU) |
| 77 | TITLE:=Sim.One EP93xx Soc sound support |
| 78 | DEPENDS:=@TARGET_ep93xx +kmod-sound-soc-ep93xx +kmod-sound-soc-ep93xx-ac97 |
| 79 | KCONFIG:=CONFIG_SND_EP93XX_SOC_SIMONE |
| 80 | FILES:=$(LINUX_DIR)/sound/soc/ep93xx/snd-soc-simone.ko |
| 81 | AUTOLOAD:=$(call AutoLoad,59,snd-soc-ep93xx) |
| 82 | endef |
| 83 | |
| 84 | define KernelPackage/sound-soc-ep93xx-simone/description |
| 85 | SimpleMachines Sim.One sound support |
| 86 | endef |
| 87 | |
| 88 | $(eval $(call KernelPackage,sound-soc-ep93xx-simone)) |
| 89 | |
| 90 | define KernelPackage/touchscreen-ep93xx |
| 91 | SUBMENU:=$(OTHER_MENU) |
| 92 | TITLE:=EP93xx input touchscreen support |
| 93 | DEPENDS:=@TARGET_ep93xx |
| 94 | KCONFIG:=CONFIG_TOUCHSCREEN_EP93XX |
| 95 | FILES:=$(LINUX_DIR)/drivers/input/touchscreen/ep93xx_ts.ko |
| 96 | AUTOLOAD:=$(call AutoLoad,51,ep93xx_ts) |
| 97 | endef |
| 98 | |
| 99 | define KernelPackage/touchscreen-ep93xx/description |
| 100 | EP93xx SoC input touchscreen support |
| 101 | endef |
| 102 | |
| 103 | $(eval $(call KernelPackage,touchscreen-ep93xx)) |
| 104 | |
| 105 | |