1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 menu "SPI driver support"
5 depends on ADK_TARGET_WITH_SPI || ADK_TARGET_QEMU
7 config ADK_LINUX_KERNEL_SPI
10 config ADK_LINUX_KERNEL_SPI_DEBUG
13 config ADK_LINUX_KERNEL_SPI_MASTER
16 config ADK_LINUX_KERNEL_SPI_BITBANG
19 config ADK_LINUX_KERNEL_SPI_RB4XX_CPLD
22 config ADK_LINUX_KERNEL_SPI_AR71XX
25 config ADK_LINUX_KERNEL_SPI_PXA2XX
27 select ADK_LINUX_KERNEL_SPI
29 config ADK_LINUX_KERNEL_SPI_BCM2835
30 tristate "SPI driver for BCM28XX boards"
31 select ADK_LINUX_KERNEL_SPI
32 select ADK_LINUX_KERNEL_SPI_MASTER
33 select ADK_LINUX_KERNEL_SPI_BITBANG
34 select ADK_LINUX_KERNEL_REGMAP
35 select ADK_LINUX_KERNEL_REGMAP_SPI
36 depends on ADK_TARGET_BOARD_BCM28XX
37 default m if ADK_TARGET_BOARD_BCM28XX
40 config ADK_LINUX_KERNEL_SPI_IMX
41 tristate "SPI driver for Solidrun IMX6"
42 select ADK_LINUX_KERNEL_SPI
43 select ADK_LINUX_KERNEL_SPI_MASTER
44 select ADK_LINUX_KERNEL_SPI_BITBANG
45 select ADK_LINUX_KERNEL_REGMAP
46 select ADK_LINUX_KERNEL_REGMAP_SPI
47 depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
48 ADK_TARGET_SYSTEM_PHYTEC_IMX6
49 default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
50 ADK_TARGET_SYSTEM_PHYTEC_IMX6
53 config ADK_LINUX_KERNEL_SPI_RB4XX
54 tristate "SPI driver for Routerboard 4xx"
55 select ADK_LINUX_KERNEL_SPI
56 select ADK_LINUX_KERNEL_SPI_MASTER
57 select ADK_LINUX_KERNEL_SPI_BITBANG
58 select ADK_LINUX_KERNEL_SPI_RB4XX_CPLD
59 select ADK_LINUX_KERNEL_SPI_AR71XX
60 depends on ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
61 default y if ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
64 config ADK_LINUX_KERNEL_SPI_SUN6I
65 tristate "SPI driver for SunXi"
66 select ADK_LINUX_KERNEL_SPI
67 select ADK_LINUX_KERNEL_SPI_MASTER
68 select ADK_LINUX_KERNEL_SPI_BITBANG
69 select ADK_LINUX_KERNEL_REGMAP
70 select ADK_LINUX_KERNEL_REGMAP_SPI
71 depends on ADK_TARGET_SYSTEM_ORANGE_PI0
72 default y if ADK_TARGET_SYSTEM_ORANGE_PI0
75 config ADK_LINUX_KERNEL_SPI_SPIDEV
76 tristate "SPI userland driver"
77 select ADK_LINUX_KERNEL_SPI
78 select ADK_LINUX_KERNEL_SPI_MASTER
80 config ADK_LINUX_KERNEL_SPI_GPIO
81 tristate "SPI GPIO support"
82 select ADK_LINUX_KERNEL_SPI
83 select ADK_LINUX_KERNEL_SPI_MASTER