Message ID | 1507558312-20580-7-git-send-email-pure.logic@nexus-software.ie (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> 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 AB6C060244 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 9 Oct 2017 14:20:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 23B9028869 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 9 Oct 2017 14:20:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 22838288A1; Mon, 9 Oct 2017 14:20:58 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED 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 60E9B28869 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 9 Oct 2017 14:20:41 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=zsS3ccWOJObo2H/0S0bmlNnZ9Iwox8qoJdBVXCqwzQo=; b=W/JEMDo3nbcj0teTXxeYHscSae R1+2rwEkWTCbXyUaXb2uRVd60YBO4eVt3qd1BDLdpfpN309mQwR6+77eeLbipLUUeQFudGgM1Tq2K comgXvzvlxMmSQdTSuI3FWcbvc7ivuUTriN2s7Kmr5s/EmcocwZiHQfS+NvJO8Yj6ipy6Zim8lTrR F1K7hMM3cNw94+7K8WzOwrLhW8pTLpWyX/d+VnciKUb7RTDw9itNmyvfQKfAzWPyzopRLXWQpqObH d43Sxj6/y7YoCnO8CSbvpyegUWi4l7KJlGHskUkMk62N4mD1JcBsM5SaiRgsL/CrzOGi+0cWgwVRP mTjvk1oA==; 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 1e1Yur-0004c3-DZ; Mon, 09 Oct 2017 14:20:21 +0000 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e1Yn9-00077t-N9 for linux-arm-kernel@lists.infradead.org; Mon, 09 Oct 2017 14:12:36 +0000 Received: by mail-wm0-x233.google.com with SMTP id u138so22900765wmu.5 for <linux-arm-kernel@lists.infradead.org>; Mon, 09 Oct 2017 07:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Qsut4YoBqmFkp5NcSK1yX1F3ZzQCh0oP5OGwmhZPr1A=; b=WBO6RPfSqFgDbME8izvTntScZwpisY6sI4GWC9Xx8Frk5qAIFs6ZpxkcgURDzUaFAU rZrdwkuO6/B1f8xUHnSpoE7znnqPL0kFZYp3H8kqDBM/JVzeEpWpHgaMXz7jq0cBAV37 XT+BrjQzBwA8+y9AAanMz3qyuM9Bq18JEu7kfcP7d0f3S5CD8qMWSwZUBEgda1pANfld IFWCrFGmgKsNifEAEd6TJ7xycNKobUsAQbU83HZbwaXaqVz+CdLByDVzJiS5dAKARQKm Yz5YYWnElIvtij9qtf/2IOd6+Df3etCI4YZF3Y3HTCGbmIOERNtgCYuk3ok0vcs1r9FL hNng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Qsut4YoBqmFkp5NcSK1yX1F3ZzQCh0oP5OGwmhZPr1A=; b=OqONMoRdYo6Pw+JeiHUkXdoD8A+TCZDoitCNYB5sx1qyZCP4fOuxYacVXNT/9kIlgZ nIWmUSRi9rzRzouZURiKMOHLjwbZEW+vkhccNqLAWT8Ew13OaQimSapLXySU0Q61oNrC fIM+QYOyu7lfNLaFXBtlkJRnEOqqCntsajzrfjcNtjcx+/L9dIGWBUOKNfcalTFhNn7P V67YNV8o11cix+8Att7b3iHdG7zdw7OSs0/VEwRU9S2GgegAvEN63mo5apQpBe6DLApC D9yKouBe/9uHnDADT6RyuuNHYBdHUWY0CDR8gipRO+tybA5QCYQgfbxrdycab13p5U0P pZ6A== X-Gm-Message-State: AMCzsaUPtukIPbr1O1Ox3sTlulF+nnvdjJvyq4SBzZ4gwRo2c2PKCWVb z1W3LmDyAJLMXVQBPRX+ihZcJQ== X-Google-Smtp-Source: AOwi7QCE6Xdla7XbVD3Yr9UjKPQz4DAl14jgA6bSvnM+1U9I4W/3wzbU8sICKfMZK2QAXEi4sqpjMQ== X-Received: by 10.80.215.206 with SMTP id m14mr13633475edj.81.1507558322191; Mon, 09 Oct 2017 07:12:02 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id g49sm451117edc.31.2017.10.09.07.12.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 09 Oct 2017 07:12:01 -0700 (PDT) From: Bryan O'Donoghue <pure.logic@nexus-software.ie> To: p.zabel@pengutronix.de, richard.leitner@skidata.com, srinivas.kandagatla@linaro.org, axel.lin@ingics.com, ping.bai@nxp.com, d.schultz@phytec.de, peng.fan@nxp.com, van.freenix@gmail.com Subject: [PATCH v3 6/7] nvmem: imx-ocotp: Enable i.MX7D OTP write support Date: Mon, 9 Oct 2017 15:11:51 +0100 Message-Id: <1507558312-20580-7-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507558312-20580-1-git-send-email-pure.logic@nexus-software.ie> References: <1507558312-20580-1-git-send-email-pure.logic@nexus-software.ie> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171009_071224_290444_EACD6CE2 X-CRM114-Status: UNSURE ( 9.56 ) 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: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Bryan O'Donoghue <pure.logic@nexus-software.ie>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c index f80aee9..8e8bc20 100644 --- a/drivers/nvmem/imx-ocotp.c +++ b/drivers/nvmem/imx-ocotp.c @@ -459,8 +459,6 @@ static int imx_ocotp_probe(struct platform_device *pdev) imx_ocotp_nvmem_config.dev = dev; imx_ocotp_nvmem_config.priv = priv; priv->config = &imx_ocotp_nvmem_config; - if (of_device_is_compatible(pdev->dev.of_node, "fsl,imx7d-ocotp")) - imx_ocotp_nvmem_config.read_only = true; nvmem = nvmem_register(&imx_ocotp_nvmem_config); if (IS_ERR(nvmem))
After applying patches for both banked access and write timings we can re-enable the OTP write interface on i.MX7D processors. Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support") Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie> --- drivers/nvmem/imx-ocotp.c | 2 -- 1 file changed, 2 deletions(-)