Message ID | 1508769290-2646-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 DB3AB601E8 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 23 Oct 2017 14:38:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C77F827F97 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 23 Oct 2017 14:38:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC6F0288AE; Mon, 23 Oct 2017 14:38:17 +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 6AEFD27F97 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 23 Oct 2017 14:38:17 +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=c6h5I6fnGzxfxVA023WirEWwa4LvKZ7aC4RvSv4I7n8=; b=ZSJsxfpz6JOt0D3AEbjJPc4Qxr BuSKCtCF6mYGGvrZGXVAFZUK+sg1zGlvcFguOn7TREp1XK5GJSC8v/8mZMfn7VLEID29iYmzMwOLT nTmRRcgXR6xn1Cfy8cfQ74XOsKoBQxA9WfQmOakKecwyHVXn1rhw1DKTLem62O/5QxxcZzStN4xaK e2tIxOyIhghogvEqZqdxTEaxP0Sn7knEUoPLk5zFVR7Nb55W51vQlzG+UPqw2xCxe4m9oEw8e4ZY1 x97tA6/r51T2vGNbnZra+lUt+1akgDjWAIewV3xDtj4bGEJNlaaYUhHoGpCjZpcKW+kI/gCybnnsg jYz9b2rw==; 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 1e6drl-0000A4-P4; Mon, 23 Oct 2017 14:38:09 +0000 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e6dp0-0005RT-Hm for linux-arm-kernel@lists.infradead.org; Mon, 23 Oct 2017 14:35:25 +0000 Received: by mail-wm0-x243.google.com with SMTP id 78so7420449wmb.1 for <linux-arm-kernel@lists.infradead.org>; Mon, 23 Oct 2017 07:35:00 -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=uRdxUQbcEftbugU2mSSfB5S8ipA7bHoOWaQJTAA9UL4=; b=wlNWzpBkZjfzdm+1Qrl3UkQB5+sDyI43s+RSgYvD1fW98t7aQr023HQ8tVz8xyEEGT gkr9iabvTT5WDBspMRoIpx0ftu4x2Q2lP/aFZHUKs5aUf7by32SEUn8BW08UyMY9m3pN 3DKmr7s/dCjVt97dJSaTRLI2/f4uTKuEfEDtvWS7RE7UdYWSw0LZAQtzUeaVgX1aBWZV CvsxMpWfw8xjJqvjpZcGvj+YxOU2VT6h1nnlLWBdW/61S/rLgs4IB1VLJbUyoGS2cMQS 9aepibuKGv9FgBNQFfwb/qPjykyOBBKBkczjJy9haypSCDeQq9HrF44wPffmSv7YakN2 PDvg== 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=uRdxUQbcEftbugU2mSSfB5S8ipA7bHoOWaQJTAA9UL4=; b=NGlmLiu7lsG/h4xH4wLtWuCOBkKmsu0oC0+D5xLixKv+M0p6HpD1fECijyPsBTLbF9 UYuEeTZioO2am+qTD+JobDrLwhoGDLYdV1VhbD3WpPviKJ6DYfNoN5/S4PyIqie3dMmq IPNwfzLr2fXqHPga62eQ8RXA5Uo3eRkNun1tiiF8gWNLu/wFhJRxvqtI9qzpPJLiR54x tC8ivGAKeh5fAIFXlGNwLeOm1B7KEj6D/Y3cgvdtTwAagf7mbe9MnlpY2UCsqlmEaOA9 uDgyEQ3GEWdAYQrwKlGFd56wb+NAw6z0EKZiwMnmlVXaE3q4hAhskjHQrFdDl/op/7pz zzlQ== X-Gm-Message-State: AMCzsaVw3l9h61xIkRJVlBl5ZcN6JOW06LSO9YHW+gWA/YW5mqFrh8cd EO8ATHX5WPmrVTo8xypEH+UFphIW X-Google-Smtp-Source: ABhQp+Qk/OYpG1R9fiuVuDFIHsrP+xI9G3KSsPi2jKYFtB7NQ60KQTgLLSeYMsMvaKameydUrbwQtw== X-Received: by 10.80.214.196 with SMTP id l4mr3270351edj.58.1508769298788; Mon, 23 Oct 2017 07:34:58 -0700 (PDT) Received: from localhost.localdomain ([109.255.42.2]) by smtp.gmail.com with ESMTPSA id w51sm7098180edd.60.2017.10.23.07.34.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 23 Oct 2017 07:34:58 -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 v4 6/7] nvmem: imx-ocotp: Enable i.MX7D OTP write support Date: Mon, 23 Oct 2017 15:34:49 +0100 Message-Id: <1508769290-2646-7-git-send-email-pure.logic@nexus-software.ie> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1508769290-2646-1-git-send-email-pure.logic@nexus-software.ie> References: <1508769290-2646-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-20171023_073518_834780_F6F05475 X-CRM114-Status: UNSURE ( 9.31 ) 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 be8d002..79efce6 100644 --- a/drivers/nvmem/imx-ocotp.c +++ b/drivers/nvmem/imx-ocotp.c @@ -467,8 +467,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(-)