modules.mk 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. #
  2. # Copyright (C) 2012-2016 OpenWrt.org
  3. # Copyright (C) 2017 LEDE project
  4. #
  5. # This is free software, licensed under the GNU General Public License v2.
  6. # See /LICENSE for more information.
  7. #
  8. define KernelPackage/sound-arm-bcm2835
  9. TITLE:=BCM2835 ALSA driver
  10. KCONFIG:= \
  11. CONFIG_SND_ARM=y \
  12. CONFIG_SND_BCM2835 \
  13. CONFIG_SND_ARMAACI=n
  14. FILES:= \
  15. $(LINUX_DIR)/sound/arm/snd-bcm2835.ko
  16. AUTOLOAD:=$(call AutoLoad,68,snd-bcm2835)
  17. DEPENDS:=@TARGET_brcm2708
  18. $(call AddDepends/sound)
  19. endef
  20. define KernelPackage/sound-arm-bcm2835/description
  21. This package contains the BCM2835 ALSA pcm card driver
  22. endef
  23. $(eval $(call KernelPackage,sound-arm-bcm2835))
  24. define KernelPackage/sound-soc-bcm2835-i2s
  25. TITLE:=SoC Audio support for the Broadcom 2835 I2S module
  26. KCONFIG:= \
  27. CONFIG_SND_BCM2835_SOC_I2S \
  28. CONFIG_SND_SOC_DMAENGINE_PCM=y \
  29. CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y
  30. FILES:= \
  31. $(LINUX_DIR)/sound/soc/bcm/snd-soc-bcm2835-i2s.ko
  32. AUTOLOAD:=$(call AutoLoad,68,snd-soc-bcm2835-i2s)
  33. DEPENDS:=@TARGET_brcm2708 +kmod-regmap +kmod-sound-soc-core
  34. $(call AddDepends/sound)
  35. endef
  36. define KernelPackage/sound-soc-bcm2835-i2s/description
  37. This package contains support for codecs attached to the Broadcom 2835 I2S interface
  38. endef
  39. $(eval $(call KernelPackage,sound-soc-bcm2835-i2s))
  40. define KernelPackage/sound-soc-adau1977-adc
  41. TITLE:=Support for ADAU1977 ADC
  42. KCONFIG:= \
  43. CONFIG_SND_BCM2708_SOC_ADAU1977_ADC \
  44. CONFIG_SND_SOC_ADAU1977 \
  45. CONFIG_SND_SOC_ADAU1977_I2C
  46. FILES:= \
  47. $(LINUX_DIR)/sound/soc/bcm/snd-soc-adau1977-adc.ko \
  48. $(LINUX_DIR)/sound/soc/codecs/snd-soc-adau1977.ko \
  49. $(LINUX_DIR)/sound/soc/codecs/snd-soc-adau1977-i2c.ko
  50. AUTOLOAD:=$(call AutoLoad,68,snd-soc-adau1977 snd-soc-adau1977-i2c \
  51. snd-soc-adau1977-adc)
  52. DEPENDS:= \
  53. kmod-sound-soc-bcm2835-i2s \
  54. +kmod-i2c-bcm2708
  55. $(call AddDepends/sound)
  56. endef
  57. define KernelPackage/sound-soc-adau1977-adc/description
  58. This package contains support for ADAU1977 ADC
  59. endef
  60. $(eval $(call KernelPackage,sound-soc-adau1977-adc))
  61. define KernelPackage/sound-soc-allo-piano-dac
  62. TITLE:=Support for Allo Piano DAC
  63. KCONFIG:= \
  64. CONFIG_SND_BCM2708_SOC_ALLO_PIANO_DAC \
  65. CONFIG_SND_SOC_PCM512x \
  66. CONFIG_SND_SOC_PCM512x_I2C
  67. FILES:= \
  68. $(LINUX_DIR)/sound/soc/bcm/snd-soc-allo-piano-dac.ko \
  69. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
  70. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
  71. AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x-i2c snd-soc-pcm512x \
  72. snd-soc-allo-piano-dac)
  73. DEPENDS:= \
  74. kmod-sound-soc-bcm2835-i2s \
  75. +kmod-i2c-bcm2708
  76. $(call AddDepends/sound)
  77. endef
  78. define KernelPackage/sound-soc-allo-piano-dac/description
  79. This package contains support for Allo Piano DAC
  80. endef
  81. $(eval $(call KernelPackage,sound-soc-allo-piano-dac))
  82. define KernelPackage/sound-soc-audioinjector-pi-soundcard
  83. TITLE:=Support for AudioInjector Pi soundcard
  84. KCONFIG:= \
  85. CONFIG_SND_AUDIOINJECTOR_PI_SOUNDCARD \
  86. CONFIG_SND_SOC_WM8731
  87. FILES:= \
  88. $(LINUX_DIR)/sound/soc/bcm/snd-soc-audioinjector-pi-soundcard.ko \
  89. $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8731.ko
  90. AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8731 \
  91. snd-soc-audioinjector-pi-soundcard)
  92. DEPENDS:= \
  93. kmod-sound-soc-bcm2835-i2s \
  94. +kmod-i2c-bcm2708
  95. $(call AddDepends/sound)
  96. endef
  97. define KernelPackage/sound-soc-audioinjector-pi-soundcard/description
  98. This package contains support for AudioInjector Pi soundcard
  99. endef
  100. $(eval $(call KernelPackage,sound-soc-audioinjector-pi-soundcard))
  101. define KernelPackage/sound-soc-digidac1-soundcard
  102. TITLE:=Support for RRA DigiDAC1
  103. KCONFIG:= \
  104. CONFIG_SND_DIGIDAC1_SOUNDCARD \
  105. CONFIG_SND_SOC_WM8741 \
  106. CONFIG_SND_SOC_WM8804 \
  107. CONFIG_SND_SOC_WM8804_I2C
  108. FILES:= \
  109. $(LINUX_DIR)/sound/soc/bcm/snd-soc-digidac1-soundcard.ko \
  110. $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8741.ko \
  111. $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko \
  112. $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804-i2c.ko
  113. AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8741 \
  114. snd-soc-wm8804 snd-soc-wm8804-i2c \
  115. snd-soc-digidac1-soundcard)
  116. DEPENDS:= \
  117. kmod-sound-soc-bcm2835-i2s \
  118. +kmod-i2c-bcm2708
  119. $(call AddDepends/sound)
  120. endef
  121. define KernelPackage/sound-soc-digidac1-soundcard/description
  122. This package contains support for RRA DigiDAC1
  123. endef
  124. $(eval $(call KernelPackage,sound-soc-digidac1-soundcard))
  125. define KernelPackage/sound-soc-dionaudio-loco
  126. TITLE:=Support for Dion Audio LOCO DAC-AMP
  127. KCONFIG:= \
  128. CONFIG_SND_BCM2708_SOC_DIONAUDIO_LOCO \
  129. CONFIG_SND_SOC_PCM5102A
  130. FILES:= \
  131. $(LINUX_DIR)/sound/soc/bcm/snd-soc-dionaudio-loco.ko \
  132. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm5102a.ko
  133. AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm5102a \
  134. snd-soc-dionaudio-loco)
  135. DEPENDS:= \
  136. kmod-sound-soc-bcm2835-i2s
  137. $(call AddDepends/sound)
  138. endef
  139. define KernelPackage/sound-soc-dionaudio-loco/description
  140. This package contains support for Dion Audio LOCO DAC-AMP
  141. endef
  142. $(eval $(call KernelPackage,sound-soc-dionaudio-loco))
  143. define KernelPackage/sound-soc-hifiberry-dac
  144. TITLE:=Support for HifiBerry DAC
  145. KCONFIG:= \
  146. CONFIG_SND_BCM2708_SOC_HIFIBERRY_DAC \
  147. CONFIG_SND_SOC_PCM5102A
  148. FILES:= \
  149. $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dac.ko \
  150. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm5102a.ko
  151. AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm5102a snd-soc-hifiberry-dac)
  152. DEPENDS:= \
  153. kmod-sound-soc-bcm2835-i2s \
  154. +kmod-i2c-bcm2708
  155. $(call AddDepends/sound)
  156. endef
  157. define KernelPackage/sound-soc-hifiberry-dac/description
  158. This package contains support for HifiBerry DAC
  159. endef
  160. $(eval $(call KernelPackage,sound-soc-hifiberry-dac))
  161. define KernelPackage/sound-soc-hifiberry-dacplus
  162. TITLE:=Support for HifiBerry DAC+ / DAC+ Pro
  163. KCONFIG:= \
  164. CONFIG_SND_BCM2708_SOC_HIFIBERRY_DACPLUS \
  165. CONFIG_SND_SOC_PCM512x
  166. FILES:= \
  167. $(LINUX_DIR)/drivers/clk/clk-hifiberry-dacpro.ko \
  168. $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-dacplus.ko \
  169. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko
  170. AUTOLOAD:=$(call AutoLoad,68,clk-hifiberry-dacpro snd-soc-pcm512x \
  171. snd-soc-hifiberry-dacplus)
  172. DEPENDS:= \
  173. kmod-sound-soc-bcm2835-i2s \
  174. +kmod-i2c-bcm2708
  175. $(call AddDepends/sound)
  176. endef
  177. define KernelPackage/sound-soc-hifiberry-dacplus/description
  178. This package contains support for HifiBerry DAC+ / DAC+ Pro
  179. endef
  180. $(eval $(call KernelPackage,sound-soc-hifiberry-dacplus))
  181. define KernelPackage/sound-soc-hifiberry-digi
  182. TITLE:=Support for HifiBerry Digi / Digi+ / Digi+ Pro
  183. KCONFIG:= \
  184. CONFIG_SND_BCM2708_SOC_HIFIBERRY_DIGI \
  185. CONFIG_SND_SOC_WM8804
  186. FILES:= \
  187. $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-digi.ko \
  188. $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko
  189. AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8804 snd-soc-hifiberry-digi)
  190. DEPENDS:= \
  191. kmod-sound-soc-bcm2835-i2s \
  192. +kmod-i2c-bcm2708
  193. $(call AddDepends/sound)
  194. endef
  195. define KernelPackage/sound-soc-hifiberry-digi/description
  196. This package contains support for HifiBerry Digi
  197. endef
  198. $(eval $(call KernelPackage,sound-soc-hifiberry-digi))
  199. define KernelPackage/sound-soc-hifiberry-amp
  200. TITLE:=Support for HifiBerry Amp
  201. KCONFIG:= \
  202. CONFIG_SND_BCM2708_SOC_HIFIBERRY_AMP \
  203. CONFIG_SND_SOC_TAS5713
  204. FILES:= \
  205. $(LINUX_DIR)/sound/soc/bcm/snd-soc-hifiberry-amp.ko \
  206. $(LINUX_DIR)/sound/soc/codecs/snd-soc-tas5713.ko
  207. AUTOLOAD:=$(call AutoLoad,68,snd-soc-tas5713 snd-soc-hifiberry-amp)
  208. DEPENDS:= \
  209. kmod-sound-soc-bcm2835-i2s \
  210. +kmod-i2c-bcm2708
  211. $(call AddDepends/sound)
  212. endef
  213. define KernelPackage/sound-soc-hifiberry-amp/description
  214. This package contains support for HifiBerry Amp
  215. endef
  216. $(eval $(call KernelPackage,sound-soc-hifiberry-amp))
  217. define KernelPackage/sound-soc-iqaudio-dac
  218. TITLE:=Support for IQaudIO-DAC
  219. KCONFIG:= \
  220. CONFIG_SND_BCM2708_SOC_IQAUDIO_DAC \
  221. CONFIG_SND_SOC_PCM512x \
  222. CONFIG_SND_SOC_PCM512x_I2C
  223. FILES:= \
  224. $(LINUX_DIR)/sound/soc/bcm/snd-soc-iqaudio-dac.ko \
  225. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
  226. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko
  227. AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c \
  228. snd-soc-iqaudio-dac)
  229. DEPENDS:= \
  230. kmod-sound-soc-bcm2835-i2s \
  231. +kmod-i2c-bcm2708
  232. $(call AddDepends/sound)
  233. endef
  234. define KernelPackage/sound-soc-iqaudio-dac/description
  235. This package contains support for IQaudIO-DAC
  236. endef
  237. $(eval $(call KernelPackage,sound-soc-iqaudio-dac))
  238. define KernelPackage/sound-soc-iqaudio-digi
  239. TITLE:=Support for IQaudIO-DIGI
  240. KCONFIG:= \
  241. CONFIG_SND_BCM2708_SOC_IQAUDIO_DIGI \
  242. CONFIG_SND_SOC_WM8804 \
  243. CONFIG_SND_SOC_WM8804_I2C
  244. FILES:= \
  245. $(LINUX_DIR)/sound/soc/bcm/snd-soc-iqaudio-digi.ko \
  246. $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko \
  247. $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804-i2c.ko
  248. AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8804 snd-soc-wm8804-i2c \
  249. snd-soc-iqaudio-digi)
  250. DEPENDS:= \
  251. kmod-sound-soc-bcm2835-i2s \
  252. +kmod-i2c-bcm2708
  253. $(call AddDepends/sound)
  254. endef
  255. define KernelPackage/sound-soc-iqaudio-digi/description
  256. This package contains support for IQaudIO-DIGI
  257. endef
  258. $(eval $(call KernelPackage,sound-soc-iqaudio-digi))
  259. define KernelPackage/sound-soc-justboom-dac
  260. TITLE:=Support for JustBoom DAC
  261. KCONFIG:= \
  262. CONFIG_SND_BCM2708_SOC_JUSTBOOM_DAC \
  263. CONFIG_SND_SOC_PCM512x
  264. FILES:= \
  265. $(LINUX_DIR)/sound/soc/bcm/snd-soc-justboom-dac.ko \
  266. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko
  267. AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-justboom-dac)
  268. DEPENDS:= \
  269. kmod-sound-soc-bcm2835-i2s \
  270. +kmod-i2c-bcm2708
  271. $(call AddDepends/sound)
  272. endef
  273. define KernelPackage/sound-soc-justboom-dac/description
  274. This package contains support for JustBoom DAC
  275. endef
  276. $(eval $(call KernelPackage,sound-soc-justboom-dac))
  277. define KernelPackage/sound-soc-justboom-digi
  278. TITLE:=Support for JustBoom Digi
  279. KCONFIG:= \
  280. CONFIG_SND_BCM2708_SOC_JUSTBOOM_DIGI \
  281. CONFIG_SND_SOC_WM8804
  282. FILES:= \
  283. $(LINUX_DIR)/sound/soc/bcm/snd-soc-justboom-digi.ko \
  284. $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8804.ko
  285. AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8804 snd-soc-justboom-digi)
  286. DEPENDS:= \
  287. kmod-sound-soc-bcm2835-i2s \
  288. +kmod-i2c-bcm2708
  289. $(call AddDepends/sound)
  290. endef
  291. define KernelPackage/sound-soc-justboom-digi/description
  292. This package contains support for JustBoom Digi
  293. endef
  294. $(eval $(call KernelPackage,sound-soc-justboom-digi))
  295. define KernelPackage/sound-soc-pisound
  296. TITLE:=Support for Blokas Labs PiSound
  297. KCONFIG:= \
  298. CONFIG_SND_PISOUND \
  299. CONFIG_SND_SOC_PCM5102A
  300. FILES:= \
  301. $(LINUX_DIR)/sound/soc/bcm/snd-soc-pisound.ko \
  302. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm5102a.ko
  303. AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm5102a snd-soc-pisound)
  304. DEPENDS:= \
  305. kmod-sound-soc-bcm2835-i2s
  306. $(call AddDepends/sound)
  307. endef
  308. define KernelPackage/sound-soc-pisound/description
  309. This package contains support for Blokas Labs PiSound
  310. endef
  311. $(eval $(call KernelPackage,sound-soc-pisound))
  312. define KernelPackage/sound-soc-raspidac3
  313. TITLE:=Support for RaspiDAC Rev.3x
  314. KCONFIG:= \
  315. CONFIG_SND_BCM2708_SOC_RASPIDAC3 \
  316. CONFIG_SND_SOC_PCM512x \
  317. CONFIG_SND_SOC_PCM512x_I2C \
  318. CONFIG_SND_SOC_TPA6130A2
  319. FILES:= \
  320. $(LINUX_DIR)/sound/soc/bcm/snd-soc-raspidac3.ko \
  321. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x.ko \
  322. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm512x-i2c.ko \
  323. $(LINUX_DIR)/sound/soc/codecs/snd-soc-tpa6130a2.ko
  324. AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm512x snd-soc-pcm512x-i2c \
  325. snd-soc-tpa6130a2 snd-soc-raspidac3)
  326. DEPENDS:= \
  327. kmod-sound-soc-bcm2835-i2s \
  328. +kmod-i2c-bcm2708
  329. $(call AddDepends/sound)
  330. endef
  331. define KernelPackage/sound-soc-raspidac3/description
  332. This package contains support for RaspiDAC Rev.3x
  333. endef
  334. $(eval $(call KernelPackage,sound-soc-raspidac3))
  335. define KernelPackage/sound-soc-rpi-dac
  336. TITLE:=Support for RPi-DAC
  337. KCONFIG:= \
  338. CONFIG_SND_BCM2708_SOC_RPI_DAC \
  339. CONFIG_SND_SOC_PCM1794A
  340. FILES:= \
  341. $(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-dac.ko \
  342. $(LINUX_DIR)/sound/soc/codecs/snd-soc-pcm1794a.ko
  343. AUTOLOAD:=$(call AutoLoad,68,snd-soc-pcm1794a snd-soc-rpi-dac)
  344. DEPENDS:= \
  345. kmod-sound-soc-bcm2835-i2s \
  346. +kmod-i2c-bcm2708
  347. $(call AddDepends/sound)
  348. endef
  349. define KernelPackage/sound-soc-rpi-dac/description
  350. This package contains support for RPi-DAC
  351. endef
  352. $(eval $(call KernelPackage,sound-soc-rpi-dac))
  353. define KernelPackage/sound-soc-rpi-proto
  354. TITLE:=Support for RPi-PROTO
  355. KCONFIG:= \
  356. CONFIG_SND_BCM2708_SOC_RPI_PROTO \
  357. CONFIG_SND_SOC_WM8731
  358. FILES:= \
  359. $(LINUX_DIR)/sound/soc/bcm/snd-soc-rpi-proto.ko \
  360. $(LINUX_DIR)/sound/soc/codecs/snd-soc-wm8731.ko
  361. AUTOLOAD:=$(call AutoLoad,68,snd-soc-wm8731 snd-soc-rpi-proto)
  362. DEPENDS:= \
  363. kmod-sound-soc-bcm2835-i2s \
  364. +kmod-i2c-bcm2708
  365. $(call AddDepends/sound)
  366. endef
  367. define KernelPackage/sound-soc-rpi-proto/description
  368. This package contains support for RPi-PROTO
  369. endef
  370. $(eval $(call KernelPackage,sound-soc-rpi-proto))
  371. define KernelPackage/random-bcm2835
  372. SUBMENU:=$(OTHER_MENU)
  373. TITLE:=BCM2835 HW Random Number Generator
  374. KCONFIG:=CONFIG_HW_RANDOM_BCM2835
  375. FILES:=$(LINUX_DIR)/drivers/char/hw_random/bcm2835-rng.ko
  376. AUTOLOAD:=$(call AutoLoad,11,bcm2835-rng)
  377. DEPENDS:=@TARGET_brcm2708 +kmod-random-core
  378. endef
  379. define KernelPackage/random-bcm2835/description
  380. This package contains the Broadcom 2835 HW random number generator driver
  381. endef
  382. $(eval $(call KernelPackage,random-bcm2835))
  383. define KernelPackage/smi-bcm2835
  384. SUBMENU:=$(OTHER_MENU)
  385. TITLE:=BCM2835 SMI driver
  386. KCONFIG:=CONFIG_BCM2835_SMI
  387. FILES:=$(LINUX_DIR)/drivers/misc/bcm2835_smi.ko
  388. AUTOLOAD:=$(call AutoLoad,20,bcm2835_smi)
  389. DEPENDS:=@TARGET_brcm2708
  390. endef
  391. define KernelPackage/smi-bcm2835/description
  392. This package contains the Character device driver for Broadcom Secondary
  393. Memory Interface
  394. endef
  395. $(eval $(call KernelPackage,smi-bcm2835))
  396. define KernelPackage/smi-bcm2835-dev
  397. SUBMENU:=$(OTHER_MENU)
  398. TITLE:=BCM2835 SMI device driver
  399. KCONFIG:=CONFIG_BCM2835_SMI_DEV
  400. FILES:=$(LINUX_DIR)/drivers/char/broadcom/bcm2835_smi_dev.ko
  401. AUTOLOAD:=$(call AutoLoad,21,bcm2835_smi_dev)
  402. DEPENDS:=@TARGET_brcm2708 +kmod-smi-bcm2835
  403. endef
  404. define KernelPackage/smi-bcm2835-dev/description
  405. This driver provides a character device interface (ioctl + read/write) to
  406. Broadcom's Secondary Memory interface. The low-level functionality is provided
  407. by the SMI driver itself.
  408. endef
  409. $(eval $(call KernelPackage,smi-bcm2835-dev))
  410. define KernelPackage/spi-bcm2835
  411. SUBMENU:=$(SPI_MENU)
  412. TITLE:=BCM2835 SPI controller driver
  413. KCONFIG:=\
  414. CONFIG_SPI=y \
  415. CONFIG_SPI_BCM2835 \
  416. CONFIG_SPI_MASTER=y
  417. FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2835.ko
  418. AUTOLOAD:=$(call AutoLoad,89,spi-bcm2835)
  419. DEPENDS:=@TARGET_brcm2708
  420. endef
  421. define KernelPackage/spi-bcm2835/description
  422. This package contains the Broadcom 2835 SPI master controller driver
  423. endef
  424. $(eval $(call KernelPackage,spi-bcm2835))
  425. define KernelPackage/spi-bcm2835-aux
  426. SUBMENU:=$(SPI_MENU)
  427. TITLE:=BCM2835 Aux SPI controller driver
  428. KCONFIG:=\
  429. CONFIG_SPI=y \
  430. CONFIG_SPI_BCM2835AUX \
  431. CONFIG_SPI_MASTER=y
  432. FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2835aux.ko
  433. AUTOLOAD:=$(call AutoLoad,89,spi-bcm2835aux)
  434. DEPENDS:=@TARGET_brcm2708
  435. endef
  436. define KernelPackage/spi-bcm2835-aux/description
  437. This package contains the Broadcom 2835 Aux SPI master controller driver
  438. endef
  439. $(eval $(call KernelPackage,spi-bcm2835-aux))
  440. define KernelPackage/hwmon-bcm2835
  441. TITLE:=BCM2835 HWMON driver
  442. KCONFIG:=CONFIG_SENSORS_BCM2835
  443. FILES:=$(LINUX_DIR)/drivers/hwmon/bcm2835-hwmon.ko
  444. AUTOLOAD:=$(call AutoLoad,60,bcm2835-hwmon)
  445. $(call AddDepends/hwmon,@TARGET_brcm2708)
  446. endef
  447. define KernelPackage/hwmon-bcm2835/description
  448. Kernel module for BCM2835 thermal monitor chip
  449. endef
  450. $(eval $(call KernelPackage,hwmon-bcm2835))
  451. I2C_BCM2708_MODULES:=\
  452. CONFIG_I2C_BCM2708:drivers/i2c/busses/i2c-bcm2708
  453. define KernelPackage/i2c-bcm2708
  454. $(call i2c_defaults,$(I2C_BCM2708_MODULES),59)
  455. TITLE:=Broadcom BCM2708 I2C master controller driver
  456. KCONFIG+= \
  457. CONFIG_I2C_BCM2708_BAUDRATE=100000
  458. DEPENDS:=@TARGET_brcm2708 +kmod-i2c-core
  459. endef
  460. define KernelPackage/i2c-bcm2708/description
  461. This package contains the Broadcom 2708 I2C master controller driver
  462. endef
  463. $(eval $(call KernelPackage,i2c-bcm2708))
  464. I2C_BCM2835_MODULES:=\
  465. CONFIG_I2C_BCM2835:drivers/i2c/busses/i2c-bcm2835
  466. define KernelPackage/i2c-bcm2835
  467. $(call i2c_defaults,$(I2C_BCM2835_MODULES),59)
  468. TITLE:=Broadcom BCM2835 I2C master controller driver
  469. DEPENDS:=@TARGET_brcm2708 +kmod-i2c-core
  470. endef
  471. define KernelPackage/i2c-bcm2835/description
  472. This package contains the Broadcom 2835 I2C master controller driver
  473. endef
  474. $(eval $(call KernelPackage,i2c-bcm2835))
  475. define KernelPackage/video-bcm2835
  476. TITLE:=Broadcom BCM2835 camera interface driver
  477. KCONFIG:= \
  478. CONFIG_VIDEO_BCM2835=y \
  479. CONFIG_VIDEO_BCM2835_MMAL
  480. FILES:= $(LINUX_DIR)/drivers/media/platform/bcm2835/bcm2835-v4l2.ko
  481. AUTOLOAD:=$(call AutoLoad,65,bcm2835-v4l2)
  482. $(call AddDepends/video,@TARGET_brcm2708 +kmod-video-videobuf2)
  483. endef
  484. define KernelPackage/video-bcm2835/description
  485. This is a V4L2 driver for the Broadcom 2835 MMAL camera host interface
  486. endef
  487. $(eval $(call KernelPackage,video-bcm2835))