u-boot/drivers/spi
Walter Lozano addf358bac core: add support for U_BOOT_DRIVER_ALIAS
Currently when using OF_PLATDATA the binding between devices and drivers
is done trying to match the compatible string in the node with a driver
name. However, usually a single driver supports multiple compatible strings
which causes that only devices which its compatible string matches a
driver name get bound.

To overcome this issue, this patch adds the U_BOOT_DRIVER_ALIAS macro,
which generates no code at all, but allows an easy way to declare driver
name aliases. Thanks to this, dtoc could be improve to look for the driver
name based on its alias when it populates the U_BOOT_DEVICE entry.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-07-09 18:57:22 -06:00
..
altera_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
atcspi200_spi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ath79_spi.c common: Move clock functions into a new file 2020-01-17 13:27:29 -05:00
atmel_spi.c spi: atmel: Drop atmel_spi.h 2020-06-11 15:14:04 +05:30
atmel_spi.h spi: atmel: Remove nondm code 2020-06-11 15:14:04 +05:30
atmel-quadspi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bcm63xx_hsspi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bcm63xx_spi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bcmstb_spi.c board: arm: Add support for Broadcom BCM7445 2018-07-10 16:55:57 -04:00
cadence_qspi_apb.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
cadence_qspi.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cadence_qspi.h spi: cadence-qspi: Add direct mode support 2020-01-27 22:27:22 +05:30
cf_spi.c spi Drop spi_init() 2020-06-01 17:55:24 +05:30
davinci_spi.c spi: davinci: Drop non-dm code 2020-06-11 15:14:04 +05:30
designware_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
exynos_spi.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
fsl_dspi.c spi: fsl_dspi: Drop nondm code 2020-06-11 15:14:04 +05:30
fsl_espi.c dm: spi: Convert Freescale ESPI driver to driver model 2020-06-18 21:47:08 +05:30
fsl_qspi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ich.c x86: spi: Rewrite logic for obtaining the SPI memory map 2020-06-02 09:16:13 +08:00
ich.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Kconfig spi: davinci: Drop non-dm code 2020-06-11 15:14:04 +05:30
kirkwood_spi.c spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI* 2020-06-29 13:34:43 -04:00
Makefile Convert CONFIG_CADENCE_QSPI to Kconfig 2020-06-29 13:34:43 -04:00
meson_spifc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mpc8xx_spi.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mpc8xxx_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mscc_bb_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mt7621_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mtk_snfi_spi.c spi: add spi-mem driver for MediaTek MT7629 SoC 2019-07-25 18:52:12 +05:30
mvebu_a3700_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mxc_spi.c spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI* 2020-06-29 13:34:43 -04:00
mxs_spi.c core: add support for U_BOOT_DRIVER_ALIAS 2020-07-09 18:57:22 -06:00
nxp_fspi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
omap3_spi.c spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI* 2020-06-29 13:34:43 -04:00
pic32_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
pl022_spi.c dm: platform_data: spi: s/pl022_spi.h/spi_pl022.h 2018-11-27 21:06:46 +05:30
renesas_rpc_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rk_spi.c core: add support for U_BOOT_DRIVER_ALIAS 2020-07-09 18:57:22 -06:00
rk_spi.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sandbox_spi.c drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
sh_qspi.c spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI* 2020-06-29 13:34:43 -04:00
soft_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
spi-emul-uclass.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
spi-mem-nodm.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spi-mem.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spi-sifive.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
spi-sunxi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
spi-uclass.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
spi.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
stm32_qspi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
stm32_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tegra20_sflash.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tegra20_slink.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tegra114_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tegra210_qspi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tegra_spi.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
ti_qspi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
uniphier_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
xilinx_spi.c spi: zynq_[q]spi: Convert config's to macro's 2020-06-24 13:11:08 +02:00
zynq_qspi.c spi: zynq_[q]spi: Convert config's to macro's 2020-06-24 13:11:08 +02:00
zynq_spi.c spi: zynq_[q]spi: Convert config's to macro's 2020-06-24 13:11:08 +02:00
zynqmp_gqspi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00