Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

  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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
#
# CONFIG_SPI driver configuration
#
# NOTE:  the reason this doesn't show CONFIG_SPI slave support is mostly that
# nobody's needed a slave side API yet.  The master-role API is not
# fully appropriate there, so it'd need some thought to do well.
#
menuconfig CONFIG_SPI
	bool "SPI support"
	depends on CONFIG_HAS_IOMEM
	help
	  The "Serial Peripheral Interface" is a low level synchronous
	  protocol.  Chips that support CONFIG_SPI can have data transfer rates
	  up to several tens of Mbit/sec.  Chips are addressed with a
	  controller and a chipselect.  Most CONFIG_SPI slaves don't support
	  dynamic device discovery; some are even write-only or read-only.

	  CONFIG_SPI is widely used by microcontrollers to talk with sensors,
	  eeprom and flash memory, codecs and various other controller
	  chips, analog to digital (and d-to-a) converters, and more.
	  CONFIG_MMC and SD cards can be accessed using CONFIG_SPI protocol; and for
	  DataFlash cards used in CONFIG_MMC sockets, CONFIG_SPI must always be used.

	  CONFIG_SPI is one of a family of similar protocols using a four wire
	  interface (select, clock, data in, data out) including Microwire
	  (half duplex), SSP, SSI, and PSP.  This driver framework should
	  work with most such devices and controllers.

if CONFIG_SPI

config CONFIG_SPI_DEBUG
	bool "Debug support for SPI drivers"
	depends on CONFIG_DEBUG_KERNEL
	help
	  Say "yes" to enable debug messaging (like dev_dbg and pr_debug),
	  sysfs, and debugfs support in CONFIG_SPI controller and protocol drivers.

#
# MASTER side ... talking to discrete CONFIG_SPI slave chips including microcontrollers
#

config CONFIG_SPI_MASTER
#	bool "SPI Master Support"
	bool
	default CONFIG_SPI
	help
	  If your system has an master-capable CONFIG_SPI controller (which
	  provides the clock and chipselect), you can enable that
	  controller and the protocol drivers for the CONFIG_SPI slave chips
	  that are connected.

if CONFIG_SPI_MASTER

comment "SPI Master Controller Drivers"

config CONFIG_SPI_ALTERA
	tristate "Altera SPI Controller"
	select CONFIG_SPI_BITBANG
	help
	  This is the driver for the Altera CONFIG_SPI Controller.

config CONFIG_SPI_ATH79
	tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
	depends on CONFIG_ATH79 && CONFIG_GPIOLIB
	select CONFIG_SPI_BITBANG
	help
	  This enables support for the CONFIG_SPI controller present on the
	  Atheros AR71XX/AR724X/AR913X SoCs.

config CONFIG_SPI_ARMADA_3700
	tristate "Marvell Armada 3700 SPI Controller"
	depends on (CONFIG_ARCH_MVEBU && CONFIG_OF) || CONFIG_COMPILE_TEST
	help
	  This enables support for the CONFIG_SPI controller present on the
	  Marvell Armada 3700 SoCs.

config CONFIG_SPI_ATMEL
	tristate "Atmel SPI Controller"
	depends on CONFIG_HAS_DMA
	depends on (CONFIG_ARCH_AT91 || CONFIG_AVR32 || CONFIG_COMPILE_TEST)
	help
	  This selects a driver for the Atmel CONFIG_SPI Controller, present on
	  many AT32 (CONFIG_AVR32) and AT91 (CONFIG_ARM) chips.

config CONFIG_SPI_AU1550
	tristate "Au1550/Au1200/Au1300 SPI Controller"
	depends on CONFIG_MIPS_ALCHEMY
	select CONFIG_SPI_BITBANG
	help
	  If you say yes to this option, support will be included for the
	  PSC CONFIG_SPI controller found on Au1550, Au1200 and Au1300 series.

config CONFIG_SPI_AXI_SPI_ENGINE
	tristate "Analog Devices AXI SPI Engine controller"
	depends on CONFIG_HAS_IOMEM
	help
	  This enables support for the Analog Devices AXI CONFIG_SPI Engine CONFIG_SPI controller.
	  It is part of the CONFIG_SPI Engine framework that is used in some Analog Devices
	  reference designs for FPGAs.

