From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77B3BC43460 for ; Mon, 17 May 2021 14:10:53 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 439BB61468 for ; Mon, 17 May 2021 14:10:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 439BB61468 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=z4aoMAKJbS1rH+QnQY/5KniiaSAU6Ztfcq4G6j7LGlQ=; b=Nj+H3DeukPUrdDBOQGFU8xtlvo QhcuqD0epop9pPr1yBZupBxFlMTopEg5+d9adUuS3JqH9yYmxE3/4iT95l3TA6Ogr++BKoUYVvZAM FvGsxIyOX+lD2ah7Sy9Z/syyfSz2UiKyCEPh4maugxBqKGBWMJsQ+FE8lBxU2OWrUbMH1TiBLe8/N YWXA0G29i+i2CmXTG77WQnDdtvH9QXSoR389D2iPm0QD+OYEHTkO+R2mCKg/BarDGvFqSBKRUzPIP QrNNKhKx1Zx7k+hk1QWWWAWxl5cO8IKY2DwpWaG2/Auttn2/zTYBClcPxQ4zqhYXD1dfbmv+me9gA lVRMToVA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lidse-00FAkr-RC; Mon, 17 May 2021 14:06:01 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lidqU-00FAQu-AX for linux-arm-kernel@desiato.infradead.org; Mon, 17 May 2021 14:04:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=37VkiwiHEL+qJOKPF3zTzH4aWP+TWz8FCToEBYSL8iQ=; b=z5SscQNuRaXsfpdYAAprhh7Q51 bSplv36RZ9spZAgWxHWoQ7FYFp5QoB5cJ2LgbkQzLEtzYzcmkGBaJH+umnQZIgIfBwzzAZIOy4BH5 cKK0Pki92JA13O8NIWCxl/f/qfluEh+GiZ0Hkl+zCQJZzolyzgw/Dk70Ugx3jM+Cmq9RawmAnBgEB WrxS5m+sKKmbodXUguJBZAQpkInYb5uVbbPYWsUHP2daqQZgcAZsXW3haffbO7vh5Jq+3U+wGJPD5 G3Q8W3KG+2woWFivm1UqY4gqWfr82rOR1LucSZRq7h0NGi3ygHuUc2tOtr+2hojACNAMNCWwfDZ8i z/V00iSg==; Received: from mga12.intel.com ([192.55.52.136]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lidqN-00Dp3w-32 for linux-arm-kernel@lists.infradead.org; Mon, 17 May 2021 14:03:45 +0000 IronPort-SDR: pZgG+ufawjTH2SJVXEVKpcFXQ6bZG0OXJNQGLcVyv8wMlbPg0Zqp8fInlia0B7uXfdBGhp3G4T Xgi/d2R0aNeg== X-IronPort-AV: E=McAfee;i="6200,9189,9986"; a="180069884" X-IronPort-AV: E=Sophos;i="5.82,307,1613462400"; d="scan'208";a="180069884" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 May 2021 07:03:35 -0700 IronPort-SDR: RJt6zWbABF28U6UFftum2C31sA7JYRrBO+H2vG79UILgLL8RBFB2TBZyawXxV+SHzCAtLlE1NE NOLfqYvFDMkA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,307,1613462400"; d="scan'208";a="629996774" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga005.fm.intel.com with ESMTP; 17 May 2021 07:03:33 -0700 Received: by black.fi.intel.com (Postfix, from userid 1003) id 013A0348; Mon, 17 May 2021 17:03:54 +0300 (EEST) From: Andy Shevchenko To: Andy Shevchenko , Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik Subject: [PATCH v1 0/9] spi: pxa2xx: Convert to use SPI core GPIO handling Date: Mon, 17 May 2021 17:03:42 +0300 Message-Id: <20210517140351.901-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210517_070339_179888_D0472873 X-CRM114-Status: UNSURE ( 9.55 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert the PXA2xx SPI host controller driver to use SPI core GPIO handling. On top of that a few additional cleanups. Has been tested on Intel Merrifield with SPI ADC and TFT display connected. Andy Shevchenko (9): spi: pxa2xx: Propagate firmware node to the child SPI controller device spi: pxa2xx: Switch to use SPI core GPIO (descriptor) CS handling spi: pxa2xx: Switch to use SPI core GPIO (legacy) CS handling spi: pxa2xx: Drop duplicate chip_select in struct chip_data spi: pxa2xx: Drop unneeded '!= 0' comparisons spi: pxa2xx: Fix printf() specifiers spi: pxa2xx: Fix style of and typos in the comments and messages spi: pxa2xx: Update documentation to point out that it's outdated spi: pxa2xx: Use predefined mask when programming FIFO thresholds Documentation/spi/pxa2xx.rst | 58 +++++----- drivers/spi/spi-pxa2xx-dma.c | 4 +- drivers/spi/spi-pxa2xx-pci.c | 5 +- drivers/spi/spi-pxa2xx.c | 203 +++++++++++++-------------------- drivers/spi/spi-pxa2xx.h | 16 +-- include/linux/pxa2xx_ssp.h | 9 +- include/linux/spi/pxa2xx_spi.h | 12 +- 7 files changed, 135 insertions(+), 172 deletions(-) -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel