Message ID | 1507155921-824-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 91089602B8 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 4 Oct 2017 22:28:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 82EC728C3B for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 4 Oct 2017 22:28:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 643E528C3A; Wed, 4 Oct 2017 22:28:00 +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 EA7CA28C2B for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 4 Oct 2017 22:27:59 +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=QjpYzA2PU2eT+XWDyn1yYInNcLAfxd1zxDAaH/ZaSqA=; b=kLbhP1+pwcGLcF3jM7fAIeMLoh f3IOK7c9urpiJzzW9Bdqan0+0Sa5glU14sYXIQRLEwB2Cg5eZCk5OpKOGhD0fxKc2sjJnoidRtLtr kCjekm0HuLN4nUfNlspay0xAyUP+YcL7M2UnXJXxeH2A8hUZP/xZyhEopRLyh9rNJKntZ8njO7gLs 65csfKtenDJZlM6/7G2a1yFTTCr8Q0GfLlMpLcH/W0Po9hJrtmh+m9GHAJ2j5LJf88ra69LW/e8rM D+BhnGgJiXnwmRO8tcHj1qqmrmZBmoLEVqhPofXGTbELOKBgmADLSHoriJyFwkituYXJ7PNUDtuIc 3OxKcS0A==; 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 1dzs8r-00075Z-MA; Wed, 04 Oct 2017 22:27:49 +0000 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dzs6w-0005Z8-2G for linux-arm-kernel@lists.infradead.org; Wed, 04 Oct 2017 22:25:52 +0000 Received: by mail-wm0-x22b.google.com with SMTP id l68so12059802wmd.5 for <linux-arm-kernel@lists.infradead.org>; Wed, 04 Oct 2017 15:25:30 -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=jwu+cNyQ4Qr28PX8zUmzV+bZ16172BJiiXvWGE8uejs=; b=1/f/McilNirA4Q4FBnBMM7kcyR0clX+hNPcl9d5MjtZJA4oAtuRnPJnxRQi2zE7DIS jIvl9HIkZnDdGfBeowN+dyoUA+WLLnficsoctgan16jrfpI2TaMAq78/y2rPBgv2PzTr CjSKOoMXm0bAojc0HLet4+552V0XMcqXSVIOsTs2dbRuMD7lMgKQlsAnekbkUtKWA1cN odEsZ0PH48wjMjdnmmlGRFwTo8zmsmMV0FbIsvV6QiOio8q3A5fW/YQi+T3Wp+yVQGBh imDguTQ6vQHgQXc8QY3qF6CAyTa6RZRhqBzhdxX0HooEIq9RNdhjMxM0Y6ifIkUeFNn/ NvOw== 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=jwu+cNyQ4Qr28PX8zUmzV+bZ16172BJiiXvWGE8uejs=; b=izpMq6KMnB4zf37BGgzZZaJscUTZsmpbEDOwRFy9jdSVBckSwwl4G26Da9WJAzLdFC HLnvZi+GNBbqK1gh7W8OzskwfXAgPm1QuoSJ5USwzW7+13vBF7FnZe1JeM3O7DSPPHXT GIQaWZ0HJRnsogrEk4VwxDZdAZ16KVCZ9GvXNNKzR2S9VKUj3XS6wVJ3We4nYYt74xHX qkqlxWMati8+jowR7n67/YQQyX5VxWw03PtIi25ux38yuqWw7T7Vel/t9A6DloND5ZPe pgmT2xRj/KGH9atU/NtTJSqoBlPzD3oVtS/6V8754A2kvwuXDXt3I5Y/ao2Od2CvEeVg KFhg== X-Gm-Message-State: AHPjjUhHG6NHtZ3+YDK2BL9ezcC6At0pZF9WcW8SFhepFcJqsObJPP9U gkbtzaNcjRenakeWOienQMTYJg== X-Google-Smtp-Source: AOwi7QBFiX8CRCDYuJ8rxJF+xSdHTRVcuvkAMiCR/f5xsUX4VDrtrVAPzxe2boWq777aUrRFIjVBvA== X-Received: by 10.80.218.202 with SMTP id s10mr30366372edj.212.1507155928924; Wed, 04 Oct 2017 15:25:28 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id i6sm12459022edk.3.2017.10.04.15.25.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Oct 2017 15:25:28 -0700 (PDT) From: Bryan O'Donoghue <pure.logic@nexus-software.ie> To: 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, p.zabel@pengutronix.de Subject: [RESEND][PATCH 6/7] nvmem: imx-ocotp: Enable i.MX7D OTP write support Date: Wed, 4 Oct 2017 23:25:20 +0100 Message-Id: <1507155921-824-7-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507155921-824-1-git-send-email-pure.logic@nexus-software.ie> References: <1507155921-824-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-20171004_152550_495867_69A1074E X-CRM114-Status: UNSURE ( 9.47 ) 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: 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 40a1669..5b0f7b5 100644 --- a/drivers/nvmem/imx-ocotp.c +++ b/drivers/nvmem/imx-ocotp.c @@ -468,8 +468,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(-)