Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754868AbaJHH6w (ORCPT ); Wed, 8 Oct 2014 03:58:52 -0400 Received: from mga03.intel.com ([134.134.136.65]:27949 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753987AbaJHH6p (ORCPT ); Wed, 8 Oct 2014 03:58:45 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,675,1406617200"; d="scan'208";a="615011240" From: Weike Chen To: Eric Miao , Russell King , Haojian Zhuang , Mark Brown Cc: linux-arm-kernel@lists.infradead.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Westerberg , Hock Leong Kweh , Boon Leong Ong , Raymond Tan , Alvin Chen , Andy Shevchenko Subject: [PATCH 0/2 v3] SPI: spi-pxa2xx: Add support for Intel Quark X1000 SPI controller Date: Wed, 8 Oct 2014 08:50:21 -0700 Message-Id: <1412783423-9408-1-git-send-email-alvin.chen@intel.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Intel Quark X1000 consists of two SPI controllers which can be PCI enumerated. SPI-PXA2XX PCI layer doesn't support it. Thus, we add support for Intel Quark X1000 SPI as well. --- v3: [PATCH 1/2] * Improve the commit message. * A couple of minor fixes. [PATCH 2/2] * Set '.num_chipselect' to '1' instead of '4'. * A couple of minor fixes. v2: Split into two patches: one is for helper functions, and another is for quark supporting. [PATCH 1/2] * Add helper functions to access registers. * Use 'switch' instead of 'if-else'. [PATCH 2/2] * Use 'switch' instead of 'if-else'. * Add comments for the 'dds'&'clk_div' caculation. * A couple of minor fixes. Weike Chen (2): SPI: spi-pxa2xx: Add helpers for regiseters' accessing SPI: spi-pxa2xx: SPI support for Intel Quark X1000 drivers/spi/spi-pxa2xx-pci.c | 8 ++ drivers/spi/spi-pxa2xx.c | 304 ++++++++++++++++++++++++++++++++++++------ drivers/spi/spi-pxa2xx.h | 16 ++- include/linux/pxa2xx_ssp.h | 21 +++ 4 files changed, 304 insertions(+), 45 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/