config CONFIG_SPI_BCM2835
	tristate "BCM2835 SPI controller"
	depends on CONFIG_GPIOLIB
	depends on CONFIG_ARCH_BCM2835 || CONFIG_COMPILE_TEST
	help
	  This selects a driver for the Broadcom BCM2835 CONFIG_SPI master.

	  The BCM2835 contains two types of CONFIG_SPI master controller; the
	  "universal SPI master", and the regular CONFIG_SPI controller. This driver
	  is for the regular CONFIG_SPI controller. Slave mode operation is not also
	  not supported.

config CONFIG_SPI_BCM2835AUX
	tristate "BCM2835 SPI auxiliary controller"
	depends on (CONFIG_ARCH_BCM2835 && CONFIG_GPIOLIB) || CONFIG_COMPILE_TEST
	help
	  This selects a driver for the Broadcom BCM2835 CONFIG_SPI aux master.

	  The BCM2835 contains two types of CONFIG_SPI master controller; the
	  "universal SPI master", and the regular CONFIG_SPI controller.
	  This driver is for the universal/auxiliary CONFIG_SPI controller.

config CONFIG_SPI_BFIN5XX
	tristate "SPI controller driver for ADI Blackfin5xx"
	depends on CONFIG_BLACKFIN && !CONFIG_BF60x
	help
	  This is the CONFIG_SPI controller master driver for Blackfin 5xx processor.

config CONFIG_SPI_ADI_V3
	tristate "SPI controller v3 for ADI"
	depends on CONFIG_BF60x
	help
	  This is the CONFIG_SPI controller v3 master driver
	  found on Blackfin 60x processor.

config CONFIG_SPI_BFIN_SPORT
	tristate "SPI bus via Blackfin SPORT"
	depends on CONFIG_BLACKFIN
	help
	  Enable support for a CONFIG_SPI bus via the Blackfin SPORT peripheral.

config CONFIG_SPI_BCM53XX
	tristate "Broadcom BCM53xx SPI controller"
	depends on CONFIG_ARCH_BCM_5301X
	depends on CONFIG_BCMA_POSSIBLE
	select CONFIG_BCMA
	help
          Enable support for the CONFIG_SPI controller on Broadcom BCM53xx CONFIG_ARM SoCs.

config CONFIG_SPI_BCM63XX
	tristate "Broadcom BCM63xx SPI controller"
	depends on CONFIG_BCM63XX || CONFIG_COMPILE_TEST
	help
          Enable support for the CONFIG_SPI controller on the Broadcom BCM63xx SoCs.

config CONFIG_SPI_BCM63XX_HSSPI
	tristate "Broadcom BCM63XX HS SPI controller driver"
	depends on CONFIG_BCM63XX || CONFIG_COMPILE_TEST
	help
	  This enables support for the High Speed CONFIG_SPI controller present on
	  newer Broadcom CONFIG_BCM63XX SoCs.

config CONFIG_SPI_BCM_QSPI
	tristate "Broadcom BSPI and MSPI controller support"
	depends on CONFIG_ARCH_BRCMSTB || CONFIG_ARCH_BCM || CONFIG_ARCH_BCM_IPROC || CONFIG_COMPILE_TEST
	default CONFIG_ARCH_BCM_IPROC
	help
	  Enables support for the Broadcom CONFIG_SPI flash and MSPI controller.
	  Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
	  based platforms. This driver works for both CONFIG_SPI master for spi-nor
	  flash device as well as MSPI device.

config CONFIG_SPI_BITBANG
	tristate "Utilities for Bitbanging SPI masters"
	help
	  With a few GPIO pins, your system can bitbang the CONFIG_SPI protocol.
	  Select this to get CONFIG_SPI support through I/O pins (GPIO, parallel
	  port, etc).  Or, some systems' CONFIG_SPI master controller drivers use
	  this code to manage the per-word or per-transfer accesses to the
	  hardware shift registers.

	  This is library code, and is automatically selected by drivers that
	  need it.  You only need to select this explicitly to support driver
	  modules that aren't part of this kernel tree.

config CONFIG_SPI_BUTTERFLY
	tristate "Parallel port adapter for AVR Butterfly (DEVELOPMENT)"
	depends on CONFIG_PARPORT
	select CONFIG_SPI_BITBANG
	help
	  This uses a custom parallel port cable to connect to an AVR
	  Butterfly <http://www.atmel.com/products/avr/butterfly>, an
	  inexpensive battery powered microcontroller evaluation board.
	  This same cable can be used to flash new firmware.

