ppc44x: Remove unmaintained target
[openwrt/openwrt.git] / target / linux / omap24xx / modules.mk
1 #
2 # Copyright (C) 2012 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/sound-soc-omap
9 TITLE:=OMAP SoC sound support
10 KCONFIG:= \
11 CONFIG_SND_OMAP_SOC
12 FILES:=$(LINUX_DIR)/sound/soc/omap/snd-soc-omap.ko
13 AUTOLOAD:=$(call AutoLoad,60,snd-soc-omap)
14 DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-core
15 $(call AddDepends/sound)
16 endef
17
18 $(eval $(call KernelPackage,sound-soc-omap))
19
20
21 define KernelPackage/sound-soc-omap-mcbsp
22 TITLE:=OMAP SoC MCBSP support
23 KCONFIG:= \
24 CONFIG_SND_OMAP_SOC_MCBSP
25 FILES:=$(LINUX_DIR)/sound/soc/omap/snd-soc-omap-mcbsp.ko
26 AUTOLOAD:=$(call AutoLoad,61,snd-soc-omap-mcbsp)
27 DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-omap
28 $(call AddDepends/sound)
29 endef
30
31 $(eval $(call KernelPackage,sound-soc-omap-mcbsp))
32
33
34 define KernelPackage/sound-soc-n810
35 TITLE:=Nokia n810 SoC sound support
36 KCONFIG:= \
37 CONFIG_SND_OMAP_SOC_N810
38 FILES:= \
39 $(LINUX_DIR)/sound/soc/codecs/snd-soc-tlv320aic3x.ko \
40 $(LINUX_DIR)/sound/soc/omap/snd-soc-n810.ko
41 AUTOLOAD:=$(call AutoLoad,65,snd-soc-tlv320aic3x snd-soc-n810)
42 DEPENDS:=@TARGET_omap24xx +kmod-sound-soc-omap +kmod-sound-soc-omap-mcbsp
43 $(call AddDepends/sound)
44 endef
45
46 $(eval $(call KernelPackage,sound-soc-n810))
47
48
49 define KernelPackage/n810bm
50 SUBMENU:=$(OTHER_MENU)
51 TITLE:=Nokia N810 battery management driver
52 DEPENDS:=@TARGET_omap24xx
53 KCONFIG:=CONFIG_N810BM
54 FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.ko
55 AUTOLOAD:=$(call AutoLoad,01,n810bm)
56 endef
57
58 define KernelPackage/n810bm/description
59 Nokia N810 battery management driver.
60 Controls battery power management and battery charging.
61 endef
62
63 $(eval $(call KernelPackage,n810bm))
64
65
66 define KernelPackage/usb-tahvo
67 TITLE:=Support for Tahvo (Nokia n810) USB
68 KCONFIG:= \
69 CONFIG_TAHVO_USB \
70 CONFIG_TAHVO_USB_HOST_BY_DEFAULT=n \
71 CONFIG_USB_OHCI_HCD_OMAP1=y \
72 CONFIG_USB_GADGET_DEBUG_FS=n
73 DEPENDS:=@TARGET_omap24xx
74 FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-tahvo.ko
75 AUTOLOAD:=$(call AutoLoad,45,phy-tahvo)
76 $(call AddDepends/usb)
77 endef
78
79 define KernelPackage/usb-tahvo/description
80 Kernel support for Nokia n810 USB OHCI controller.
81 endef
82
83 $(eval $(call KernelPackage,usb-tahvo))