summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2014-12-08 13:58:42 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2014-12-08 13:58:42 +0100
commitccb06ae332dbb204213fd46a91a5a07dd28ae834 (patch)
tree0d37480c729ee421114deec4af44162a0132a561 /target/linux
parentaf675a5554636123a32342b109460deb75f96eb6 (diff)
add spidev support
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/config/Config.in.spi21
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.spi b/target/linux/config/Config.in.spi
index d58215eab..d57869c70 100644
--- a/target/linux/config/Config.in.spi
+++ b/target/linux/config/Config.in.spi
@@ -4,12 +4,18 @@ depends on ADK_TARGET_WITH_SPI
config ADK_KERNEL_SPI
boolean
+config ADK_KERNEL_SPI_DEBUG
+ boolean
+
config ADK_KERNEL_SPI_MASTER
boolean
config ADK_KERNEL_SPI_BITBANG
tristate
+config ADK_KERNEL_BCM2708_SPIDEV
+ tristate
+
config ADK_KERNEL_SPI_AR71XX
tristate
select ADK_KERNEL_SPI
@@ -33,6 +39,7 @@ config ADK_KERNEL_SPI_BCM2708
select ADK_KERNEL_SPI_MASTER
select ADK_KERNEL_SPI_BITBANG
select ADK_KERNEL_REGMAP_SPI
+ select ADK_KERNEL_BCM2708_SPIDEV
depends on ADK_TARGET_SYSTEM_RASPBERRY_PI
default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
default n
@@ -48,4 +55,18 @@ config ADK_KERNEL_SPI_IMX
default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
default n
+config ADK_KERNEL_SPI_SPIDEV
+ prompt "SPI userland driver"
+ tristate
+ select ADK_KERNEL_SPI
+ select ADK_KERNEL_SPI_MASTER
+ default n
+
+config ADK_KERNEL_SPI_GPIO
+ prompt "GPIO support"
+ tristate
+ select ADK_KERNEL_SPI
+ select ADK_KERNEL_SPI_MASTER
+ default n
+
endmenu