From patchwork Wed Mar 1 06:40:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 9597689 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 9730E604DC for ; Wed, 1 Mar 2017 06:43:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 87EF128405 for ; Wed, 1 Mar 2017 06:43:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7BA28284DD; Wed, 1 Mar 2017 06:43:20 +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=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 089FB28405 for ; Wed, 1 Mar 2017 06:43:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=YL1xWBq88O6izDI11JYTE1oeiLTXQymbRLsfJzhHfuk=; b=onLE/+CTBgbyZG UEHbGiSOREx07drS3MqvQGKbml5g3E0nRH5P+vfwzA6KCJTwH1CfsAOH6FhPugZNdw8x2bNPt+0hV Zs1hRQwZuAKvYmbINXgPvdn/H1IrfvEKCWJaf//RKwNgpS8PudcxHyHi7ZnNuwXKoDRDnV6ffwOmv qylRsaUNWBhDApwmeWA09mWjdrpeO1sjJ+32Qo54QXuFJzgSMAXu4ioPIa6QVMJAG0pydiv9KUJfs VBKEnfC8dQA7Rxidh9CEs3pWR/VLfMMky/mUblEqIzK3iaUbqg/JOVnyhrnWhiQpLb3z4aMqVP0Yd CowaO26OdAAIzx5zgdSQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cixym-0001w2-Ef; Wed, 01 Mar 2017 06:43:16 +0000 Received: from mail-eopbgr10065.outbound.protection.outlook.com ([40.107.1.65] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cixxZ-0001Ak-Er for linux-arm-kernel@lists.infradead.org; Wed, 01 Mar 2017 06:42:03 +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=7zOU3n/Ti6UwfPsWrnibmVqu6Zoej7OuvTeep0LknoQ=; b=hFMPMkQ82eHS0LiElIjGS92vm5KaHdXRLISuBLyVXDPmc/8Y6whZAayfGuXKihxmjNosw9HoGWgG55ToicUmcqUh3I8ZEOlliZePu+EoFssUOmaaWBix1uhnB9cT5DTSZza+Q9rxvSlCtAqiVkwQvESjOoPE/q/gZPi6TrALoto= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=nxp.com; Received: from linux-u7w5.ap.freescale.net (192.158.241.86) by DB5PR0401MB1800.eurprd04.prod.outlook.com (2a01:111:e400:5a85::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.933.12; Wed, 1 Mar 2017 06:41:37 +0000 From: Peng Fan To: , , Subject: [PATCH 3/3] nvmem: octop: Add i.MX7D support Date: Wed, 1 Mar 2017 14:40:54 +0800 Message-ID: <1488350454-23860-3-git-send-email-peng.fan@nxp.com> X-Mailer: git-send-email 2.6.6 In-Reply-To: <1488350454-23860-1-git-send-email-peng.fan@nxp.com> References: <1488350454-23860-1-git-send-email-peng.fan@nxp.com> MIME-Version: 1.0 X-Originating-IP: [192.158.241.86] X-ClientProxiedBy: SG2PR04CA0099.apcprd04.prod.outlook.com (2603:1096:1:3::25) To DB5PR0401MB1800.eurprd04.prod.outlook.com (2a01:111:e400:5a85::26) X-MS-Office365-Filtering-Correlation-Id: af71b14e-84aa-4367-79b6-08d4606e052c X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081); SRVR:DB5PR0401MB1800; X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1800; 3:F9VpuJ2y6ffvCDMQAOIsLOiefd7c9aj4QmBf5FtTQidw0KTsVEFrt/dZSIJimDchgLbwFlHDnw94HZbtGn2rMWFFhnOslLewVdQrI955WJ+synI1RIfiTfRDpEBzqaopt3VJcLIzD8fjwb30C5etChUpJaH7mW8ZCU8gecLW4yx0UIwq1CIlqUi95doc6/kQo7UiLMG7BRu4YlXKDO+OgL+tRqjg7AGqJ5JtSMHvokGKyp/5XaXQ1R1oIhlEJEpwJTNmPFSn53Vmwg59YRZaZvqCNjluR+6n2KggwbLcyIs=; 25:9dJjM4rElylGpM5DP1/WRjX0ExFgck7KccDmL4N5U0Nin+VHrvlmYuHnAeJKP8YGJzf2NV8Poc4UCaFwGIVjanq/iA0j8zR/qVZPT9dyJt7mVBKIqRvxoHkP+SeTGQ+FprgerJn5Z5z8Wy3fLLZZ48vIlU83DAsDQBj1qxEFWyStVJwIulUzvaoOmVhnEU7KTP2EKuo+ksKZgHT9tkKH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test: UriScan:(185117386973197)(58145275503218); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123558025)(20161123555025)(6072148); SRVR:DB5PR0401MB1800; BCL:0; PCL:0; RULEID:; SRVR:DB5PR0401MB1800; X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1800; 4:2RusTzCjSeoAhns/nwzAjsPlSTKGn1oCnVvya6jylzRvSULZ9C3zXQqmZYXBBw+R0z2YIyMyOVImm2JDMagbc3IdEawF9EJQ2SLf7RQpGNKLqLjiEjYrs3Q/Lgon29ZEYN2VqopF+woMQls77sDPCMeRGVFD2zYu7IsSelXstOiyCbxeMozMRhJUrRJD6HNlcKVpYiLr3ARSSco9pRSHotKPWYK14t7MjGcWhl/To2VVHtLp6xbA5wNzPx48Ds0Mwr2E8rrrl2fZ30J4Vt7zeMi798P5zltSRwesFVWSSKoItEozCk1smPMb24G2amubLqpZi9Ks44U5oUjRtX2Rr1RaWl09q7Bsu48WVVysj8DDvSdRPqM2rG/YgQbuDNQKB2J2gK2esorV0PCAgFDNbuB3+33b4P9It15sIDOxL9Zagrm7qmeyEaOjik3jUvbmEH/geZ9RGj+3NjhRxnLuWJ8CQPIoN8RescZCJkLEEhgBvmAbUmRNzzmclq7tY66a7n+NrVSzgZdmvqXjPlfDi5f6M67rGYOixGKzrBZgk4djiXne56BCTmXMzmC2tEC8DOEozqlnhdwfDSfbU0W2JFoeEaplsVARKy2IVeA+Z854e/rfm/hzEeC97OftOv1KM6NjIXkhpxtKI/WKxExOxD9iIFsejGSC43VrqyakUECyaorLUkNdeJr1aaG9rj+dAM7jhnac2vWQ6M9jvJE9iQ== X-Forefront-PRVS: 0233768B38 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(7916002)(39840400002)(39850400002)(39450400003)(39410400002)(39860400002)(38730400002)(92566002)(2950100002)(6666003)(5660300001)(42186005)(189998001)(6486002)(47776003)(7736002)(33646002)(305945005)(81166006)(36756003)(66066001)(5003940100001)(48376002)(53936002)(50466002)(8676002)(2906002)(2201001)(6116002)(3846002)(76176999)(86362001)(6512007)(50986999)(54906002)(6506006)(50226002)(4326008)(7099028)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR0401MB1800; H:linux-u7w5.ap.freescale.net; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB5PR0401MB1800; 23:Qm4ULQhm2PlO93d5+EJ8FQmgWHkh3mjfTISdjyW?= =?us-ascii?Q?mA7MAzS2R+YOR8ku3Dc/VoCcgUEiJJo6eylaBcNsx6Lp2VXfDqagRH+Kgbuc?= =?us-ascii?Q?5dvDZ4l2p20BRcsNSrHE0DFsMr3k5QUb5V/kh5V/AGoqBqVIAfilXsFO2D4e?= =?us-ascii?Q?824gfTYl4/97EnLF7kVPgxtLwjP8KdpOW7H+8BA2eUj2GvkiNz82hZI7zhLm?= =?us-ascii?Q?ikE9hSY3kHIKvvQTGy1RzLl796KSDQd9ICexv5z6KDYzTK87HYw/dHvhobge?= =?us-ascii?Q?zskvsnAQtRmy4CaXagmOYdLCc4Pfvby2bBzBPtxETke1fPoRvDpzO8xObgCp?= =?us-ascii?Q?I1J7qMv71kNatR0gegNVPg0bkkNwjvNpDNlhxj0pGz3zfjhVUEkq7h0O+RQF?= =?us-ascii?Q?SY4MBBGGnPK+HJwhlDGoh+uYou4I2k/T2VcIXfQgHMwzP6f2tLnHfCr2EEk4?= =?us-ascii?Q?sbtz8ZiIPYFuO2oCTFOZuokxBs+zhAsNzB/pDu5B95gce8yLb8Kbo/jTCICT?= =?us-ascii?Q?KfMVz3/cDaXfI6vDoCy9NHezO2g4r9DDOQNgDb0+D55NP8FDbWetM0zg7PhO?= =?us-ascii?Q?nN5CPi2xbTghgnJLxR8sNrwSVfyLQBE6ku0J6pxGS9c9nypyv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kmXT2OzuJJhBKXI7Br4deDHi/I9qY3VmDQdTpC2OMWnO8cgI7+iD6tw7x3UzLLkxN4bcs6fzl/VtGQHewdrJ8fHIYz/YCE3wk4SXQB5hpVLR5idzw==; 24:tUXF7iu/JOyZq7E2YHEXtfbriRU0J9CT2+CdG2I3BLaA7Q+L2tS8urZpTPtlu9eRBZ9JS+1wX8Tz57X4zlmbY/xYk/wjOVbeUoS2OTIU6AQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB5PR0401MB1800; 7:lAm1Z7ASoI+glZNur5Y8AWUUIdXtFd1qh9lstPlxlETSygoqffNXfZTCBXBH3qktaSiv57Z29F6v2jBT1KTE35MgdExI/rsPTGRqN4ZUWaE8twAKBTwkV1aJwl35bqQGsRj/YGYGSjRAtMdpZ5L90FdiNItappSIaiSjAEz9F0Wr5gJ3KxLRGSM1cnUq+yJqZM9u8s1Osntj8AK6/ECudCg/wd7YucuSvEG5LD3CJTXUemMojJ8XcBxo+wwHtLF29fFC7Wx01tfY0xgSMPQ2GnOCKg/DKZNfVsoI5eGyhVS0nIhWB4VP9/oxK64PlDH4tkela7uqLuol+QoO5ktpWQ== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2017 06:41:37.5395 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0401MB1800 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170228_224201_799367_56A479C6 X-CRM114-Status: UNSURE ( 6.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: van.freenix@gmail.com, devicetree@vger.kernel.org, Peng Fan , linux-kernel@vger.kernel.org, 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 Add i.MX7D support. There is 16 banks, each bank 4 words. Signed-off-by: Peng Fan Cc: Srinivas Kandagatla Cc: Maxime Ripard Cc: Shawn Guo --- 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 b8ca1e6..41550ba 100644 --- a/drivers/nvmem/imx-ocotp.c +++ b/drivers/nvmem/imx-ocotp.c @@ -74,6 +74,7 @@ static const struct of_device_id imx_ocotp_dt_ids[] = { { .compatible = "fsl,imx6sl-ocotp", (void *)64 }, { .compatible = "fsl,imx6sx-ocotp", (void *)128 }, { .compatible = "fsl,imx6ul-ocotp", (void *)128 }, + { .compatible = "fsl,imx7d-ocotp", (void *)64 }, { }, }; MODULE_DEVICE_TABLE(of, imx_ocotp_dt_ids);