u-boot-brain/arch
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
..
arc Fix board init code to respect the C runtime environment 2016-01-13 21:05:17 -05:00
arm rockchip: Add support for Raxda Rock 2 2016-01-21 20:42:37 -07:00
avr32 avr32: Use the generic bitops headers 2015-11-05 10:52:31 -05:00
blackfin Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
m68k m68k: M54418TWR: drop board/freescale/m54418twr/config.mk 2016-01-20 10:19:34 -05:00
microblaze Fix board init code to respect the C runtime environment 2016-01-13 21:05:17 -05:00
mips MIPS: implement bit manipulating I/O accessors 2016-01-16 21:06:46 +01:00
nds32 nds32: Fix compile error. 2016-01-21 10:41:43 +08:00
nios2 Fix board init code to respect the C runtime environment 2016-01-13 21:05:17 -05:00
openrisc openrisc: updating build tools naming convention 2015-11-12 18:13:20 -05:00
powerpc Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
sandbox dm: video: test: Add tests for the video uclass 2016-01-20 19:10:16 -07:00
sh Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
sparc sparc: Remove non-generic board init files: board.c, time.c 2015-12-03 13:15:50 +02:00
x86 dm: x86: spi: Convert ICH SPI driver to driver model PCI API 2016-01-24 12:07:17 +08:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig MIPS: add initial infrastructure for device-tree files 2016-01-16 21:06:45 +01:00