u-boot-brain/arch/x86/cpu/ivybridge
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
..
bd82x6x.c dm: x86: spi: Convert ICH SPI driver to driver model PCI API 2016-01-24 12:07:17 +08:00
car.S x86: ivybridge: Fix car_uninit() to correctly set run state 2015-10-21 07:46:51 -06:00
cpu.c x86: Remove HAVE_ACPI_RESUME 2015-12-09 17:44:56 +08:00
early_init.c x86: Add a x86_ prefix to the x86-specific PCI functions 2015-04-16 19:27:41 -06:00
early_me.c x86: ivybridge: Use reset_cpu() 2015-04-29 21:02:32 -06:00
gma.c dm: pci: video: Convert video and pci_rom to use DM PCI API 2016-01-12 10:19:09 -07:00
gma.h x86: Add initial video device init for Intel GMA 2014-11-25 07:11:16 -07:00
Kconfig x86: ivybridge: Do not require HAVE_INTEL_ME 2016-01-13 12:20:15 +08:00
lpc.c x86: Remove HAVE_ACPI_RESUME 2015-12-09 17:44:56 +08:00
Makefile x86: Move mrccache.[c|h] to a common place 2015-10-21 07:46:26 -06:00
me_status.c x86: ivybridge: Implement SDRAM init 2014-11-21 07:34:15 +01:00
microcode_intel.c x86: ivybridge: Update microcode early in boot 2015-01-13 07:25:02 -08:00
model_206ax.c x86: Clean up lapic codes 2015-07-14 18:03:16 -06:00
northbridge.c x86: Remove HAVE_ACPI_RESUME 2015-12-09 17:44:56 +08:00
pch.c x86: Add a x86_ prefix to the x86-specific PCI functions 2015-04-16 19:27:41 -06:00
pci.c dm: x86: pci: Convert chromebook_link to use driver model for pci 2015-04-18 11:11:09 -06:00
report_platform.c x86: Add a x86_ prefix to the x86-specific PCI functions 2015-04-16 19:27:41 -06:00
sata.c x86: Add a x86_ prefix to the x86-specific PCI functions 2015-04-16 19:27:41 -06:00
sdram.c x86: ivybridge: Enable the MRC cache 2015-10-21 07:46:51 -06:00
usb_ehci.c x86: Add a x86_ prefix to the x86-specific PCI functions 2015-04-16 19:27:41 -06:00
usb_xhci.c x86: Add a x86_ prefix to the x86-specific PCI functions 2015-04-16 19:27:41 -06:00