From patchwork Mon Nov 7 05:41:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacky Bai X-Patchwork-Id: 9414277 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 DA39760720 for ; Mon, 7 Nov 2016 05:44:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBDF528D99 for ; Mon, 7 Nov 2016 05:44:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C0B9128D9B; Mon, 7 Nov 2016 05:44:32 +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 8355928D99 for ; Mon, 7 Nov 2016 05:44:32 +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 1c3chV-0006k9-OZ; Mon, 07 Nov 2016 05:42:33 +0000 Received: from mail-ve1eur01on0042.outbound.protection.outlook.com ([104.47.1.42] helo=EUR01-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c3chR-0006iM-7f for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2016 05:42:30 +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=w99MqiMR11ZegJxIM1wz/2wJLfm8rlodasCUJ+8grB0=; b=xlyMywGoe4PzcV9B5/Mwu+t2WygThumgpvwACHv2nwced6CGPES6OKNw+lghRmHfdcUYkmCNGaDX6EQMHYBWlWbQ6sba0MpNS6t04mJ+fP9f8q2Mw9tOExtlOBwWOPOQ9U5Ur+/1Y3SJARbnsi7PhmyTl+pPAro1CNjTCalZfgo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=ping.bai@nxp.com; Received: from b51503-01.ap.freescale.net (199.59.226.141) by AM3PR04MB531.eurprd04.prod.outlook.com (2a01:111:e400:8822::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.707.6; Mon, 7 Nov 2016 05:41:56 +0000 From: Bai Ping To: , , , , , Subject: [PATCH 1/3] driver: nvmem: Add ocotp driver support for imx6ul Date: Mon, 7 Nov 2016 13:41:19 +0800 Message-ID: <1478497281-5477-1-git-send-email-ping.bai@nxp.com> X-Mailer: git-send-email 2.8.2 MIME-Version: 1.0 X-Originating-IP: [199.59.226.141] X-ClientProxiedBy: SG2PR03CA0073.apcprd03.prod.outlook.com (2a01:111:e400:5bb6::41) To AM3PR04MB531.eurprd04.prod.outlook.com (2a01:111:e400:8822::28) X-MS-Office365-Filtering-Correlation-Id: 7ead6945-0379-4b08-a25d-08d406d0ceb3 X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB531; 2:tcdfnLgI2x04gl3b7egb3YOmDY0cXrHzhsaf1JfkXDhU1nPHJOSvKEjpfIDfpBV295oRfzQlGXgUq8g+kjwqriDa6yCBN3XzqBhHsD8RB1D4bhp7AHPWUi85HXm/UZUi++qkRNNqy2HgsH4iNQPcPjaqe90/1+sDPf2EwwPlRZugU/wFhd5ufl9RGP6GAiJjqiKnlBafpGfQ5vZP9cQdbQ==; 3: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c0B40ypDxlwm4ZGA+GRCBZkb9Hx4aTM2WZbqcaxoFVglMuTPHnfrR4c6fcVmXndXMNkFxob7B2Fc3L3Gf0FVcdsxt7hnvQ44GW9huFPDHxC38WnSAs9QZstB3ZOqGTyHc/KfRODGOpTF6NVWj7Ww6tf7r9+75LJyIR78ZR0+/xVgXbfLtU8yRubKDIbRjsbM5Y74/cdZxfHXq2m3ISa/zn7lXP2+sPey8uZwl2zwFwj6JX74UEMu0QbxS4kNprRWNPZfmLJ8Y9v8MxZkvb2Z+VHbbR+u00xIxjQqypZ3Mw4FacoyD4OA3F2POZIc0GtyvhP7HNV4R14RI18vauJfFE4ZxEeafHozPYOoMlpNxpj4ruvJVR2A7ITulTEjhLL3HMjpWQvgIuRifqMU9Vl6EbZf5JOTS/5AxjFB X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6045074)(6060229)(6040176)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6061226)(6046074); SRVR:AM3PR04MB531; BCL:0; PCL:0; RULEID:; SRVR:AM3PR04MB531; X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB531; 4:U+QAfXsioUsqaqG6mtDHq5yXDW5K4sjypCPFukNEbAcf6pYs5Yj3HfF/g1u6KdauVYkb4sRoMRYx2h8blH8QZ6MpjgZdY9mT7/QKQieEbRhCM6XpyL2ZT4Q1nA5FOvVGlNiBPUZ1VFI3tQGz+BFX4eGs/Uksinu++8hAli/TI7zL/jX3YKr74xDKgde0aA7mpPVO5XOINDiFltAEi9X9uaOuJjHoWBbmmhfELjYzX24uLF7pTw643dvXtyKqKwzNIE8h6G3GzPjeCuTxt7lhoYuZz5Lh0gBDR3rWgX7rAndXnUBHb6+X+X0JdZnweFKgIKycRouJW1oZzWzRWTtEmrzbDG2dF4AMFJuvFEpHAec1XACPAUrdemP8FQpXt7xgQpmOVgOgchxpBP4/sxX79Ng2r4dmRWbtGpKpQPBKkuKmjK/JsRceLbNu2mo9YTUh3xRxCY1+9hCuR2EvNvcuEkmvhXh24uRPIAlakKqwbwb6FTETJGfgA0wYPT3Nyi+UZJNzYkJcwj6XhjMQXacJkLk8/do7FoabnTivwtG4EE4= X-Forefront-PRVS: 0119DC3B5E X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(199003)(189002)(5001770100001)(50226002)(4326007)(33646002)(97736004)(2906002)(189998001)(5003940100001)(68736007)(7736002)(19580395003)(19580405001)(6666003)(6116002)(50466002)(3846002)(586003)(48376002)(92566002)(36756003)(42186005)(305945005)(81156014)(81166006)(7846002)(50986999)(101416001)(47776003)(66066001)(8676002)(106356001)(229853001)(105586002)(2201001)(86362001)(5660300001)(7099028)(32563001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM3PR04MB531; 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; AM3PR04MB531; 23:cq2NmcZOgeaYqQaKR3nKMiNNjetKMYK/MLdk6RTxbJ?= =?us-ascii?Q?Xs0ALERGK2HbCYt4ohYmRbV09YnbDojwK4D3knQpSygVUPUuL0GWgYrmDDkA?= =?us-ascii?Q?8xhWHYiykubvDLFfYLkbIPmjcHlwH6167FNxRw2LaWdi1GLkff6c51ephbnK?= =?us-ascii?Q?6mV4gAQXOsqXXzKzyD5bTy7bM8Xc8StuAgva0BUp0mgaJ9bqXnuPm3UZ3yzZ?= =?us-ascii?Q?2XJ9XKw5JIsBtcx6+2JsqJ1oqU+ySjAiMFEh9CBC9l39PEiUiUw0cDPPqADx?= =?us-ascii?Q?wz9SANnieTPblc/lx93sHM78E5Sre2I1TbkO32nQNXArQpilVD431EtVF06f?= =?us-ascii?Q?1SyQQTcYYPysN0u2DiqV6Iwr6jSM5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5x2ul00b8Ez0HVaRi0V/vIejMqMFYQ4GemuE1VsjapEwb4/b0hYvqj+vKwrhWvrMPsji8BMoZd0ajcI0vxiSpVr62OZRMOfd1QvsYexWJLkJGdkaxkMoNtKrHqPfxs42GZEZkMM5s7LtvyIccdGKe8jGRTYEA0TPouiDA2sMiyU2VJjKyris7nLdU3D0wxTPUR+phkNbHfZqAp3UgCxOLK2xcLjbb+ztwsoMAP1Nc5qRFYYIKFma2lkQzm0kEt5IcZrK/Sl1gZJm; 5:iscmSCF3O7kriDxnuuiIUFIfvqVnIrhrM1gI1vK8EyjWQA8BKIc9JYSaQrGTy+8CTG9WtEcFG2pdGQD8w0BylMSzWbfwf9UExTL3PNf7qiGgTaOmZN32uX0JwifoQqQfgilc2OlVAhOWRK8AX2Iipgh6J8e8NCvnS5FaxUJGxek=; 24:fZPLijUVxkLMRejsa9x5axEtCoZSAwGHrxei3qyYxfU6m7es+Bilj+x3P9SqzhoXwSVQHF1niWMaTLLdu/aXvxoWgfp9t/BjHC2HZawFtmA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM3PR04MB531; 7:pY0Qdiszn9CfF4jj9UJLO3twmrnLxIH4f5Zmqf3vX5k4UQUohrNqdx6h7xv1ac1mF3zB4HVBmp9pEoiLtd9/HpICQdEuVgl9rj2ETHalYl4TO3983GU97MC5bkJ7XDPmagOZ3FymQv4AkndUFChgBPVc4ZykxKd/RVX3L4BFC2KBQOG7uwo1ehsDw2oLEwuR5gSh6+0KrZMP7c4/ZoEwcIcnhUufFQAeaY9h6SUsTzyMdFcgVr1L2nafkAhPahlYHcxnZ18Sd3/vC7R5Tr8dJ6ATVB0F0lpRV4QJHgGnZ1HYVTAXKycsfTKAeEDYcp5ZjDMCM4LAFTloQCUucvpxMI3LPz3fvv/AJa8WXB2JT/w= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Nov 2016 05:41:56.3111 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM3PR04MB531 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161106_214229_758263_57F2E1E1 X-CRM114-Status: UNSURE ( 7.01 ) 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: fabio.estevam@nxp.com, devicetree@vger.kernel.org, ping.bai@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-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 const struct of_device_id imx_ocotp_dt_ids[] = { { .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);