u-boot-brain/drivers/spi
Simon Glass f2b85ab5e6 dm: x86: spi: Convert ICH SPI driver to driver model PCI API
At present this SPI driver works by searching the PCI buses for its
peripheral. It also uses the legacy PCI API.

In addition the driver has code to determine the type of Intel PCH that is
used (version 7 or version 9). Now that we have proper PCH drivers we can
use those to obtain the information we need.

While the device tree has a node for the SPI peripheral it is not in the
right place. It should be on the PCI bus as a sub-peripheral of the LPC
device.

Update the device tree files to show the SPI controller within the PCH, so
that PCI access works as expected.

This patch includes Bin's fix-up patch from here:

   https://patchwork.ozlabs.org/patch/569478/

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
2016-01-24 12:07:17 +08:00
..
altera_spi.c altera_spi: change ioremap to map_physmem 2015-11-18 21:18:30 +08:00
armada100_spi.c
atmel_dataflash_spi.c
atmel_spi.c
atmel_spi.h spi: atmel_spi: Use GENMASK 2015-10-27 23:21:42 +05:30
bfin_spi6xx.c Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
bfin_spi.c Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
cadence_qspi_apb.c spi: cadence_qspi_apb: Use BIT macro 2015-10-27 23:19:29 +05:30
cadence_qspi.c spi: cadence_qspi: Ensure check for max frequency in place 2015-11-05 02:34:15 +01:00
cadence_qspi.h spi: cadence_qspi: Ensure spi_calibration is run when sclk change 2015-11-05 02:34:15 +01:00
cf_qspi.c spi: cf_qspi: fix clamp macro type check compilation warnings 2015-07-01 22:58:50 +05:30
cf_spi.c
davinci_spi.c bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
designware_spi.c spi: designware_spi: Use GENMASK 2015-10-27 23:21:43 +05:30
ep93xx_spi.c bitops: introduce BIT() definition 2015-09-11 17:15:32 -04:00
exynos_spi.c dm: Use dev_get_addr() where possible 2015-08-31 07:57:26 -06:00
fsl_dspi.c spi: fsl: Use BIT macro 2015-10-27 23:19:29 +05:30
fsl_espi.c spi: fsl: Use BIT macro 2015-10-27 23:19:29 +05:30
fsl_qspi.c spi: fsl_qspi: fix an error of using GENMASK 2016-01-07 20:29:33 +05:30
fsl_qspi.h
ich.c dm: x86: spi: Convert ICH SPI driver to driver model PCI API 2016-01-24 12:07:17 +08:00
ich.h
Kconfig spi: Kconfig: Fix correct target name for ZynqMP 2015-12-11 22:12:23 +05:30
kirkwood_spi.c spi: kirkwood_spi.c: Add driver model support 2016-01-14 14:08:59 +01:00
lpc32xx_ssp.c
Makefile Tegra: T210: Add QSPI driver 2015-11-12 09:21:07 -07:00
mpc8xxx_spi.c spi: mpc8xxx_spi: Use BIT macro 2015-10-27 23:21:28 +05:30
mpc52xx_spi.c
mxc_spi.c
mxs_spi.c Move ALLOC_CACHE_ALIGN_BUFFER() to the new memalign.h header 2015-09-11 17:15:20 -04:00
omap3_spi.c spi: omap3: Fix timeout handling 2015-04-27 21:08:42 +05:30
omap3_spi.h spi: omap3_spi: Use GENMASK 2015-10-27 23:21:43 +05:30
rk_spi.c rockchip: spi: Remove the explicit pinctrl setting 2016-01-21 20:42:36 -07:00
rk_spi.h rockchip: Add SPI driver 2015-09-02 21:28:24 -06:00
sandbox_spi.c
sh_qspi.c Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
sh_spi.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
sh_spi.h Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
soft_spi_legacy.c
soft_spi.c dm: Rename dev_get_parentdata() to dev_get_parent_priv() 2015-10-23 09:42:28 -06:00
spi-emul-uclass.c
spi-uclass.c spi: Add support for dual and quad mode 2016-01-13 18:47:27 +05:30
spi.c
tegra20_sflash.c spi: tegra: Use GENMASK 2015-10-27 23:21:43 +05:30
tegra20_slink.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
tegra114_spi.c Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
tegra210_qspi.c Tegra: T210: Add QSPI driver 2015-11-12 09:21:07 -07:00
tegra_spi.h
ti_qspi.c spi: ti_qspi: Use 4-byte opcode for mmap read 2016-01-20 10:19:33 -05:00
xilinx_spi.c spi: xilinx: Add new compatible strings 2015-12-11 22:12:24 +05:30
zynq_qspi.c spi: zynq_qspi: Add configuration to disable LQSPI feature 2015-12-18 13:15:57 +01:00
zynq_spi.c spi: zynq_spi: Add cadence compatible string 2015-12-11 22:12:23 +05:30