u-boot/drivers
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
..
adc sandbox: add ADC driver 2015-11-02 10:38:00 +09:00
bios_emulator Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
block Fix GCC format-security errors and convert sprintfs. 2016-01-14 22:11:34 -05:00
bootcount bootcount: Correct #endif comment to match, other aesthetics 2016-01-08 10:15:43 -05:00
clk rockchip: spl: Support full-speed CPU in SPL 2016-01-21 20:42:37 -07:00
core dm: core: Export uclass_find_device_by_of_offset() 2016-01-21 20:42:35 -07:00
cpu x86: Move MP initialization codes into a common place 2015-07-14 18:03:16 -06:00
crypto drivers/crypto/fsl: fix endianness issue in RNG 2015-12-15 08:57:35 +08:00
ddr Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
demo drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
dfu mmc: store hwpart in the block device 2016-01-13 21:05:19 -05:00
dma dma: keystone_nav: Fix linkram size 2015-10-22 14:22:22 -04:00
fpga arm: socfpga: set the fpga global bit to disable HPS to FPGA signals 2016-01-16 07:07:22 +01:00
gpio rockchip: gpio: Implement the get_function() method 2016-01-21 20:42:35 -07:00
hwmon Fix bad return value checks (detected with Coccinelle) 2015-10-24 13:50:30 -04:00
i2c dm: i2c: Allow muxes to be enabled for SPL separately 2016-01-21 20:42:35 -07:00
input Move console definitions into a new console.h file 2015-11-19 20:27:50 -07:00
led dm: led: Tidy up SPL options for the led and led-gpio 2015-09-02 21:28:22 -06:00
memory Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
misc cros_ec: Disable the Chrome OS EC in SPL 2016-01-21 20:42:35 -07:00
mmc rockchip: Use a separate clock ID for clocks 2016-01-21 20:42:34 -07:00
mtd spi: Correct device tree usage in spi_flash_decode_fdt() 2016-01-21 20:42:35 -07:00
net net: pcnet: refactor mapping of virtual addresses to physical ones 2016-01-16 21:06:46 +01:00
pch dm: x86: Add a driver for Intel PCH9 2016-01-24 12:07:17 +08:00
pci dm: pci: Avoid using pci_bus_to_hose() in the uclass 2016-01-24 12:07:17 +08:00
pcmcia powerpc: mpc824x: remove MPC824X cpu support 2015-01-05 12:08:55 -05:00
pinctrl rockchip: rk3288: pinctrl: Fix HDMI pinctrl 2016-01-21 20:42:37 -07:00
power dm: power: Allow regulators to not implement all operations 2016-01-21 20:42:35 -07:00
pwm pwm: rockchip: Add a PWM driver for Rockchip SoCs 2016-01-21 20:42:36 -07:00
qe driver/qe: use strncpy instead of strcpy 2015-08-03 12:06:36 -07:00
ram ram: rename CONFIG_SPL_RAM_SUPPORT to CONFIG_SPL_RAM 2015-08-18 13:46:02 -04:00
remoteproc drivers: remoteproc: rproc-uclass: Fix check for NULL pointers 2015-12-05 18:22:32 -05:00
rtc rtc: Add MCP79411 support to DS1307 rtc driver 2015-11-04 15:19:12 -08:00
serial dm: video: sandbox: Convert sandbox to use driver model for video 2016-01-20 19:10:16 -07:00
soc Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
sound of: clean up OF_CONTROL ifdef conditionals 2015-08-18 13:46:05 -04:00
spi dm: x86: spi: Convert ICH SPI driver to driver model PCI API 2016-01-24 12:07:17 +08:00
thermal imx: mx7: fix the temperature checking for Rev1.1 2016-01-07 17:53:11 +01:00
timer timer: sandbox: work without device tree 2016-01-20 19:06:23 -07:00
tpm dm: tpm: Drop CONFIG_DM_TPM 2015-10-23 09:42:28 -06:00
twserial drivers: convert makefiles to Kbuild style 2013-10-31 13:26:01 -04:00
usb Add more SPDX-License-Identifier tags 2016-01-19 08:31:21 -05:00
video rockchip: video: Add a video-output driver 2016-01-21 20:42:36 -07:00
watchdog imx_watchdog: always set minimal timeout in reset_cpu 2016-01-07 17:54:53 +01:00
Kconfig dm: pwm: Add a PWM uclass 2016-01-21 20:42:36 -07:00
Makefile dm: Expand the uclass for Platform Controller Hubs (PCH) 2016-01-24 12:07:17 +08:00