config CONFIG_SPI_CADENCE
	tristate "Cadence SPI controller"
	help
	  This selects the Cadence CONFIG_SPI controller master driver
	  used by Xilinx Zynq and ZynqMP.

config CONFIG_SPI_CLPS711X
	tristate "CLPS711X host SPI controller"
	depends on CONFIG_ARCH_CLPS711X || CONFIG_COMPILE_TEST
	help
	  This enables dedicated general purpose CONFIG_SPI/Microwire1-compatible
	  master mode interface (SSI1) for CLPS711X-based CPUs.

config CONFIG_SPI_COLDFIRE_QSPI
	tristate "Freescale Coldfire QSPI controller"
	depends on (CONFIG_M520x || CONFIG_M523x || CONFIG_M5249 || CONFIG_M525x || CONFIG_M527x || CONFIG_M528x || CONFIG_M532x)
	help
	  This enables support for the Coldfire QSPI controller in master
	  mode.

config CONFIG_SPI_DAVINCI
	tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
	depends on CONFIG_ARCH_DAVINCI || CONFIG_ARCH_KEYSTONE
	select CONFIG_SPI_BITBANG
	help
	  CONFIG_SPI master controller for DaVinci/DA8x/OMAP-L/AM1x CONFIG_SPI modules.

config CONFIG_SPI_DESIGNWARE
	tristate "DesignWare SPI controller core support"
	help
	  general driver for CONFIG_SPI controller core from DesignWare

config CONFIG_SPI_DW_PCI
	tristate "PCI interface driver for DW SPI core"
	depends on CONFIG_SPI_DESIGNWARE && CONFIG_PCI

config CONFIG_SPI_DW_MID_DMA
	bool "DMA support for DW SPI controller on Intel MID platform"
	depends on CONFIG_SPI_DW_PCI && CONFIG_DW_DMAC_PCI

config CONFIG_SPI_DW_MMIO
	tristate "Memory-mapped io interface driver for DW SPI core"
	depends on CONFIG_SPI_DESIGNWARE

config CONFIG_SPI_DLN2
       tristate "Diolan DLN-2 USB SPI adapter"
       depends on CONFIG_MFD_DLN2
       help
         If you say yes to this option, support will be included for Diolan
         DLN2, a CONFIG_USB to CONFIG_SPI interface.

         This driver can also be built as a module.  If so, the module
         will be called spi-dln2.

config CONFIG_SPI_EFM32
	tristate "EFM32 SPI controller"
	depends on CONFIG_OF && CONFIG_ARM && (CONFIG_ARCH_EFM32 || CONFIG_COMPILE_TEST)
	select CONFIG_SPI_BITBANG
	help
	  Driver for the spi controller found on Energy Micro's EFM32 SoCs.

config CONFIG_SPI_EP93XX
	tristate "Cirrus Logic EP93xx SPI controller"
	depends on CONFIG_HAS_DMA
	depends on CONFIG_ARCH_EP93XX || CONFIG_COMPILE_TEST
	help
	  This enables using the Cirrus EP93xx CONFIG_SPI controller in master
	  mode.

config CONFIG_SPI_FALCON
	tristate "Falcon SPI controller support"
	depends on CONFIG_SOC_FALCON
	help
	  The external bus unit (EBU) found on the FALC-ON SoC has CONFIG_SPI
	  emulation that is designed for serial flash access. This driver
	  has only been tested with m25p80 type chips. The hardware has no
	  support for other types of CONFIG_SPI peripherals.

config CONFIG_SPI_FSL_LPSPI
	tristate "Freescale i.MX LPSPI controller"
	depends on CONFIG_ARCH_MXC || CONFIG_COMPILE_TEST
	help
	  This enables Freescale i.MX LPSPI controllers in master mode.

config CONFIG_SPI_GPIO
	tristate "GPIO-based bitbanging SPI Master"
	depends on CONFIG_GPIOLIB || CONFIG_COMPILE_TEST
	select CONFIG_SPI_BITBANG
	help
	  This simple GPIO bitbanging CONFIG_SPI master uses the arch-neutral GPIO
	  interface to manage MOSI, MISO, SCK, and chipselect signals.  CONFIG_SPI
	  slaves connected to a bus using this driver are configured as usual,
	  except that the spi_board_info.controller_data holds the GPIO number
	  for the chipselect used by this controller driver.

	  Note that this driver often won't achieve even 1 Mbit/sec speeds,
	  making it unusually slow for CONFIG_SPI.  If your platform can inline
	  GPIO operations, you should be able to leverage that for better
	  speed with a custom version of this driver; see the source code.

