kernel_optimize_test/drivers/spi
Grant Likely bb29785e0d spi/of: Use DT aliases for assigning bus number
Linux assigns a number to each spi_master in the system, but when the
platform used the device tree, the numbers are dynamically assigned and
are not predictable. In general this shouldn't matter since the kernel
doesn't use the bus number for anything other than matching a bus to
spi_boardinfo (not used for DT). However, sometimes userspace needs to
figure out which bus is which, so it makes sense to use the global
/aliases namespace to choose a specific bus number.

It is safe to derive the bus number from an alias because aliases will
never cause two buses to try and use the same bus number. (At one time
the cell-index property was used for this purpose, but cell-index has
the risk of an id collision).

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-02-05 12:26:59 +00:00
..
Kconfig spi/sh: Add SH Mobile series as dependency to MSIOF controller 2012-12-06 14:05:54 +00:00
Makefile spi/stmp: remove obsolete driver 2012-12-06 14:02:53 +00:00
spi-altera.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-ath79.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-atmel.c spi/atmel: add DT support 2012-12-17 17:11:32 +00:00
spi-au1550.c spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07:00
spi-bcm63xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-bfin5xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-bfin-sport.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-bitbang-txrx.h
spi-bitbang.c spi/bitbang: (cosmetic) simplify list manipulation 2012-11-14 15:38:15 +00:00
spi-butterfly.c
spi-clps711x.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-coldfire-qspi.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-davinci.c spi/davinci: add OF support for the spi controller 2013-02-05 12:26:57 +00:00
spi-dw-mid.c
spi-dw-mmio.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-dw-pci.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-dw.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-dw.h
spi-ep93xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-falcon.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-fsl-espi.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-fsl-lib.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-fsl-lib.h
spi-fsl-spi.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-gpio.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-imx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-lm70llp.c spi: By default setup spi_masters with 1 chipselect and dynamics bus number 2012-05-19 23:42:08 -06:00
spi-mpc52xx-psc.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-mpc52xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-mpc512x-psc.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-mxs.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-nuc900.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-oc-tiny.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-octeon.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-omap2-mcspi.c spi/omap2: disable DMA requests before complete() 2013-02-05 12:26:57 +00:00
spi-omap-100k.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-omap-uwire.c ARM: OMAP1: Make plat/mux.h omap1 only 2012-09-20 14:54:57 -07:00
spi-orion.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-pl022.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-ppc4xx.c spi: fix comment/printk typos in spi 2012-09-01 08:53:27 -07:00
spi-pxa2xx-pci.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-pxa2xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-rspi.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-s3c24xx-fiq.h
spi-s3c24xx-fiq.S
spi-s3c24xx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-s3c64xx.c spi: Change FIFO flush operation and spi channel off 2012-12-15 00:49:34 +00:00
spi-sc18is602.c spi/sc18is602: Return -EINVAL for probe failures due to I2C function mismatch 2012-08-23 12:13:54 +01:00
spi-sh-hspi.c spi/sh-hspi: fix return value check in hspi_probe(). 2012-12-19 15:11:41 +00:00
spi-sh-msiof.c spi/sh-msiof: Add device tree parsing to driver 2013-02-05 12:26:58 +00:00
spi-sh-sci.c
spi-sh.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-sirf.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-tegra20-sflash.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-tegra20-slink.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-ti-ssp.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-tle62x0.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-topcliff-pch.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-txx9.c
spi-xcomm.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi-xilinx.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00
spi.c spi/of: Use DT aliases for assigning bus number 2013-02-05 12:26:59 +00:00
spidev.c spi: Remove HOTPLUG section attributes 2012-12-07 17:06:43 +00:00