From patchwork Tue Oct 24 09:54:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 116926 Delivered-To: patch@linaro.org Received: by 10.80.245.45 with SMTP id t42csp406264edm; Tue, 24 Oct 2017 02:58:08 -0700 (PDT) X-Received: by 10.99.51.193 with SMTP id z184mr13870981pgz.285.1508839088037; Tue, 24 Oct 2017 02:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1508839088; cv=none; d=google.com; s=arc-20160816; b=ENR99oqqhUu90FRkud1zb0ZHYQADS2gkfh3VVd7otYJ36F0h6SuwGk8NfPY6j51FEN 7hn9VHnzkMuy9y5dELtbqhxWFY8DhHp+EWkA1aqYLMl+eHL6ipRRVngVQtnUTSoAgY6x w5UKTvhT8ZG1g8E2ZeHRwMUhtXPuo7sqIy+PP/KKUApvOz5Ai5CWIzxaSgfrl1aU4V0h 9+C055ZoiU3gzvu4IboXcXmawBDYjLy+UxQ6wnkwq+dlof9SG+jV8xa8jCEQLkMNSLvZ n29jzQTz86CpDXzBtMrNy0rqMIiks4+RLBuZC1oHOgab+0m4akjVd6Ie2EoWZg/gfMTg AFRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=gUI8IJJCNY7DTPiPNVl7kzdL+SxyU8mPxrQohsiwW34=; b=Fz1cjhkNwGoRLHVC36q2XWo8do3BSbZQtTY8MgneiwgJk+Ji11XAozv+aIDb0K7BoC bJDfXfTYLAmlTvD9mRXGgusoAPKevS4ftFHpSVmU2FyFkLAKSMqWvf0Mf+iJV0I8NR6y nZF2VsaeGoqxToEY3W4YZW7pGe9hwqlsI+xP+S8OuFov2hg8j8Zl2rwEVtxqNkYjEXCq /4w5LzAD+vumNgihL2v0hE8+vM3OJ8qmGou58hPA/AzdD72BHcvo1crhZ4DHJEDKGUaB MNB5xkSCjjtqnepOu1du55GNR+AgnzduEW7BRaYYwtXgkpWrHo0d0EEmV/lBCcK35Oxj VxCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dppnn3UJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si6225992pgc.589.2017.10.24.02.58.07; Tue, 24 Oct 2017 02:58:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dppnn3UJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932490AbdJXJ6G (ORCPT + 27 others); Tue, 24 Oct 2017 05:58:06 -0400 Received: from mail-wr0-f195.google.com ([209.85.128.195]:53750 "EHLO mail-wr0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932346AbdJXJ4x (ORCPT ); Tue, 24 Oct 2017 05:56:53 -0400 Received: by mail-wr0-f195.google.com with SMTP id u40so14158781wrf.10 for ; Tue, 24 Oct 2017 02:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gUI8IJJCNY7DTPiPNVl7kzdL+SxyU8mPxrQohsiwW34=; b=dppnn3UJa4+HWSPfDCPL3enGbSE7KSDJ0mENTmpWzKk7zf8N2eSQjvY7G6ZaNyEFwV u3FBuZNb4GdbKvmh9AZR8pjJVrXQN4D1bwPSpBEtZaeHbOit9d1t8L+fqO/jEBvWZf27 gqEdJ1gh4Yv25CX86BX9j8iPN6H8z7sRP/UIc= 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=gUI8IJJCNY7DTPiPNVl7kzdL+SxyU8mPxrQohsiwW34=; b=ToUcdAF4gGPxUcg8DxT4enQapp0oN7p20cBwjgBfNmVAiFkFvksjwOdRKJLLoSejy0 NMJur/+6DzHFrYwfNKkH6ngAxi9/v98qGOluXteotCn9O8Jxmk5x4B2lchE9I2+VUOE9 KEPVkxi/czYNSCZrfj8MtZ830iWWPdoFizK6Yjym9iUV3EUbPkxuLnYmTD4xyiSCXQmG dnYNQyCo5OR1dFvMIEYPi4bu4n+107VyCuhH4RiOsDFfeifhYQs+6LOnPci6J7rxoFqb FYD0jc0PNLKJUPBp+WMDpkXsRDO1Xqyh2iNT0ThstzYrS2DKORCsZ2XXez+foUkD/z9W htzw== X-Gm-Message-State: AMCzsaUZInWgBYeHT9vAGjiXg0rBgP8ytnSECW+pPEBRRv3Dim+m5zBx JbzVwmILEcY128Z6XlftFem+6w== X-Google-Smtp-Source: ABhQp+SSCGJZUJBVnqfYlvxEQQcOtXcTh1sf3V/wmN9/OWEc2rjQXnMf8lBG1yfUxfxQfjztpJzX4g== X-Received: by 10.223.133.4 with SMTP id 4mr12944736wrh.56.1508839011849; Tue, 24 Oct 2017 02:56:51 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id 29sm9666451wrz.77.2017.10.24.02.56.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 24 Oct 2017 02:56:51 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, Bryan O'Donoghue , Srinivas Kandagatla Subject: [PATCH 08/10] nvmem: imx-ocotp: Enable i.MX7D OTP write support Date: Tue, 24 Oct 2017 10:54:32 +0100 Message-Id: <1508838874-32252-9-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1508838874-32252-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1508838874-32252-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bryan O'Donoghue 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 Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/imx-ocotp.c | 2 -- 1 file changed, 2 deletions(-) -- 1.9.1 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))