config CONFIG_SPI_IMG_SPFI
	tristate "IMG SPFI controller"
	depends on CONFIG_MIPS || CONFIG_COMPILE_TEST
	help
	  This enables support for the SPFI master controller found on
	  IMG SoCs.

config CONFIG_SPI_IMX
	tristate "Freescale i.MX SPI controllers"
	depends on CONFIG_ARCH_MXC || CONFIG_COMPILE_TEST
	select CONFIG_SPI_BITBANG
	help
	  This enables using the Freescale i.MX CONFIG_SPI controllers in master
	  mode.

config CONFIG_SPI_JCORE
	tristate "J-Core SPI Master"
	depends on CONFIG_OF && (CONFIG_SUPERH || CONFIG_COMPILE_TEST)
	help
	  This enables support for the CONFIG_SPI master controller in the J-Core
	  synthesizable, open source SoC.

config CONFIG_SPI_LM70_LLP
	tristate "Parallel port adapter for LM70 eval board (DEVELOPMENT)"
	depends on CONFIG_PARPORT
	select CONFIG_SPI_BITBANG
	help
	  This driver supports the NS LM70 LLP Evaluation Board,
	  which interfaces to an LM70 temperature sensor using
	  a parallel port.

config CONFIG_SPI_LP8841_RTC
	tristate "ICP DAS LP-8841 SPI Controller for RTC"
	depends on CONFIG_MACH_PXA27X_DT || CONFIG_COMPILE_TEST
	help
	  This driver provides an CONFIG_SPI master device to drive Maxim
	  DS-1302 real time clock.

	  Say N here unless you plan to run the kernel on an ICP DAS
	  LP-8x4x industrial computer.

config CONFIG_SPI_MPC52xx
	tristate "Freescale MPC52xx SPI (non-PSC) controller support"
	depends on CONFIG_PPC_MPC52xx
	help
	  This drivers supports the MPC52xx CONFIG_SPI controller in master CONFIG_SPI
	  mode.

config CONFIG_SPI_MPC52xx_PSC
	tristate "Freescale MPC52xx PSC SPI controller"
	depends on CONFIG_PPC_MPC52xx
	help
	  This enables using the Freescale MPC52xx Programmable Serial
	  Controller in master CONFIG_SPI mode.

config CONFIG_SPI_MPC512x_PSC
	tristate "Freescale MPC512x PSC SPI controller"
	depends on CONFIG_PPC_MPC512x
	help
	  This enables using the Freescale MPC5121 Programmable Serial
	  Controller in CONFIG_SPI master mode.

config CONFIG_SPI_FSL_LIB
	tristate
	depends on CONFIG_OF

config CONFIG_SPI_FSL_CPM
	tristate
	depends on CONFIG_FSL_SOC

config CONFIG_SPI_FSL_SPI
	tristate "Freescale SPI controller and Aeroflex Gaisler GRLIB SPI controller"
	depends on CONFIG_OF
	select CONFIG_SPI_FSL_LIB
	select CONFIG_SPI_FSL_CPM if CONFIG_FSL_SOC
	help
	  This enables using the Freescale CONFIG_SPI controllers in master mode.
	  MPC83xx platform uses the controller in cpu mode or CONFIG_CPM/QE mode.
	  MPC8569 uses the controller in QE mode, CONFIG_MPC8610 in cpu mode.
	  This also enables using the Aeroflex Gaisler GRLIB CONFIG_SPI controller in
	  master mode.

config CONFIG_SPI_FSL_DSPI
	tristate "Freescale DSPI controller"
	select CONFIG_REGMAP_MMIO
	depends on CONFIG_HAS_DMA
	depends on CONFIG_SOC_VF610 || CONFIG_SOC_LS1021A || CONFIG_ARCH_LAYERSCAPE || CONFIG_COMPILE_TEST
	help
	  This enables support for the Freescale DSPI controller in master
	  mode. VF610 platform uses the controller.

config CONFIG_SPI_FSL_ESPI
	tristate "Freescale eSPI controller"
	depends on CONFIG_FSL_SOC
	help
	  This enables using the Freescale eSPI controllers in master mode.
	  From MPC8536, 85xx platform uses the controller, and all P10xx,
	  P20xx, P30xx,P40xx, P50xx uses this controller.

