From patchwork Wed Oct 28 09:41:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yao yuan X-Patchwork-Id: 7509321 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 010BF9F40A for ; Wed, 28 Oct 2015 10:04:04 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 18851207C9 for ; Wed, 28 Oct 2015 10:04:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 19606207BB for ; Wed, 28 Oct 2015 10:04:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754874AbbJ1KEC (ORCPT ); Wed, 28 Oct 2015 06:04:02 -0400 Received: from mail-by2on0131.outbound.protection.outlook.com ([207.46.100.131]:35872 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752829AbbJ1KEA (ORCPT ); Wed, 28 Oct 2015 06:04:00 -0400 Received: from BY2PR03CA060.namprd03.prod.outlook.com (10.141.249.33) by BL2PR03MB321.namprd03.prod.outlook.com (10.141.68.15) with Microsoft SMTP Server (TLS) id 15.1.306.13; Wed, 28 Oct 2015 09:48:38 +0000 Received: from BL2FFO11FD015.protection.gbl (2a01:111:f400:7c09::181) by BY2PR03CA060.outlook.office365.com (2a01:111:e400:2c5d::33) with Microsoft SMTP Server (TLS) id 15.1.312.18 via Frontend Transport; Wed, 28 Oct 2015 09:48:37 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=freescale.com; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD015.mail.protection.outlook.com (10.173.160.223) with Microsoft SMTP Server (TLS) id 15.1.306.13 via Frontend Transport; Wed, 28 Oct 2015 09:48:36 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id t9S9mXCk013859; Wed, 28 Oct 2015 02:48:34 -0700 From: Yuan Yao To: CC: , Subject: [PATCH] spi: Add DSPI support for layerscape family Date: Wed, 28 Oct 2015 17:41:59 +0800 Message-ID: <1446025319-44125-1-git-send-email-yao.yuan@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD015; 1:iARXEWw/hbvKGDF1WvGQkgoXb7FaF5KXmRwgJzNjU2xW6Q7qrs0xGAe/B6ON7vROtmkISIlgcRkLnFAhO4/vECdSGVtXf6TAb/hX3+uJhgwYM0kKUsRhTiNme8q9v5HDkNJCSUTfgkrv7nV+StxuQrB8whCxJMBSbC0Jl9xVpi5d8WXiRBtM66RuqTNxFn5Yu/0NEM1t1n0bySvCN9tkY1MwkkyzoLTlyOTRpMrwB+1WUGEpem8rdfoS9xMtLGceoFiPPkSqeCaDOrymVDi/XSQoBafz3l3qCWLz4FlIaa0RjTCIX2YFR3iESYIWw840Nd+P414lzL6obWOENTVwX+fA1JHC9osYjpO/dgVMjdxnWekWFRIWugh5RNfG9Nps X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(86362001)(105606002)(5008740100001)(87936001)(36756003)(77096005)(5001960100002)(19580395003)(19580405001)(5007970100001)(47776003)(6806005)(33646002)(50466002)(189998001)(48376002)(85426001)(106466001)(104016004)(97736004)(229853001)(110136002)(50226001)(2351001)(50986999)(5001920100001)(92566002)(5003940100001)(81156007); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB321; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB321; 2:CiHJU8almeV5FG5rhVeJOysnwwGw2MsEIoVFt516DPJ3d1pmdZG0VGS5OrDFnPuTEjH4065PB2pswrgGZ9mAxaJlXB9QtUX+pBPTmwF0GcoGqoxNZBsDIsBsl2xJn65e2wquTtqXlrF+vrqQyPk75IwleOrLkCjrYfsBd8BVXM0=; 3:IMTVW4Ob04io3QWwlC2zUGhIyBVfRxemOv6+cU3ltzobz0BDinwObyvdwUKWPCEtoCUfyEzOkpKYW3asnXfM/RFfgrxwp/vuKE/HBcEoH3mqXAqqQgO6mZfMB+JBBcUHW96LTi8LNNQsFsFP8ajcX4GPceqRJXeL7fhegzkvXzDesxX/DcbfYc83l1cl48fjBpYSwcYqTZNgkEaK7mbqshcwMDyGcC99/5b8lecSamg=; 25:M9zUyRpirVMsY3QjbjxM6HFbNUBK2uWfUcYhrCIbpFIruH1kzf0MECsPOse248KoffZ96gjNoQMuhvKg7y0cGkP0uuARSj9ZkpLWw89kZFeEfeAxcBAR50cupEHOiKgTmQeDaBeBzE+hAwzdhrIJuVJdh24MofZuG6k+qq0YyxUo1khZqByB5mMnRRQ3RN+TYwgQiohOTdcCbI4qrDMtuIabG5owPSs41rCFLMHQIiEHawKBQfXjdGjusyMlfZdl53rQqIdvEBZDuBu79B0dAA== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB321; X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB321; 20:M4eSfrREtg4HSUjF21aWP/iYjlF24OGbflFgy4rUHK76FrVqV1fosr2GauAgnn4b1Cqfj5OuPdBbQOr2xEBHfwFC7sG6BiKWmM7Cp0h+O/91K2a2I6ulALr8MXqczSw2lWsqLoNFBqzlo91jSZ1Czo3oQyZ0bkQzJKEaDFFLOcAaMNRdryqIHj2PoF+oBIOYVp83EMIStTCkVB4PYGf/OBOgv3YfNF2dk6SML5suA5Y69gv68Eb5KODxRfL/7jirHZ6tvms5jU47TaeAFf+Sb/FU1Jechaa3JtzU5Qud68OsRypCmW+21TZjWBnrRG6L7iYOjmn5eRMi5Djx7H9ygtdraJi/scZ5tYE14RaYkiQ=; 4:zUbF3u+coTIjk6jHpXS7Kp/AF+D8b5P5Vkssck1S5vITGdtwmHsBHLgxF9NLNo1UmMH//RUxewo+0ZmxJgwbhu60QU9Z0aZHRVMUCsNPOAPXplXB2feA/mtxC8hQj10vG/w5KyIO9EQ666tZhHuRqMFPJqwB4zgWhQK14VTDqz6m2BltsyJttvyYvrgXwr6thMKtwoGT+r6YmBcG4cjlCF8/TvSk6M46D5hv4UVWkbvHTkQFW84jdTym6mQbBUcG4TywtZVteTYg7H8+Ia2sijlrRRNssUoS22RQ0skWzsU0Lk/azSXkEvudiYCesXIYnHHR1kj2IPoLM9rS6nJpiLRZTNZQBBpwyBWSIEp3agLUiKMHACTU1+ZaEIzug2AjOLmFvgEWgRPLdtTWL3mS/w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001)(10201501046)(102215026); SRVR:BL2PR03MB321; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB321; X-Forefront-PRVS: 0743E8D0A6 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL2PR03MB321; 23:bKYmKV/b7BoZbrpNyAXxNFjbdirn0pa3uAZ3E9tPxo?= =?us-ascii?Q?h+pJOHNxFRQM1GlP3MTzy/mJxw1UcfD3zfvgSYtaSLVj8zK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uibnH4kEexTTTPbkkdShmEdn7fGtmd?= =?us-ascii?Q?w=3D?= X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB321; 5:o2NCibONR2p7DJysto3q4/L17U4b1pIaGr8I6nBTtuUo3/hr5se4WhTNfvu/mfHjgFzmHjw2TgOMCdRzaGYMKgAqrY3BqsNotyg01TIRLkns57DiU3ulC78p5nkOYag8hfUQ8mY+VKc3MyUcQ4U5wA==; 24:YfrDgCJAqi8P3I+sfMU9d9jaM3uKtrXqDGn5PANvQfnb6NvklfSQOvSjghlwUXRFH05Xy414qXF2RmSFHXFJcHeBMhViTmJOzaW99pT2RMI=; 20:sNRgGnTq3I0+iSpgFA/ZG4cAcr+OufK6EFMTq2T/uP1BCFanhSiqqFSb4dggpIw1IItImau58JN33uTEz0TeVw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2015 09:48:36.8010 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB321 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP LS1043a and LS2080A in the Layerscape family also support DSPI, make DSPI selectable for these hardwares. Signed-off-by: Yuan Yao --- drivers/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 4887f31..bb41bd5 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -304,7 +304,7 @@ config SPI_FSL_SPI config SPI_FSL_DSPI tristate "Freescale DSPI controller" select REGMAP_MMIO - depends on SOC_VF610 || SOC_LS1021A || COMPILE_TEST + depends on SOC_VF610 || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST help This enables support for the Freescale DSPI controller in master mode. VF610 platform uses the controller.