spi: ich: Use compatible strings to distinguish controller version
authorBin Meng <bmeng.cn@gmail.com>
Mon, 1 Feb 2016 09:40:37 +0000 (01:40 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 5 Feb 2016 04:47:20 +0000 (12:47 +0800)
commit1f9eb59d273983ba8c65368120285ac6425476f7
tree00992dcbc6c9247cdddd4d3abee40b4bc4160d0d
parent9eb4339ba45fc7147b013c8e8d579ebc6d8d1bdb
spi: ich: Use compatible strings to distinguish controller version

At present ich spi driver gets the controller version information via
pch, but this can be simply retrieved via spi node's compatible string.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Tested-by: Simon Glass <sjg@chromium.org>
arch/x86/dts/bayleybay.dts
arch/x86/dts/broadwell_som-6896.dts
arch/x86/dts/chromebook_link.dts
arch/x86/dts/chromebox_panther.dts
arch/x86/dts/crownbay.dts
arch/x86/dts/galileo.dts
arch/x86/dts/minnowmax.dts
drivers/spi/ich.c