From patchwork Tue Jan 26 07:23:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: yao yuan X-Patchwork-Id: 8118281 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 06EC5BEEE5 for ; Tue, 26 Jan 2016 07:34:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 41E48202BE for ; Tue, 26 Jan 2016 07:34:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7009820328 for ; Tue, 26 Jan 2016 07:34:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aNy7s-000213-61; Tue, 26 Jan 2016 07:33:20 +0000 Received: from mail-by2on0123.outbound.protection.outlook.com ([207.46.100.123] helo=na01-by2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aNy7K-0001mf-Lk; Tue, 26 Jan 2016 07:32:47 +0000 Received: from BN3PR0301CA0067.namprd03.prod.outlook.com (10.160.152.163) by SN2PR03MB078.namprd03.prod.outlook.com (10.255.175.154) with Microsoft SMTP Server (TLS) id 15.1.365.19; Tue, 26 Jan 2016 07:32:24 +0000 Received: from BY2FFO11FD025.protection.gbl (2a01:111:f400:7c0c::127) by BN3PR0301CA0067.outlook.office365.com (2a01:111:e400:401e::35) with Microsoft SMTP Server (TLS) id 15.1.390.13 via Frontend Transport; Tue, 26 Jan 2016 07:32:24 +0000 Authentication-Results: spf=permerror (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=none action=none header.from=freescale.com; Received-SPF: PermError (protection.outlook.com: domain of freescale.com used an invalid SPF mechanism) Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD025.mail.protection.outlook.com (10.1.15.214) with Microsoft SMTP Server (TLS) id 15.1.355.15 via Frontend Transport; Tue, 26 Jan 2016 07:32:23 +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 u0Q7WBbY009330; Tue, 26 Jan 2016 00:32:19 -0700 From: Yuan Yao To: , , Subject: [PATCH v4 3/7] mtd: spi-nor: fsl-quadspi: add support for layerscape Date: Tue, 26 Jan 2016 15:23:57 +0800 Message-ID: <1453793041-35868-3-git-send-email-yao.yuan@freescale.com> X-Mailer: git-send-email 2.1.0.27.g96db324 In-Reply-To: <1453793041-35868-1-git-send-email-yao.yuan@freescale.com> References: <1453793041-35868-1-git-send-email-yao.yuan@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD025; 1:AlzEi+2QxZv5fCLObAjKabhDnP9Af0pr2PnVzTo8PFXVptghSONa6fUpD3M/pc+tiK0F/FSqST7ecfwBIk6OolZVy7jVBcaJm0/B6u18S4QDXcltckE1wBqDGf/rbMH1S53WPgukdf7s0qjR2UKOjSlSsVQn55nk6isdi7fEsroFcqg2ibQkBXmyTWtLpd6KgvjxacQT3Li2TphDaidhI7Wv6tCKTPZm3DpM0E+FhASiJmSRkvsDWlYQrZXZEZZmPCMqYaJqaBaJOBN1nXzNB/yCLa+6V3RvgyxKtMN+zxUJlOLC/2XRGX+mmfCzjtiyfzKMQmiTEpPgyyugFAU+AxQLU4IfHtcEFBQUr819CGDd82ijkH0WgLvd7spSryWNdWNXa8oSoIlBrS8b4iOs99pfioHbNbA/fqX2Xyq0ajtciRen/tY/RzmxInmHu1dq X-Forefront-Antispam-Report: CIP:192.88.168.50; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(448002)(189002)(199003)(4326007)(19580405001)(2201001)(87936001)(50466002)(2906002)(4001450100002)(92566002)(86362001)(33646002)(48376002)(50226001)(85326001)(77096005)(104016004)(1096002)(6806005)(1220700001)(5003940100001)(36756003)(229853001)(11100500001)(5001960100002)(2950100001)(106466001)(81156007)(76176999)(5001770100001)(19580395003)(189998001)(97736004)(47776003)(5008740100001)(50986999)(586003)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:SN2PR03MB078; H:tx30smr01.am.freescale.net; FPR:; SPF:PermError; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 4d68ef82-9696-44f9-84b5-08d32622d4f3 X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB078; 2:txGDy1a8qZ6paC50mJUsO3RhvGMszo6NPAlqt8jqGNuNB8rTbhyuj7XJSUyI614FS0oqQUYhMNSdVVL8Euh2zPKm98YReZNcJsudCrt06mFwSWcI4Iu+fFVtIpMNvmNBAYcoJ8q4NeCczLAOattCMiHuLm88WbkXqg9UMhvpF7WyuMpJ8OP/BjJUVXRh3+nA; 3:/dfpnh2wVrI+JvwvTMzXjqAogdXKpmBKBg3BMPu/Avvppa0APIMgdZ7PlFrIokIaAcfdPcvLyhWfhzfBwgrfDu+baJq0kZQ1mfCY6PJ57sM5UWhXUw1pYCARxq35oPP6lDpQkHvj56Gz/4T1oQpT77B1apeVGwJLHq9SIukIhCHwmPwufOvu2cdwjjsQ6eu8fVUu2CtFkM363Qfk1XXLAQeasq0h3/y9R/U0kizeVwM=; 25:2zprjoMHtgfiJwUbC+xA/ZI3uBL9FO/qs4yGzzG+Olfict6LgyNSXzV6oZQeGeeeb3qsRmQ38fgfMaGzsB5+1PQfPuBnuu1HFTjYb3kHoduOvX67A4qkD27PNBU+W52Hh+eUKa0RE4ZsRPbuR5HOKvxjWpI5wWKbSz+7oH9UEpz9JVbU6VCxpaew6Fil2yvb2fmMkkC453SF07LuuVwa9iyv8c6/2Vk27BmUDbgd7T2H0dmm16ZFCGQhyUqhMJX/ X-Exchange-Antispam-Report-Test: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:SN2PR03MB078; UriScan:(185117386973197); X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB078; 20:4q8mGhA4R8EtExpCnnKZMjGM8hw35Gbz4ERZo63Wfnm/9pfTvrw0yO8UrMkLp4MXVsEVeAMFjgKoZm1g1tC5HFdJXmeJJF0GWnCIqE+D0geSpM4hKRFQ/7qndzGHDPHY2vs9mmuJhcfBesHBsqu0Vaww7CHKlC1G4m9KuHlS59vH48WXefSem5NYXFLe13CK81ld27zs5Ue+H6GpMr3/+W3gh2Np9xWnNJNaUWkHlWbbI8FXpLNdU3ODvrksyz8wTj7HV9IahOasAZy/Vrn0EGMve+ihhMcSJsl3YoJZAxgU+f3F2J5QrSCBFZl30YThTvxKQSlN9UKcdQi7tdYIkmjy46+jl+IZ7M2jQzx+ntXjXAWf3P7bjpToakLJCa4i/BGL/voTy+/t5JV3d4n4sQeGEhDu1srY1zu4r+pv6eSPuCGOIEMx0DkyGfTubd6e X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13024025)(8121501046)(520078)(13018025)(13015025)(13017025)(13023025)(5005006)(3002001)(10201501046); SRVR:SN2PR03MB078; BCL:0; PCL:0; RULEID:; SRVR:SN2PR03MB078; X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB078; 4:p73d1gNcYymFEXA1n3e+W/w9ZyQRqmWtYh65fkweIymP9niP1BfDRo1XxcpmYGIcPbKdbgbrBTJOcde7Zp7gr4YgOGMyRbJsn0tTTFjAIQy060fs3gHhbgcRxkFwqwaHwqeF7GCMfKfCkXLrpBzb5r+hHHnJ1zCkPSEWo73MDJMkypTaBt5Q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+o1G64oJItPVPAitiPLr+zmsrZQJhroSmJTuJE/3Wex2rDzD2t+Vgkm?= =?us-ascii?Q?IEsds7rwsowBk0IMg5zqlKyhjCT20UORy3/iviw1XXkaevi1RWn03zv8vngH?= =?us-ascii?Q?MolIPn+i71tO3pqvoOkPxwcc3ct+8ywXAufGZAyTQsa8DImQoaXD0z96Hmuf?= =?us-ascii?Q?8KVOutahK1gXLc2oUcBPvZOdoYnC3uIgRtVuXe4INCkUJ+X2XRJt3XgrscRX?= =?us-ascii?Q?jxiKlUsSGSi5tpmExNPcrPGcJzJpTL6FPxsc+u2SraX54526u+DTrF8dB+Ia?= =?us-ascii?Q?4NzdluzN5E/5Y5vzReIhndL/FwHDwRaBto3r5WLUEKKLas+ynfZySi/yUt3X?= =?us-ascii?Q?gsyLSYj9qWwaFt7a+HtHo1KMs1Rs4kRqU2nVxDESQXwu6H0+wnGzBZcxdL1W?= =?us-ascii?Q?zRZse5sasc7Uwb61DDhaJXCdcjUM6SQQoOkkyV6Fbj4mD5SLN4AEi7gNSez0?= =?us-ascii?Q?Eb8JnFMJmR32oB0LV3GHRRNCLFsJJHyEa+JL+YU3I2NfKJvIaN6RDQTdnz9h?= =?us-ascii?Q?qXqk6PjD3Tbk4D5R6hVKQh2i2VLgnuRYvpn2sQ5QYCws8JWA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; SN2PR03MB078; 5:j8amEmbHfAQtXh5hZ7Rt3uSZylO0wbbFaeJoN/bgBuD3DQKYN0ZnaC/WNdmMq1VP92iR9IIhlaji02JxrBtBlNEePNA2eajNtQou2EL4ly24hB/XQwIyzcGwi8A0vfHV40iey3iSDN/YxrxO5MUOmw==; 24:Q+iPKtHfYPq08EdId0Q481xHGp1l8hnXNULDN6pLtGDLRMzhIFoz7pFOqQGQLO3bw3eytZiTGqrdaapQf0uGapY7/8XK4+PQGY0+cOIiQ7Y= X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2016 07:32:23.0816 (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: SN2PR03MB078 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160125_233246_820956_18582573 X-CRM114-Status: GOOD ( 13.55 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, yao.yuan@nxp.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Freescale Quad SPI, make Quad SPI selectable for these hardwares. Signed-off-by: Yuan Yao Acked-by: Han xu --- Changed in v4: No changes. Changed in v3: No changes. Changed in v2: Update my email to --- drivers/mtd/spi-nor/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi-nor/Kconfig b/drivers/mtd/spi-nor/Kconfig index a28c278..6b53deb 100644 --- a/drivers/mtd/spi-nor/Kconfig +++ b/drivers/mtd/spi-nor/Kconfig @@ -30,7 +30,7 @@ config MTD_SPI_NOR_USE_4K_SECTORS config SPI_FSL_QUADSPI tristate "Freescale Quad SPI controller" - depends on ARCH_MXC || SOC_LS1021A || COMPILE_TEST + depends on ARCH_MXC || SOC_LS1021A || ARCH_LAYERSCAPE || COMPILE_TEST depends on HAS_IOMEM help This enables support for the Quad SPI controller in master mode.