config CONFIG_SPI_MESON_SPIFC
	tristate "Amlogic Meson SPIFC controller"
	depends on CONFIG_ARCH_MESON || CONFIG_COMPILE_TEST
	select CONFIG_REGMAP_MMIO
	help
	  This enables master mode support for the SPIFC (CONFIG_SPI flash
	  controller) available in Amlogic Meson SoCs.

config CONFIG_SPI_MT65XX
	tristate "MediaTek SPI controller"
	depends on CONFIG_ARCH_MEDIATEK || CONFIG_COMPILE_TEST
	help
	  This selects the MediaTek(R) CONFIG_SPI bus driver.
	  If you want to use MediaTek(R) CONFIG_SPI interface,
	  say Y or CONFIG_M here.If you are not sure, say N.
	  CONFIG_SPI drivers for Mediatek MT65XX and MT81XX series CONFIG_ARM SoCs.

config CONFIG_SPI_NUC900
	tristate "Nuvoton NUC900 series SPI"
	depends on CONFIG_ARCH_W90X900
	select CONFIG_SPI_BITBANG
	help
	  CONFIG_SPI driver for Nuvoton NUC900 series CONFIG_ARM SoCs

config CONFIG_SPI_OC_TINY
	tristate "OpenCores tiny SPI"
	depends on CONFIG_GPIOLIB || CONFIG_COMPILE_TEST
	select CONFIG_SPI_BITBANG
	help
	  This is the driver for OpenCores tiny CONFIG_SPI master controller.

config CONFIG_SPI_OCTEON
	tristate "Cavium OCTEON SPI controller"
	depends on CONFIG_CAVIUM_OCTEON_SOC
	help
	  CONFIG_SPI host driver for the hardware found on some Cavium OCTEON
	  SOCs.

config CONFIG_SPI_OMAP_UWIRE
	tristate "OMAP1 MicroWire"
	depends on CONFIG_ARCH_OMAP1
	select CONFIG_SPI_BITBANG
	help
	  This hooks up to the MicroWire controller on OMAP1 chips.

config CONFIG_SPI_OMAP24XX
	tristate "McSPI driver for OMAP"
	depends on CONFIG_HAS_DMA
	depends on CONFIG_ARCH_OMAP2PLUS || CONFIG_COMPILE_TEST
	select CONFIG_SG_SPLIT
	help
	  CONFIG_SPI master controller for OMAP24XX and later Multichannel CONFIG_SPI
	  (McSPI) modules.

config CONFIG_SPI_TI_QSPI
	tristate "DRA7xxx QSPI controller support"
	depends on CONFIG_ARCH_OMAP2PLUS || CONFIG_COMPILE_TEST
	help
	  QSPI master controller for DRA7xxx used for flash devices.
	  This device supports single, dual and quad read support, while
	  it only supports single write mode.

config CONFIG_SPI_OMAP_100K
	tristate "OMAP SPI 100K"
	depends on CONFIG_ARCH_OMAP850 || CONFIG_ARCH_OMAP730 || CONFIG_COMPILE_TEST
	help
	  OMAP CONFIG_SPI 100K master controller for omap7xx boards.

config CONFIG_SPI_ORION
	tristate "Orion SPI master"
	depends on CONFIG_PLAT_ORION || CONFIG_ARCH_MVEBU || CONFIG_COMPILE_TEST
	help
	  This enables using the CONFIG_SPI master controller on the Orion
	  and MVEBU chips.

config CONFIG_SPI_PIC32
	tristate "Microchip PIC32 series SPI"
	depends on CONFIG_MACH_PIC32 || CONFIG_COMPILE_TEST
	help
	  CONFIG_SPI driver for Microchip PIC32 CONFIG_SPI master controller.

config CONFIG_SPI_PIC32_SQI
	tristate "Microchip PIC32 Quad SPI driver"
	depends on CONFIG_MACH_PIC32 || CONFIG_COMPILE_TEST
	depends on CONFIG_HAS_DMA
	help
	  CONFIG_SPI driver for PIC32 Quad CONFIG_SPI controller.

config CONFIG_SPI_PL022
	tristate "ARM AMBA PL022 SSP controller"
	depends on CONFIG_ARM_AMBA
	default y if CONFIG_MACH_U300
	default y if CONFIG_ARCH_REALVIEW
	default y if CONFIG_INTEGRATOR_IMPD1
	default y if CONFIG_ARCH_VERSATILE
	help
	  This selects the CONFIG_ARM(R) AMBA(R) PrimeCell PL022 SSP
	  controller. If you have an embedded system with an AMBA(R)
	  bus and a PL022 controller, say Y or CONFIG_M here.

