From patchwork Thu Nov 17 01:08:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Bai X-Patchwork-Id: 9433339 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DB32F6021C for ; Thu, 17 Nov 2016 01:11:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8808291C2 for ; Thu, 17 Nov 2016 01:11:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8D55291C6; Thu, 17 Nov 2016 01:11:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 2B7A8291C2 for ; Thu, 17 Nov 2016 01:11:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7BCx-0007ci-Em; Thu, 17 Nov 2016 01:09:43 +0000 Received: from mail-ve1eur01on0088.outbound.protection.outlook.com ([104.47.1.88] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7BCu-0007bS-Ad for linux-arm-kernel@lists.infradead.org; Thu, 17 Nov 2016 01:09:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gwQ4E3YICUDihCG6G9AHZ3xE6f4Y4fUcY20erWoifZs=; b=gQTd5w8GVTwilZhItN5PHfVxoFh1Dn/ET6aJ8gujPlOw5D5DWToLwl0hyHSzX3pOQqjRManHq3UD8T0YCrVpa4NneZNgX2kjGRc0P8h2fwjmtm+KSElzCVfrd7FIK7F2Dp32ZV1vQptQh0wY0M/YB5sciS4IbzoZ8frqzHmn2E0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ping.bai@nxp.com; Received: from b51503-01.ap.freescale.net (192.158.241.86) by DB4PR04MB539.eurprd04.prod.outlook.com (10.141.238.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.721.10; Thu, 17 Nov 2016 01:09:07 +0000 From: Bai Ping To: , , Subject: [PATCH v2 1/3] driver: nvmem: Add ocotp driver support for imx6ul Date: Thu, 17 Nov 2016 09:08:17 +0800 Message-ID: <1479344899-3141-1-git-send-email-ping.bai@nxp.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [192.158.241.86] X-ClientProxiedBy: PS1PR06CA0006.apcprd06.prod.outlook.com (10.169.59.144) To DB4PR04MB539.eurprd04.prod.outlook.com (10.141.238.147) X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB539; 2:PD0OEbXvurGWY87Yn2BITHWQwwSvGmBjZkeQol6mEfUDPjiPd0zx/d3Qrs92+xO8o6kNTbr2kW4lIR590LnWptE/BlvVbUL6m8JykxgKCPg4QvPPPLGK1YkuMAKPqAxYmkfNYlS0qitIlI+m1VpA0toa+nqSkcTtXEu20l8PtB8=; 3:GG2FaNRM6pl/b3BJ71BFjcsCO72BAUHGEGVznUVWQDi+5ESyHIUWeErFdw4+k9Nhn5dDbuur0+rE7yo8K49fckr+Fro/dFwXsyA7bcDHyYWstyDGTnnnbEXUrTloT4+SAb1sVRbo52xJfzGN7ml2vktyBLKLxu6Tuo39U6Ypmys=; 25:2FqHhgE9gJcI4rGcPgFP75AuwWu9QpEBMRde6WywpNrgNR+Cs6CuMoUp3uZjO8dhcf/Z/cRdP8XomoGGRj4N75INeoPrWGHb/L4It34nsutk2Fdyb15gL9OSDO2SCP684ONi12PNy4Ca5VhhoDW5YOtIvnhjJWJrl8WR9Pk1syjZyvm1losG8m5sehir3LYw/uEjM+0xOD83vZg0J34dxmQVztYV/cWDB78nkKMhtJVb/XgQ7GZ8nppLP4qaeJ9lwCkLAQnEJF28WxEQU72QvPlXlzYKyJcUAlH7fepkNUncCyxpZUpAG4svyFWnw7dtqFouGNNGeVch6XitsKyCvuNKhlI+347mUmBfjFjehZ9JDxnV7zy3+nOZ6bT35Q4QRjF+w8ufNYwugVf5ILA8U0NSQFEuO+Z4/weREi7U7atPBYjGyCXV9F+NZXIuNf7lXw5RYVkySZ6AXmPgZeqATw== X-MS-Office365-Filtering-Correlation-Id: 282db056-9c19-420f-ccb9-08d40e86585b X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:DB4PR04MB539; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB539; 31:m6T/9suPgKHbQZdefX04BTVErnmEOkOfx3kJWcm9wVZzTziXVN7VVR1uuy/T7CqneVlHk2yIkk/4SmkIyZqvyJIBVP1FKotCuHjYpAhfZetVdkkL4LIkLlSIyKZ1yyzJo/ZV1N8eI4CqJZzkHQNxhtAbAUhxhRZt5Zew67dLB+5iLWA/CztyLGilauJ6jMtv2YnhNfVSwTaz1VtBJN2Scoto5YgoH7M9WPCjMcN8DafNt+MYoVN+8YH0BogFqiyxu/bBURDPV2vLShfguBcS8A==; 20:RWQZmBAn95eQWwY9h0JC3BX/9csEv63gVaiKu2vz/2HZakGg7qhBKemEmgCpVS25e8k7R8iJT6nt1sDKXt4BRcw/eIjQnl0NzcEa+cU4YQ6u1D0xmGAXSkj9YHpw+ZJbhmrH7GIDf9uvsMUaVCQVJ5Mm0CjKo2SyO7O39YKtQ0v9ssrhcqToC/5XB8oJp6SyTxjf7FjHSZC0076GDyNWTofg4gpiliuaKcUIiC7uB9mYMbvZUuf76rrnI/CHUTi1DxhfYRw+m0loIs2Xj9EaBE2uT+S0Cw58VuW+Fa8qP1x0c/fOcRtcDvg/62f9CbWRdLKR+8ZFQNsKZvsTT/UuJ1HXFg4oYlsdPlKKdsm07s6CDVnsNDj0HuOIzGoluyzMnq/JA39plbLGSjF4dtDPVD0pcty3B4qQrJkRGz+r998PoukfzHtUF8/aCirSNhWS4i6s+1TAleV+mzZgYE6I3DLJqDhwlHFLkjKp57RL5LiMl5z2JA7i2LVX9AVrrbig X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6060326)(6045074)(6040281)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6061324)(6041223)(6046074); SRVR:DB4PR04MB539; BCL:0; PCL:0; RULEID:; SRVR:DB4PR04MB539; X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB539; 4:BqqJ81zewrCC5R2Ch4h2CAaYfbz9zHk12xwl1F70sIcftkK5/20bFgKSfnac2slk1/onDkC6ljBf3PSuDMupLtIe/aKVPZQdB86p/QNag31sA6FCVgXYpHe9vr2uv+cVjCSJB0CBNcAY0kirc0zkfWSCEOFT86rKXmKQO33zaBbVhpIJztguYRQalYkOu/f+5wq8lgI3ZacIEJWd1B/SSlXasFSIHeQZ2BhABfPcz4lUnYWBFqR3xh6kQimbgvi0GRP785F8BZIfY2HwyEshgNZCwXKS1iL1t4/OIOrgWZ3KGVa8XgsVYGTSruOdZtqRXNxfKTiMmoC3lQaqS+mqbAyLes7yH/7tlhkWIjyRFXpoJO53z6YtMtFhSuHOEsm2B8waMrIkWQhGR/aLCGQmO55TZeZGumgP71yiEY9XjWzI783036/uE0iQHYwbKg8yce2XriTomjMLI594TwHHFpSAMmHQVLSzSer3J0uY6iSpWCSuP835TPL1A4Ijp45u3Floe8aQpx198E84GAYmHIZULgB4jQS19/XEubkgucbd1NBGHnFU7btUNmD0Y9Gb X-Forefront-PRVS: 01294F875B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(189002)(42186005)(50466002)(6666003)(68736007)(50226002)(5003940100001)(48376002)(81166006)(81156014)(86362001)(77096005)(36756003)(2201001)(189998001)(7736002)(305945005)(7846002)(33646002)(8676002)(5001770100001)(3846002)(6116002)(5660300001)(97736004)(92566002)(66066001)(105586002)(47776003)(101416001)(106356001)(50986999)(4326007)(2906002)(7099028)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR04MB539; H:b51503-01.ap.freescale.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB4PR04MB539; 23:q31+/7vVDmDFOxbArT7KxZYr2kNuO3rSU1Ys1UYbx3?= =?us-ascii?Q?BCxsG8MsL8bUNnS77txMgZQsbaF+tBs/N+h0BnGAb7x1pwvatBlXyHsB5IaU?= =?us-ascii?Q?EyOXONw8ElQhuHCWm4wl115qzHuk8Wb8x+4X1WgoYZulXFKYPHtho2AEJLOl?= =?us-ascii?Q?dtp6yny0+FIC0MQvhIBTRRjqZX7jXqSs9/4wKfLywpc5XRL+xZkfelRXmHjT?= =?us-ascii?Q?iEqosBja8O1frxIso+fPj0wKFM+1J2zRuBNFsf24QKWFiry2vcqU5vO4UwZa?= =?us-ascii?Q?ExnJZEsY4hVD17/Q37cDSARxrqZlgOk43EsD1tMQvpR+SLWTIlZvJ9nQlnTx?= =?us-ascii?Q?h9Dpx2m5TuAguAVGPdw9+Wc+EMAk9PA0b4W7k78TcFt/VVAikUCS5uRGouux?= =?us-ascii?Q?JeocVLsVYS5h+N3O1te2bSSxv75bOUx2iPO+ejqRC/uLKgzOtij3bGA/tCaB?= =?us-ascii?Q?p+kor3c8ANf9b2oKzxsRl15AG2YKFL7K2tnqdkBLSdJy+MhhfIz4uNoAGzoT?= =?us-ascii?Q?ia+iU9QcMJv4D5uFCiLt6HP7rBdenj3OWqEEXcDMA1mAUyvpubMbpKbWs+gz?= =?us-ascii?Q?VbEazrq82lvsoADtxytV7VoIE28KQ2eT63rz41syz3fyjyNUNJVMbv/xJLEo?= =?us-ascii?Q?KOCZk2NLfRG+nPxbgQvQEb1Y7wUaQpv2G2kMKtFqPZPCqVk13GEh39hbJpwN?= =?us-ascii?Q?MVTwbR0eZff3C6m2SIs7AZyz1oOhcFpDj8kIHON1m2wjPqbXymuBQqaDENuO?= =?us-ascii?Q?WG06DZgoelolQMFTCG79SlWUOG9ZTl/sMsu3ut6XgpgTk+il7wAAxn37yGr/?= =?us-ascii?Q?xo3MLbV3rVZ6cADjMK/ix3S/sXcawH0B/Tklyu6x9xkLhh1GXynznYhvMtWi?= =?us-ascii?Q?uCnRvW+qH08SamSt5fWOrrY9QhJpgXIR37IvDP04na7a85xy5W64OrerUQEq?= =?us-ascii?Q?ZaadqYDBoDHebrhUpXDI18PqeeIZFhNgXkT0nxC5aqstrgHFSJYoQdnSv72t?= =?us-ascii?Q?Lj0B9yNXtQuPs7/nmBr82+9wsFv1l1KG9vEojlFh0+Vg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB539; 6:DClv3UJ+4irCYtK4/KJuZTLW5mhUDbNRMSCbRvZ4b/xlopjguTX8Qg0w8C/qxeE+kfGUrkruItSUbq8WkR5GW8dJXEjNPpf9lK/AanjNJFrVAhtjrp+N6YGgF3WWovsm3O3YgubdtigTcfibpl0eiUig6wSTp3LUg8DuN0q3qWENTqxuOtIcNIw0XdbOLqiu4cG/rPVfavY09Rm2AH0WQPaezGmVdniFDn4jheDU61y3M0dnUC2JYSD7CoKZuHyCws+g8IICA/BRxGHdkOeKRypXy2Q6caqfniEQTCfVVpd0w1vwmeszRuIuy9CsN7W0zT7hAG6lbYhmJohc7ZLpPKAq1wre1t/xIXraqkLmL5+6eDpsN0a0T61WsyIzzvGh; 5:tETCEgL8O9qYN+7w6yzK36LSBVj6v8lDVEaljSEW/RrTmOWc1lH8sSUVFXNot/t9dHqenEkEb5izjNzHNr9EOcIoSRzrQxufUsILqNGBzqhECxh1Pa93KCHm0IZg5gy5WU4+/zeBs5QxAjx+/VsHaA==; 24:evLreIAfueCeoL63QXrsBG0TXmXwl7oNIp1JRcfrDuO/CXHModA4Cab8nSu2VeQwVJ9xCNIF+TPuIYsFMIH9dIEJXOgs0FXuYQ1KB08Pqao= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB4PR04MB539; 7:e03c/PzVlgSqo7w7Wa6VhsJCME4ORv9VP54d5mb24kwAu++WMwBy1f2B9I/8ryGsYSlPZrUfAb1Uxpee24KZXf5Em6lDg3RRVhFXSm7o31HWZX+04Wx/bkRwFYIHqRTHvgzze8vMA3e/6cBERo+Qr1aRypIUp+sbQSGQt82aZdfp6VgpC413O3bpKPc1e8HFI205VmUCuJOjgCnAYDkFHfwQ6tQ7auLwT/cODljyYE3HKZ8XwAqj4Gk+EwDOTbuf945K3QbXDTMvMjIdKXs+Nl7E1QTaJgIkca/SLe2zVYEXvgebN5xpoQwq8DONRZTZaQBLJu9n0aRuIL/UMEpwuun0nhbYvalDbzX50g9fBd8= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Nov 2016 01:09:07.4061 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR04MB539 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161116_170940_847240_F3B9E42E X-CRM114-Status: UNSURE ( 7.10 ) X-CRM114-Notice: Please train this message. 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, ping.bai@nxp.com, srinivas.kandagatla@linaro.org, kernel@pengutronix.de, fabio.estevam@nxp.com, maxime.ripard@free-electrons.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-Virus-Scanned: ClamAV using ClamSMTP i.MX6UL is an new SOC of i.MX6 family. Enable ocotp driver support for this SOC. Signed-off-by: Bai Ping --- drivers/nvmem/imx-ocotp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c index ac27b9b..108e4bc 100644 --- a/drivers/nvmem/imx-ocotp.c +++ b/drivers/nvmem/imx-ocotp.c @@ -73,6 +73,7 @@ static int imx_ocotp_read(void *context, unsigned int offset, { .compatible = "fsl,imx6q-ocotp", (void *)128 }, { .compatible = "fsl,imx6sl-ocotp", (void *)32 }, { .compatible = "fsl,imx6sx-ocotp", (void *)128 }, + { .compatible = "fsl,imx6ul-ocotp", (void *)128 }, { }, }; MODULE_DEVICE_TABLE(of, imx_ocotp_dt_ids);