Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751916AbdL0N7L (ORCPT ); Wed, 27 Dec 2017 08:59:11 -0500 Received: from mail-db5eur01on0123.outbound.protection.outlook.com ([104.47.2.123]:53127 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751856AbdL0N7J (ORCPT ); Wed, 27 Dec 2017 08:59:09 -0500 Authentication-Results: spf=pass (sender IP is 131.228.2.241) smtp.mailfrom=nokia.com; nokia.com; dkim=none (message not signed) header.d=none;nokia.com; dmarc=pass action=none header.from=nokia.com; X-HPESVCS-Source-Ip: 172.27.221.129 From: Romain Porte To: CC: , , , , Romain Porte Subject: [PATCH v2] mtd: spi-nor: Added ISSI is25lp080d support Date: Wed, 27 Dec 2017 14:58:09 +0100 Message-ID: <20171227135809.2407-1-romain.porte@nokia.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171219134325.3315-1-romain.porte@nokia.com> References: <20171219134325.3315-1-romain.porte@nokia.com> X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:131.228.2.241;IPV:CAL;SCL:-1;CTRY:FI;EFV:NLI;SFV:NSPM;SFS:(10019020)(376002)(39860400002)(396003)(346002)(39380400002)(2980300002)(438002)(199004)(189003)(53936002)(8936002)(478600001)(107886003)(51416003)(36756003)(1076002)(50466002)(76176011)(6306002)(54906003)(26826003)(106466001)(2351001)(316002)(77096006)(50226002)(97736004)(48376002)(6666003)(6916009)(2950100002)(4326008)(106002)(47776003)(16586007)(5660300001)(68736007)(86362001)(22756006)(966005)(81156014)(2906002)(8676002)(49486002)(356003)(305945005)(81166006);DIR:OUT;SFP:1102;SCL:1;SRVR:HE1PR0701MB1804;H:mailrelay.int.nokia.com;FPR:;SPF:Pass;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;DB5EUR03FT044;1:van4HJlAdrtsaaKZkiRUfutrAWYmXyUMpUSwQEp4IsaziKkhimzYiiXeGXikKJP5UpL0L1mM9hfLGwmOmfgx7cpV/BggjK2Yrc+Kv8ZXlDghDTXJTh1BCHID60VobQ7R MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bb2d7327-3b15-4be4-764d-08d54d31fde0 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603307);SRVR:HE1PR0701MB1804; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0701MB1804;3:ONvTV1byslaVcxyZ8KvBvRWsBdeMvPCETHaMLwkrgPlqIQ4UqBTvfh0mMt9/5YtJ+TH61IuD+bWusuLTm192MTRt5WvNu6S5jBHz6/V5o+PXztkGxH/FGL3pB5EkG85JH5w2TjWVRn5IQITSgkx1iTJhoUbcW9KrLKB9pceFkpnBNKaAo88Y4rB43m1fAeGQci0sqdHsmY+MUHKeQ1JfL3s1z9a2MUdQYjcYOJsFDia/2ZqdAD8Wipgz9TRUugEQqVR5SVGXOwwaCNkrlrsmObiESe1YFBVOxO7K0hnbAq30ajnHRsjTaWRhBfafN6RQ92n9EkMXuOR67DOJJz+z4LjbdRrZ0000ruwAuS7KNiA=;25:SFMf3fZyvokhiTzJIJ0LJcXyBIagzGbGVZwSXgYn5gTg+zJS7PlR7+gVDGk8cbcmujFqiEoU+0UI2TToykYOMmmKgvckOVVx40Qkc3Pn+3QhE3cwN7E9tSxsMZgGqw4LNWp0WQxwfyUOEArRxjltzwQrGtPf8+VwBgs3KuCGKQEED8rYWXeJiKJypGGYr87/izsBg3kbSFk/O7DrNngteQCXbjBD9Eabza5fsqPSmdMzEmvI/1cfghJ4w/o3OOQf6ICvCsO1BjQjL7E1dvDUPqLRhatBd18ccJVYiH0JB5i/AYmY5vtIYll3om+ec3Xq6mLuP2Lf24ZrJd7cGLHeMA== X-MS-TrafficTypeDiagnostic: HE1PR0701MB1804: X-Microsoft-Exchange-Diagnostics: 1;HE1PR0701MB1804;31:/DaGxNKgD5YIkIy19XT0H7EAm1mixSuuaVh4TP+CoZzlF0OCZjAsNssdFsxNx4MP92XqqDtaEPHRfivfROgaOnPmPH4Bg+iGauOWvpNah5BTv/sYwFLzA4JPgqbt9hAeRqoi6GpnhMUyOm0ImqwgiP5QryG9Oqo4Omn7j6rOP84Th6Z/+UIjVUhO0T75Gk9oN0pdXKAP94l7en7SCjl6Io81mCqudVfbXyjPIdxJutw=;20:0KpAR8fFtPjAjfuYyc2OF/8Phle/k9IUrpGBjWi/9o2bEq9oAiLiZNOH81oHKpLPCfSGhvQtHdbPzqHUnY6hPC4ByA0eKYXZUyHZF4fOyX7dfMYTdVPuxUmAPYhzwr6r7UbsKyacKPFedgDTvQOraE5wpj/NZtblvbiJ46G16JBZumCRXAoU+ZVkV3zXxIT+YEHLyNmgEPyk3H4NyKpHlpAgo/VZgMpbKBIFO/Pk1LgDspiRuuliWIwlmnnfzZXZRYSnZecs28iGUpUAT+swQREViK4qCJ/4L8yv8S4l8MfuaHj16sl64GSo5eaSH2pYW8UjAMQuO90DQfETM2fO6A4w0Pssr+c8Itq6FfnGYCYMYN8kndLd4sZSmZgwaLKUJ+MqLodFZniDE9EBao1MgNzVFwFbaaaC0voqedzLJJ7mjoxITSfZwrfi74ZRztvFF8HZRsBZEAP0jAG0DBnW84Xjq11mShiJVFcRO4fjve6LSiIlm6YXrgyp6np8tyUmI6tUFj/MpQB9wjsdY+24DbuYcTzJzNIavFJ1sVRzriBTOcBnMw5AzbUJkqdHZl+18jVJ2uO33Q++s+rN/lj3IgqRTkgkVVAsQntwd7gafMY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(82608151540597); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040470)(2401047)(8121501046)(5005006)(3002001)(3231023)(11241501184)(806099)(944501075)(93006095)(93004095)(10201501046)(6055026)(6041268)(20161123560045)(20161123558120)(20161123564045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:HE1PR0701MB1804;BCL:0;PCL:0;RULEID:(100000803101)(100110400095);SRVR:HE1PR0701MB1804; X-Microsoft-Exchange-Diagnostics: 1;HE1PR0701MB1804;4:ZN1rqDGHpZXcDLRuuW4UV5DNsTF418XmWRMqDACoq9zTuiE9ZCTy63np2+9UM8BtkQLlZQmrVnoOCkrd9pqlDttSY/F+PwygMIGlZ9P59VTz6FX2QlSCd1gl2JAeQg2jD42RqyXZVZK/SCc8MA8WxvCJvhX3ftKk589jTAuG38r/p9ppCnsVtQJGFS2XLCWGoLSIpHju6bHzKCMg4/iVtHJtADdWpcbF7qV+72vf5FDvw+YmwgMtuuTFJf0H9jnFwsvnGF8xSLuzIkAGnIartQXU5lSDcumhfa/VOb6kXAUGyCumKmZR94nUOBw7HRxH X-Forefront-PRVS: 0534947130 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;HE1PR0701MB1804;23:6w6hlYNYUdFgGvc2/at1iTEoZZmuysT9e+ZrHmm?= =?us-ascii?Q?3lN+ALFTUMC7CHMx7zMb460BAivHj1d6iWyaM+8Dr5qYK6ww0VmD5XiSHJ7V?= =?us-ascii?Q?Ae12reyiti+fa5WaHLAa/RDrkQQR/vb/16Tp+P51bc1hdk0Yhy6xa+Remuvk?= =?us-ascii?Q?5Kly3BvLIR1+89VcovUS+F+WOBq49Lh1F2A9tgOOyws/xKInrdIVdtRWuqOP?= =?us-ascii?Q?gPeHGAIvDKNnRKsDCTyYpPjYFvYvMGnYp6K1PX2XLKVEdSsMyotDV2p1z7xC?= =?us-ascii?Q?P/REnhXgAVcsebOXsHurCggVU6RF+wDKDhIcyzCv+PgGV9rDsxVZ3gLiyRPR?= =?us-ascii?Q?83vZ0Fpew1vWQlFyqwpNYiViJtkKJMkJR8N0GiZMXX4dUI3zqzMeslD5ttNQ?= =?us-ascii?Q?EgWxFSlHATuINasRGvtVRhQdOMxGrCqnIN+qzOBSfJ1HSYrB1GA75PNHsTLM?= =?us-ascii?Q?Z4uPorLU2idUmQNyZu6m+tROi9awKdw4IDMaDM0tlFDiBdGyTAssEh2bhpZx?= =?us-ascii?Q?IP86/RyRGPlH5b/DYT/NOocj8tXks50hiEtMJ9CTFrOYgHwNllnLDuz56U/3?= =?us-ascii?Q?azkJQx+tSgs+tEaW91moLQBjtxHpzYpj60N8br+QBzk6hH1BH5g/Jn7fifRJ?= =?us-ascii?Q?wotJd2JmAyiJt6UAK3xxwY6DrNnrgPn02K5zq9qMXTPO6ktUldy1pAqJjoHU?= =?us-ascii?Q?GtcH8UQdn1XhFu6I7HrkM3Wo3kDif+Zrk1RDJoBUamLgLvIQtJau3vYJ5mcC?= =?us-ascii?Q?I9r6RxsO2ymq6mAGfAiF6vG+yXUWHO0S0A0NTVgSLD+UPadxTfu/pW225W4j?= =?us-ascii?Q?jvX6vlb1HVDoeKhW86ouLtbocX/Mf+9ymQJ0Y1eDCawCwMmRdQq9x2RNqU0R?= =?us-ascii?Q?bSuVdOiWPvgYmyOHuz7Gos/omkjd6XEiKNuUiDKKPOHW0StjrENUQJrbhKzs?= =?us-ascii?Q?nyhi7wZ3z0CkN9MrHZwTgxcPIaRKn6dge+tcHrnprMa6L0OylBJQnBaLHZmK?= =?us-ascii?Q?yfRI2J02OAQfJi/0G6j7Z6Zmt3hu25om+8ULlmPjOU5sW03Z86rvff5oLN7L?= =?us-ascii?Q?Q1XsuFRlBxkWLcuRXsTjZEonYj5IiyT7nkS5ARQiRysomJJDE7w=3D=3D?= X-Microsoft-Antispam-Message-Info: rwXafBn+ZI7bHsuZf7go5diPTabjjGJ59DlGRPEthkC/3ktj290Q0/5guLSd0HEgTt4HJsgwETG2SB4YZPfXQfoFCQuEM0a1nPAjZA95RwusK5Rizo1dNE8EdBx7q0ty X-Microsoft-Exchange-Diagnostics: 1;HE1PR0701MB1804;6:xZUk+nXU9HTJCk70y02Ho2JJuUPYcyojQ6g8hpGsodjw4IRQBc9KCGR1UictAQgo9Os4wA4JzjJDdw8y2nFBowemOeb0Fp1FnzP8EicjFpg5akDFZ03ALQBfUa+DVOLlDtgVjQlPc5R8F1z5xOmC9048ipmdm09Vqon76xBWAsrwADQDpCG9kQTgEP0u8Bud4T/Fot4jdkgMoTT/KnSPfpNSe7kNBEvMpBN5HdN2yT4XdXNvqtUD2GTmYlRHqP8RoSR3GZFWOuOcYGvH+mSHuGqx5OWofptZZ8nDzsYXNxlpsjZ+IyC8TxNJfuNBHrd7AGBXq/wv1AdTJ9D6/o+b3SAlL1BG8fjvuYkuHKG13I7ecIAqMH+3Y/IEHiBkCNDS6xGkmdVDFwgYZsfu9gahaw==;5:rA1oQp+2R16gsBYbYqVo3yVDqyURmS/umqpxcaEidDJtz+qccjCmDiezxxTqe5mFLYAORclNF150nKk/KicH4l26ntdBy/zaYiA+Vx/yP6V+4RqhsYYX3T2z2W0dwkmJwy07QRwRjf9aJVZeGZ0eOmQVp7IcudlJzhySkuCpaAs=;24:iN1UdHNDo9U8GibRyQFEc3JDGuqEjglxImNCywhx98qTMdeY7GLYepEG0NX/tg2ieGgW7lKap/A2lOKmENB4l9vUrVyMJxv35W5piud49Vc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;HE1PR0701MB1804;7:xjqifHjcVEqnELWiwS46bRjxE3JIEsqQ9rdu0FB7xf4i/XXU6Byr8U+rTCLwgIRW/a2KLPjwkDj7e3+8b2+W5hY3OM9COuQZXcFHF7GFMLmEdspfGjVlAyYwWSKRCGnYtxHngJhsUl3DVeM7Pb3RR1KKyPY9b59RRD9jBBffpCwoIDeifMO5b8nx5YpOvKcF/hzWJpAEI1ApNl1Lx5hPEjmPQe8Fb9CzuWLPeFppCLLNWWZMoUqE1Hw6cgSsznrb X-OriginatorOrg: nokia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2017 13:59:04.9000 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bb2d7327-3b15-4be4-764d-08d54d31fde0 X-MS-Exchange-CrossTenant-Id: 5d471751-9675-428d-917b-70f44f9630b0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5d471751-9675-428d-917b-70f44f9630b0;Ip=[131.228.2.241];Helo=[mailrelay.int.nokia.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB1804 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 948 Lines: 24 This patch adds support for a new ISSI 1MB SPI NOR chip that was tested in our lab. Datasheet is available at: http://www.issi.com/WW/pdf/25LP-WP080D.pdf Tested-by: Pascal Fabreges Reviewed-by: Alexander Sverdlin --- drivers/mtd/spi-nor/spi-nor.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c index 8bafd462f..18e826d36 100644 --- a/drivers/mtd/spi-nor/spi-nor.c +++ b/drivers/mtd/spi-nor/spi-nor.c @@ -1050,6 +1050,8 @@ static const struct flash_info spi_nor_ids[] = { SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, { "is25lp128", INFO(0x9d6018, 0, 64 * 1024, 256, SECT_4K | SPI_NOR_DUAL_READ) }, + { "is25lp080d", INFO(0x9d6014, 0, 64 * 1024, 16, + SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) }, /* Macronix */ { "mx25l512e", INFO(0xc22010, 0, 64 * 1024, 1, SECT_4K) }, -- 2.11.0