config CONFIG_SPI_PPC4xx
	tristate "PPC4xx SPI Controller"
	depends on CONFIG_PPC32 && CONFIG_4xx
	select CONFIG_SPI_BITBANG
	help
	  This selects a driver for the PPC4xx CONFIG_SPI Controller.

config CONFIG_SPI_PXA2XX
	tristate "PXA2xx SSP SPI master"
	depends on (CONFIG_ARCH_PXA || CONFIG_PCI || CONFIG_ACPI)
	select CONFIG_PXA_SSP if CONFIG_ARCH_PXA
	help
	  This enables using a PXA2xx or Sodaville SSP port as a CONFIG_SPI master
	  controller. The driver can be configured to use any SSP port and
	  additional documentation can be found a Documentation/spi/pxa2xx.

config CONFIG_SPI_PXA2XX_PCI
	def_tristate CONFIG_SPI_PXA2XX && CONFIG_PCI && CONFIG_COMMON_CLK

config CONFIG_SPI_ROCKCHIP
	tristate "Rockchip SPI controller driver"
	help
	  This selects a driver for Rockchip CONFIG_SPI controller.

	  If you say yes to this option, support will be included for
	  RK3066, RK3188 and RK3288 families of CONFIG_SPI controller.
	  Rockchip CONFIG_SPI controller support DMA transport and PIO mode.
	  The main usecase of this controller is to use spi flash as boot
	  device.

config CONFIG_SPI_RB4XX
	tristate "Mikrotik RB4XX SPI master"
	depends on CONFIG_SPI_MASTER && CONFIG_ATH79
	help
	  CONFIG_SPI controller driver for the Mikrotik RB4xx series boards.

config CONFIG_SPI_RSPI
	tristate "Renesas RSPI/QSPI controller"
	depends on CONFIG_SUPERH || CONFIG_ARCH_RENESAS || CONFIG_COMPILE_TEST
	help
	  CONFIG_SPI driver for Renesas RSPI and QSPI blocks.

config CONFIG_SPI_QUP
	tristate "Qualcomm SPI controller with QUP interface"
	depends on CONFIG_ARCH_QCOM || (CONFIG_ARM && CONFIG_COMPILE_TEST)
	help
	  Qualcomm Universal Peripheral (QUP) core is an AHB slave that
	  provides a common data path (an output FIFO and an input FIFO)
	  for serial peripheral interface (CONFIG_SPI) mini-core. CONFIG_SPI in master
	  mode supports up to 50MHz, up to four chip selects, programmable
	  data path from 4 bits to 32 bits and numerous protocol variants.

	  This driver can also be built as a module.  If so, the module
	  will be called spi_qup.

config CONFIG_SPI_S3C24XX
	tristate "Samsung S3C24XX series SPI"
	depends on CONFIG_ARCH_S3C24XX
	select CONFIG_SPI_BITBANG
	help
	  CONFIG_SPI driver for Samsung S3C24XX series CONFIG_ARM SoCs

config CONFIG_SPI_S3C24XX_FIQ
	bool "S3C24XX driver with FIQ pseudo-DMA"
	depends on CONFIG_SPI_S3C24XX
	select CONFIG_FIQ
	help
	  Enable CONFIG_FIQ support for the S3C24XX CONFIG_SPI driver to provide pseudo
	  DMA by using the fast-interrupt request framework, This allows
	  the driver to get DMA-like performance when there are either
	  no free DMA channels, or when doing transfers that required both
	  TX and RX data paths.

config CONFIG_SPI_S3C64XX
	tristate "Samsung S3C64XX series type SPI"
	depends on (CONFIG_PLAT_SAMSUNG || CONFIG_ARCH_EXYNOS || CONFIG_COMPILE_TEST)
	help
	  CONFIG_SPI driver for Samsung S3C64XX and newer SoCs.

config CONFIG_SPI_SC18IS602
	tristate "NXP SC18IS602/602B/603 I2C to SPI bridge"
	depends on CONFIG_I2C
	help
	  CONFIG_SPI driver for NXP SC18IS602/602B/603 CONFIG_I2C to CONFIG_SPI bridge.

