mfd: lpc_ich: Add support for Intel Apollo Lake SoC
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 28 Nov 2016 12:06:26 +0000 (15:06 +0300)
committerLee Jones <lee.jones@linaro.org>
Tue, 3 Jan 2017 17:34:16 +0000 (17:34 +0000)
commit87eb832ae9748fab00588b98c2e33e89de065438
tree624bd7d0377b0266d79a83e790a05bea93adf3bd
parentff00d7a32a1b88b772981a13fc198e0d29300666
mfd: lpc_ich: Add support for Intel Apollo Lake SoC

Intel Apollo Lake SoC exposes serial SPI flash through the LPC device. The
SPI flash host controller is not discoverable through PCI config cycles
because P2SB (function 0 of the device 13) is hidden by the BIOS. We unhide
the device briefly in order to read BAR 0 of the SPI host controller.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/lpc_ich.c