Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 | # Kconfig - SPI driver configuration options # # Copyright (c) 2015-2016 Intel Corporation # # SPDX-License-Identifier: Apache-2.0 # # # SPI Drivers # menuconfig SPI bool "SPI hardware bus support" select HAS_DTS_SPI help Enable support for the SPI hardware bus. if SPI config SPI_ASYNC bool "Enable Asynchronous call support" select POLL help This option enables the asynchronous API calls. 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. config SPI_INIT_PRIORITY int "Init priority" default 70 help Device driver initialization priority. module = SPI module-str = spi source "subsys/logging/Kconfig.template.log_config" config SPI_0 bool "SPI port 0" help Enable SPI controller port 0. if SPI_0 config SPI_0_OP_MODES int "Port 0 supported operation modes (master/slave/both)" default 1 range 1 3 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. endif # SPI_0 config SPI_1 bool "SPI port 1" help Enable SPI controller port 1. if SPI_1 config SPI_1_OP_MODES int "Port 1 supported operation modes (master/slave/both)" default 1 range 1 3 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. endif # SPI_1 config SPI_2 bool "SPI port 2" help Enable SPI controller port 2. if SPI_2 config SPI_2_OP_MODES int "Port 2 supported operation modes (master/slave/both)" default 1 range 1 3 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. endif # SPI_2 config SPI_3 bool "SPI port 3" help Enable SPI controller port 3. if SPI_3 config SPI_3_OP_MODES int "Port 3 supported operation modes (master/slave/both)" default 1 range 1 3 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. endif # SPI_3 config SPI_4 bool "SPI port 4" help Enable SPI controller port 4. if SPI_4 config SPI_4_OP_MODES int "Port 4 supported operation modes (master/slave/both)" default 1 range 1 3 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. endif # SPI_4 config SPI_5 bool "SPI port 5" help Enable SPI controller port 5. if SPI_5 config SPI_5_OP_MODES int "Port 5 supported operation modes (master/slave/both)" default 1 range 1 3 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. endif # SPI_5 config SPI_6 bool "SPI port 6" help Enable SPI controller port 6. if SPI_6 config SPI_6_OP_MODES int "Port 6 supported operation modes (master/slave/both)" default 1 range 1 3 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. endif # SPI_6 config SPI_INTEL bool "Intel SPI controller driver" depends on CPU_MINUTEIA help Enable support for Intel's SPI controllers. Such controller was formerly found on XScale chips. It can be found nowadays on CEXXXX Intel media controller and Quark CPU (2 of them). source "drivers/spi/Kconfig.stm32" source "drivers/spi/Kconfig.dw" source "drivers/spi/Kconfig.mcux_dspi" source "drivers/spi/Kconfig.mcux_lpspi" source "drivers/spi/Kconfig.sam" source "drivers/spi/Kconfig.sam0" source "drivers/spi/Kconfig.sifive" source "drivers/spi/Kconfig.nrfx" endif # SPI |