config CONFIG_SPI_SH_MSIOF
	tristate "SuperH MSIOF SPI controller"
	depends on CONFIG_HAVE_CLK && CONFIG_HAS_DMA
	depends on CONFIG_ARCH_SHMOBILE || CONFIG_ARCH_RENESAS || CONFIG_COMPILE_TEST
	help
	  CONFIG_SPI driver for SuperH and SH Mobile MSIOF blocks.

config CONFIG_SPI_SH
	tristate "SuperH SPI controller"
	depends on CONFIG_SUPERH || CONFIG_COMPILE_TEST
	help
	  CONFIG_SPI driver for SuperH CONFIG_SPI blocks.

config CONFIG_SPI_SH_SCI
	tristate "SuperH SCI SPI controller"
	depends on CONFIG_SUPERH
	select CONFIG_SPI_BITBANG
	help
	  CONFIG_SPI driver for SuperH SCI blocks.

config CONFIG_SPI_SH_HSPI
	tristate "SuperH HSPI controller"
	depends on CONFIG_ARCH_RENESAS || CONFIG_COMPILE_TEST
	help
	  CONFIG_SPI driver for SuperH HSPI blocks.

config CONFIG_SPI_SIRF
	tristate "CSR SiRFprimaII SPI controller"
	depends on CONFIG_SIRF_DMA
	select CONFIG_SPI_BITBANG
	help
	  CONFIG_SPI driver for CSR SiRFprimaII SoCs

config CONFIG_SPI_ST_SSC4
	tristate "STMicroelectronics SPI SSC-based driver"
	depends on CONFIG_ARCH_STI || CONFIG_COMPILE_TEST
	help
	  STMicroelectronics SoCs support for CONFIG_SPI. If you say yes to
	  this option, support will be included for the SSC driven CONFIG_SPI.

config CONFIG_SPI_SUN4I
	tristate "Allwinner A10 SoCs SPI controller"
	depends on CONFIG_ARCH_SUNXI || CONFIG_COMPILE_TEST
	help
	  CONFIG_SPI driver for Allwinner sun4i, sun5i and sun7i SoCs

config CONFIG_SPI_SUN6I
	tristate "Allwinner A31 SPI controller"
	depends on CONFIG_ARCH_SUNXI || CONFIG_COMPILE_TEST
	depends on CONFIG_RESET_CONTROLLER
	help
	  This enables using the CONFIG_SPI controller on the Allwinner A31 SoCs.

config CONFIG_SPI_MXS
	tristate "Freescale MXS SPI controller"
	depends on CONFIG_ARCH_MXS
	select CONFIG_STMP_DEVICE
	help
	  CONFIG_SPI driver for Freescale MXS devices.

config CONFIG_SPI_TEGRA114
	tristate "NVIDIA Tegra114 SPI Controller"
	depends on (CONFIG_ARCH_TEGRA && CONFIG_TEGRA20_APB_DMA) || CONFIG_COMPILE_TEST
	depends on CONFIG_RESET_CONTROLLER && CONFIG_HAS_DMA
	help
	  CONFIG_SPI driver for NVIDIA Tegra114 CONFIG_SPI Controller interface. This controller
	  is different than the older SoCs CONFIG_SPI controller and also register interface
	  get changed with this controller.

config CONFIG_SPI_TEGRA20_SFLASH
	tristate "Nvidia Tegra20 Serial flash Controller"
	depends on CONFIG_ARCH_TEGRA || CONFIG_COMPILE_TEST
	depends on CONFIG_RESET_CONTROLLER
	help
	  CONFIG_SPI driver for Nvidia Tegra20 Serial flash Controller interface.
	  The main usecase of this controller is to use spi flash as boot
	  device.

config CONFIG_SPI_TEGRA20_SLINK
	tristate "Nvidia Tegra20/Tegra30 SLINK Controller"
	depends on (CONFIG_ARCH_TEGRA && CONFIG_TEGRA20_APB_DMA) || CONFIG_COMPILE_TEST
	depends on CONFIG_RESET_CONTROLLER && CONFIG_HAS_DMA
	help
	  CONFIG_SPI driver for Nvidia Tegra20/Tegra30 SLINK Controller interface.

config CONFIG_SPI_THUNDERX
	tristate "Cavium ThunderX SPI controller"
	depends on CONFIG_PCI && CONFIG_64BIT && (CONFIG_ARM64 || CONFIG_COMPILE_TEST)
	help
	  CONFIG_SPI host driver for the hardware found on Cavium ThunderX
	  SOCs.

