2019-11-01 13:45:29 +01:00
|
|
|
# SPI driver configuration options
|
2015-08-21 11:57:49 +02:00
|
|
|
|
2016-03-17 19:21:49 +01:00
|
|
|
# Copyright (c) 2015-2016 Intel Corporation
|
2017-01-19 02:01:01 +01:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
2015-08-21 11:57:49 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# SPI Drivers
|
|
|
|
#
|
|
|
|
menuconfig SPI
|
2017-06-21 09:16:25 +02:00
|
|
|
bool "SPI hardware bus support"
|
2015-08-21 11:57:49 +02:00
|
|
|
help
|
|
|
|
Enable support for the SPI hardware bus.
|
|
|
|
|
2017-06-21 09:16:25 +02:00
|
|
|
if SPI
|
2016-09-16 15:24:19 +02:00
|
|
|
|
2018-01-29 22:12:50 +01:00
|
|
|
config SPI_ASYNC
|
|
|
|
bool "Enable Asynchronous call support"
|
|
|
|
select POLL
|
|
|
|
help
|
|
|
|
This option enables the asynchronous API calls.
|
|
|
|
|
2017-06-28 12:35:07 +02:00
|
|
|
config SPI_SLAVE
|
|
|
|
bool "Enable Slave support [EXPERIMENTAL]"
|
|
|
|
help
|
|
|
|
Enables Driver SPI slave operations. Slave support depends
|
|
|
|
on the driver and the hardware it runs on.
|
|
|
|
|
2016-04-16 23:55:43 +02:00
|
|
|
config SPI_INIT_PRIORITY
|
|
|
|
int "Init priority"
|
|
|
|
default 70
|
|
|
|
help
|
|
|
|
Device driver initialization priority.
|
|
|
|
|
2018-09-23 04:13:18 +02:00
|
|
|
module = SPI
|
|
|
|
module-str = spi
|
|
|
|
source "subsys/logging/Kconfig.template.log_config"
|
2018-03-29 17:35:07 +02:00
|
|
|
|
2015-08-21 12:01:08 +02:00
|
|
|
|
2019-11-01 10:24:07 +01:00
|
|
|
config SPI_0
|
2017-06-21 09:16:25 +02:00
|
|
|
bool "SPI port 0"
|
2016-05-08 00:57:14 +02:00
|
|
|
help
|
2016-08-17 11:21:18 +02:00
|
|
|
Enable SPI controller port 0.
|
2016-05-08 00:57:14 +02:00
|
|
|
|
2017-06-28 12:35:07 +02:00
|
|
|
config SPI_0_OP_MODES
|
|
|
|
int "Port 0 supported operation modes (master/slave/both)"
|
|
|
|
default 1
|
|
|
|
range 1 3
|
2020-02-09 22:26:07 +01:00
|
|
|
depends on SPI_0
|
2017-06-28 12:35:07 +02:00
|
|
|
help
|
|
|
|
This sets the supported operation modes at runtime, by the SPI
|
|
|
|
port 0, where:
|
|
|
|
1 is MASTER mode only (default)
|
|
|
|
2 is SLAVE mode only
|
|
|
|
3 is both modes are available.
|
|
|
|
|
2016-05-25 01:17:13 +02:00
|
|
|
config SPI_1
|
2017-06-21 09:16:25 +02:00
|
|
|
bool "SPI port 1"
|
2016-05-08 00:57:14 +02:00
|
|
|
help
|
|
|
|
Enable SPI controller port 1.
|
|
|
|
|
2017-06-28 12:35:07 +02:00
|
|
|
config SPI_1_OP_MODES
|
|
|
|
int "Port 1 supported operation modes (master/slave/both)"
|
|
|
|
default 1
|
|
|
|
range 1 3
|
2020-02-09 22:26:07 +01:00
|
|
|
depends on SPI_1
|
2017-06-28 12:35:07 +02:00
|
|
|
help
|
|
|
|
This sets the supported operation modes at runtime, by the SPI
|
|
|
|
port 1, where:
|
|
|
|
1 is MASTER mode only (default)
|
|
|
|
2 is SLAVE mode only
|
|
|
|
3 is both modes are available.
|
|
|
|
|
2016-05-25 01:17:13 +02:00
|
|
|
config SPI_2
|
2017-06-21 09:16:25 +02:00
|
|
|
bool "SPI port 2"
|
2016-05-08 00:57:14 +02:00
|
|
|
help
|
2016-08-17 11:21:18 +02:00
|
|
|
Enable SPI controller port 2.
|
2016-05-08 00:57:14 +02:00
|
|
|
|
2017-06-28 12:35:07 +02:00
|
|
|
config SPI_2_OP_MODES
|
|
|
|
int "Port 2 supported operation modes (master/slave/both)"
|
|
|
|
default 1
|
|
|
|
range 1 3
|
2020-02-09 22:26:07 +01:00
|
|
|
depends on SPI_2
|
2017-06-28 12:35:07 +02:00
|
|
|
help
|
|
|
|
This sets the supported operation modes at runtime, by the SPI
|
|
|
|
port 2, where:
|
|
|
|
1 is MASTER mode only (default)
|
|
|
|
2 is SLAVE mode only
|
|
|
|
3 is both modes are available.
|
|
|
|
|
2016-09-16 15:24:19 +02:00
|
|
|
config SPI_3
|
2017-06-21 09:16:25 +02:00
|
|
|
bool "SPI port 3"
|
2016-09-16 15:24:19 +02:00
|
|
|
help
|
|
|
|
Enable SPI controller port 3.
|
|
|
|
|
2017-06-28 12:35:07 +02:00
|
|
|
config SPI_3_OP_MODES
|
|
|
|
int "Port 3 supported operation modes (master/slave/both)"
|
|
|
|
default 1
|
|
|
|
range 1 3
|
2020-02-09 22:26:07 +01:00
|
|
|
depends on SPI_3
|
2017-06-28 12:35:07 +02:00
|
|
|
help
|
|
|
|
This sets the supported operation modes at runtime, by the SPI
|
|
|
|
port 3, where:
|
|
|
|
1 is MASTER mode only (default)
|
|
|
|
2 is SLAVE mode only
|
|
|
|
3 is both modes are available.
|
|
|
|
|
2018-01-05 19:54:30 +01:00
|
|
|
config SPI_4
|
2017-06-21 09:16:25 +02:00
|
|
|
bool "SPI port 4"
|
2018-01-05 19:54:30 +01:00
|
|
|
help
|
|
|
|
Enable SPI controller port 4.
|
|
|
|
|
2017-06-28 12:35:07 +02:00
|
|
|
config SPI_4_OP_MODES
|
|
|
|
int "Port 4 supported operation modes (master/slave/both)"
|
|
|
|
default 1
|
|
|
|
range 1 3
|
2020-02-09 22:26:07 +01:00
|
|
|
depends on SPI_4
|
2017-06-28 12:35:07 +02:00
|
|
|
help
|
|
|
|
This sets the supported operation modes at runtime, by the SPI
|
|
|
|
port 4, where:
|
|
|
|
1 is MASTER mode only (default)
|
|
|
|
2 is SLAVE mode only
|
|
|
|
3 is both modes are available.
|
|
|
|
|
2018-01-05 19:54:30 +01:00
|
|
|
config SPI_5
|
2017-06-21 09:16:25 +02:00
|
|
|
bool "SPI port 5"
|
2018-01-05 19:54:30 +01:00
|
|
|
help
|
|
|
|
Enable SPI controller port 5.
|
|
|
|
|
2017-06-28 12:35:07 +02:00
|
|
|
config SPI_5_OP_MODES
|
|
|
|
int "Port 5 supported operation modes (master/slave/both)"
|
|
|
|
default 1
|
|
|
|
range 1 3
|
2020-02-09 22:26:07 +01:00
|
|
|
depends on SPI_5
|
2017-06-28 12:35:07 +02:00
|
|
|
help
|
|
|
|
This sets the supported operation modes at runtime, by the SPI
|
|
|
|
port 5, where:
|
|
|
|
1 is MASTER mode only (default)
|
|
|
|
2 is SLAVE mode only
|
|
|
|
3 is both modes are available.
|
|
|
|
|
2019-02-06 15:33:38 +01:00
|
|
|
config SPI_6
|
|
|
|
bool "SPI port 6"
|
|
|
|
help
|
|
|
|
Enable SPI controller port 6.
|
|
|
|
|
|
|
|
config SPI_6_OP_MODES
|
|
|
|
int "Port 6 supported operation modes (master/slave/both)"
|
|
|
|
default 1
|
|
|
|
range 1 3
|
2020-02-09 22:26:07 +01:00
|
|
|
depends on SPI_6
|
2019-02-06 15:33:38 +01:00
|
|
|
help
|
|
|
|
This sets the supported operation modes at runtime, by the SPI
|
|
|
|
port 6, where:
|
|
|
|
1 is MASTER mode only (default)
|
|
|
|
2 is SLAVE mode only
|
|
|
|
3 is both modes are available.
|
|
|
|
|
2019-06-30 17:22:34 +02:00
|
|
|
config SPI_7
|
|
|
|
bool "SPI port 7"
|
|
|
|
help
|
|
|
|
Enable SPI controller port 7.
|
|
|
|
|
|
|
|
config SPI_7_OP_MODES
|
|
|
|
int "Port 7 supported operation modes (master/slave/both)"
|
|
|
|
default 1
|
|
|
|
range 1 3
|
2020-02-09 22:26:07 +01:00
|
|
|
depends on SPI_7
|
2019-06-30 17:22:34 +02:00
|
|
|
help
|
|
|
|
This sets the supported operation modes at runtime, by the SPI
|
|
|
|
port 7, where:
|
|
|
|
1 is MASTER mode only (default)
|
|
|
|
2 is SLAVE mode only
|
|
|
|
3 is both modes are available.
|
|
|
|
|
|
|
|
config SPI_8
|
|
|
|
bool "SPI port 8"
|
|
|
|
help
|
|
|
|
Enable SPI controller port 8.
|
|
|
|
|
|
|
|
config SPI_8_OP_MODES
|
|
|
|
int "Port 8 supported operation modes (master/slave/both)"
|
|
|
|
default 1
|
|
|
|
range 1 3
|
2020-02-09 22:26:07 +01:00
|
|
|
depends on SPI_8
|
2019-06-30 17:22:34 +02:00
|
|
|
help
|
|
|
|
This sets the supported operation modes at runtime, by the SPI
|
|
|
|
port 8, where:
|
|
|
|
1 is MASTER mode only (default)
|
|
|
|
2 is SLAVE mode only
|
|
|
|
3 is both modes are available.
|
|
|
|
|
2017-06-21 09:16:25 +02:00
|
|
|
source "drivers/spi/Kconfig.stm32"
|
2016-02-18 20:38:32 +01:00
|
|
|
|
2017-06-21 09:16:25 +02:00
|
|
|
source "drivers/spi/Kconfig.dw"
|
2017-03-20 18:28:37 +01:00
|
|
|
|
2018-02-14 01:03:48 +01:00
|
|
|
source "drivers/spi/Kconfig.mcux_dspi"
|
|
|
|
|
2019-06-30 17:37:23 +02:00
|
|
|
source "drivers/spi/Kconfig.mcux_flexcomm"
|
|
|
|
|
2018-09-14 23:06:13 +02:00
|
|
|
source "drivers/spi/Kconfig.mcux_lpspi"
|
|
|
|
|
2019-08-07 17:13:35 +02:00
|
|
|
source "drivers/spi/Kconfig.rv32m1_lpspi"
|
|
|
|
|
2018-10-09 05:28:30 +02:00
|
|
|
source "drivers/spi/Kconfig.sam"
|
|
|
|
|
2017-12-17 20:55:45 +01:00
|
|
|
source "drivers/spi/Kconfig.sam0"
|
|
|
|
|
2018-11-21 20:28:29 +01:00
|
|
|
source "drivers/spi/Kconfig.sifive"
|
|
|
|
|
2018-03-02 15:05:00 +01:00
|
|
|
source "drivers/spi/Kconfig.nrfx"
|
|
|
|
|
2019-05-23 18:31:05 +02:00
|
|
|
source "drivers/spi/Kconfig.cc13xx_cc26xx"
|
|
|
|
|
2019-09-11 15:49:19 +02:00
|
|
|
source "drivers/spi/Kconfig.litex"
|
|
|
|
|
2019-09-11 22:16:28 +02:00
|
|
|
source "drivers/spi/Kconfig.oc_simple"
|
|
|
|
|
2019-09-26 16:27:07 +02:00
|
|
|
source "drivers/spi/Kconfig.xec_qmspi"
|
|
|
|
|
2019-10-28 14:18:28 +01:00
|
|
|
source "drivers/spi/Kconfig.gecko"
|
|
|
|
|
2016-02-18 20:38:32 +01:00
|
|
|
endif # SPI
|