From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chew Chiau Ee Subject: [PATCH 0/2] Add PCI mode support for BayTrail LPSS SPI Date: Fri, 18 Apr 2014 00:26:05 +0800 Message-ID: <1397751967-20250-1-git-send-email-chiau.ee.chew@intel.com> Cc: Chew Chiau Ee , Mika Westerberg , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org To: Eric Miao , Russell King , Haojian Zhuang , Mark Brown Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-spi.vger.kernel.org From: Chew, Chiau Ee Hi, BayTrail LPSS subsystem consists of one SPI host which can be PCI enumerated. PXA2XX PCI layer used to support only CE4100's SPI. Thus, we convert it into a generic PCI layer to add support for LPSS SPI as well. Since PCI mode LPSS SPI does not rely on common clock framework, we need a mechanism to pass in the host supported clock rate to core layer. Thus, we introduced a new member known as "max_clk_rate" under struct pxa2xx_spi_master which can be used in PCI glue layer to pass in host supported clock rate info. Chew, Chiau Ee (2): spi/pxa2xx-pci: Add PCI mode support for BayTrail LPSS SPI spi/pxa2xx-pci: Pass host clock rate info from PCI glue layer Documentation/spi/pxa2xx | 3 ++ drivers/spi/spi-pxa2xx-pci.c | 79 ++++++++++++++++++++++++++++++++-------- drivers/spi/spi-pxa2xx.c | 2 + include/linux/spi/pxa2xx_spi.h | 1 + 4 files changed, 70 insertions(+), 15 deletions(-) -- 1.7.4.4