From: Andy Shevchenko Date: Wed, 7 Jan 2015 15:15:00 +0000 (+0200) Subject: spi: dw-pci: describe Intel MID controllers better X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~168^2~5^5~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d58cf5ff6500522880683ce90d9caa79af385ed8;p=pandora-kernel.git spi: dw-pci: describe Intel MID controllers better There are more that one SPI controller on the Intel MID boards. This patch describes the status and IDs of them. From now on we also have to care about bus number that must be unique per host. According to the specification the SPI1 has 5 bits for chip selects and SPI2 only 2 bits. The patch makes it depend to PCI ID. The first controller (SPI1) is DMA capable, meanwhile SPI2 can share same channels (via software switch) such functionality is not in the scope of this patch. Thus, attempt to init DMA for SPI2 will always fail for now. Signed-off-by: Andy Shevchenko Signed-off-by: Mark Brown --- Reading git-diff-tree failed