config CONFIG_SPI_TOPCLIFF_PCH
	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7213/ML7223/ML7831) SPI"
	depends on CONFIG_PCI && (CONFIG_X86_32 || CONFIG_MIPS || CONFIG_COMPILE_TEST)
	help
	  CONFIG_SPI driver for the Topcliff PCH (Platform Controller Hub) CONFIG_SPI bus
	  used in some x86 embedded processors.

	  This driver also supports the ML7213/ML7223/ML7831, a companion chip
	  for the Atom E6xx series and compatible with the Intel EG20T PCH.

config CONFIG_SPI_TXX9
	tristate "Toshiba TXx9 SPI controller"
	depends on CONFIG_GPIOLIB && (CONFIG_CPU_TX49XX || CONFIG_COMPILE_TEST)
	help
	  CONFIG_SPI driver for Toshiba TXx9 CONFIG_MIPS SoCs

config CONFIG_SPI_XCOMM
	tristate "Analog Devices AD-FMCOMMS1-EBZ SPI-I2C-bridge driver"
	depends on CONFIG_I2C
	help
	  Support for the CONFIG_SPI-CONFIG_I2C bridge found on the Analog Devices
	  AD-FMCOMMS1-EBZ board.

config CONFIG_SPI_XILINX
	tristate "Xilinx SPI controller common module"
	depends on CONFIG_HAS_IOMEM
	select CONFIG_SPI_BITBANG
	help
	  This exposes the CONFIG_SPI controller IP from the Xilinx EDK.

	  See the "OPB Serial Peripheral Interface (SPI) (v1.00e)"
	  Product Specification document (DS464) for hardware details.

	  Or for the DS570, see "XPS Serial Peripheral Interface (SPI) (v2.00b)"

config CONFIG_SPI_XLP
	tristate "Netlogic XLP SPI controller driver"
	depends on CONFIG_CPU_XLP || CONFIG_ARCH_VULCAN || CONFIG_COMPILE_TEST
	help
	  Enable support for the CONFIG_SPI controller on the Netlogic XLP SoCs.
	  Currently supported XLP variants are XLP8XX, XLP3XX, XLP2XX, XLP9XX
	  and XLP5XX.

	  If you have a Netlogic XLP platform say Y here.
	  If unsure, say N.

config CONFIG_SPI_XTENSA_XTFPGA
	tristate "Xtensa SPI controller for xtfpga"
	depends on (CONFIG_XTENSA && CONFIG_XTENSA_PLATFORM_XTFPGA) || CONFIG_COMPILE_TEST
	select CONFIG_SPI_BITBANG
	help
	  CONFIG_SPI driver for xtfpga CONFIG_SPI master controller.

	  This simple CONFIG_SPI master controller is built into xtfpga bitstreams
	  and is used to control daughterboard audio codec. It always transfers
	  16 bit words in CONFIG_SPI mode 0, automatically asserting CS on transfer
	  start and deasserting on end.

config CONFIG_SPI_ZYNQMP_GQSPI
	tristate "Xilinx ZynqMP GQSPI controller"
	depends on CONFIG_SPI_MASTER && CONFIG_HAS_DMA
	help
	  Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.

#
# Add new CONFIG_SPI master controllers in alphabetical order above this line
#

#
# There are lots of CONFIG_SPI device types, with sensors and memory
# being probably the most widely used ones.
#
comment "SPI Protocol Masters"

config CONFIG_SPI_SPIDEV
	tristate "User mode SPI device driver support"
	help
	  This supports user mode CONFIG_SPI protocol drivers.

	  Note that this application programming interface is EXPERIMENTAL
	  and hence SUBJECT TO CHANGE WITHOUT NOTICE while it stabilizes.

config CONFIG_SPI_LOOPBACK_TEST
	tristate "spi loopback test framework support"
	depends on m
	help
	  This enables the CONFIG_SPI loopback testing framework driver

	  primarily used for development of spi_master drivers
	  and to detect regressions

config CONFIG_SPI_TLE62X0
	tristate "Infineon TLE62X0 (for power switching)"
	depends on CONFIG_SYSFS
	help
	  CONFIG_SPI driver for Infineon TLE62X0 series line driver chips,
	  such as the TLE6220, TLE6230 and TLE6240.  This provides a
	  sysfs interface, with each line presented as a kind of GPIO
	  exposing both switch control and diagnostic feedback.

#
# Add new CONFIG_SPI protocol masters in alphabetical order above this line
#

endif # CONFIG_SPI_MASTER

# (slave support would go here)

endif # CONFIG_SPI