From patchwork Wed Jul 11 10:20:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 141720 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp106701ljj; Wed, 11 Jul 2018 03:23:02 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcELWDU7H02VVWhUWWLtYN2mNL2wPq/zL/eeI3ksKo8ghs7GH9oay1C/vX+1mVa7kMsalxa X-Received: by 2002:a62:e0d5:: with SMTP id d82-v6mr29331695pfm.59.1531304582244; Wed, 11 Jul 2018 03:23:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531304582; cv=none; d=google.com; s=arc-20160816; b=rx9uieBXzXHva/6d47yktIq2GTjRYeMRWlywnjew89wBMTyv2DSKa06gx8mVT/lmR7 zR+tclduS1eqG8xioESFUyhuXTw8sJh49m92bBo9J43FzM5N6rfLpMSzEn69Pbmfipnu YFEZdTqljdPu33/mF4jEAIVd5SN2UxkP9SeLyN5PQa6yCCmxkwVLRVskJq8Ed92E7idW jasAOli1K7jN1CBlagCx4crecKeij+7JwIRGbqfi1DTC9fwLcN49dqOP09gUMxT/E3zo YwPUFG4G6fqTiR8JTQCrJZMQHqtRuE3Pa470pahekgCWHqPz1F3zSbemSZhJVX94eh4d VX1w== 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=vDEEztRxfmeexwzcpHtjsttOsfjxeUr0XRWIlM/UEIw=; b=yPFxwfsfGSg1BZ0e3m/80l8h66M41pGQ5tPvn1cIuFVbQFpO03JSnlG0RPeSbt2P/h iU6q/MWuFKjei3iQbA0QKJJSOav2zjADjyWXGKyc+9dGOhmxWWOD1sEbipUwP3MOGhfd JqjHDMvtHBuxqr0x1c54gU6+wqqNbWH3mzkTAB6VQ6ZLaJd/gAn1CEAcDyKynqHxVg4t 8231R47SmY3rsa7PL52S73PqiqiDFhsYxXX1ir5jKcma+lrfgLzvgNkETqhm799MFDHa AD9uvig8g1vXYfiPY5fruLHBXCH55cmLvOeBOqCVW9W3zuFx28ejR1ZG+jXoUWPPcryd PVvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RnoYmk9K; 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 r39-v6si19169761pld.83.2018.07.11.03.23.02; Wed, 11 Jul 2018 03:23:02 -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=RnoYmk9K; 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 S1732565AbeGKK0g (ORCPT + 23 others); Wed, 11 Jul 2018 06:26:36 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34147 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732289AbeGKK0e (ORCPT ); Wed, 11 Jul 2018 06:26:34 -0400 Received: by mail-wm0-f66.google.com with SMTP id s13-v6so14811797wmc.1 for ; Wed, 11 Jul 2018 03:22:57 -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=vDEEztRxfmeexwzcpHtjsttOsfjxeUr0XRWIlM/UEIw=; b=RnoYmk9K/YnYmA3WadKGpXGiTrZY+KXB7pdqDeYDtGQxayGgESvqr7C93GQkuhLv3s XuwmN6spHAWtK+ZBrgV4nRWNYkvctj+RouBReXY0IRW6Ld0dEHXaNbBY7x9Ln8g0p0CI to3PD0PxeJFp2dXwZ4Ucw0y5p0iCBJ5KAx8Bo= 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=vDEEztRxfmeexwzcpHtjsttOsfjxeUr0XRWIlM/UEIw=; b=XYUCGmjH//o9fNA72V1TESnv/rodP7Ap75GAZR4vUtrOLTa2qwlZjcM+qcGU7ZLjAn J5mpR3pe/OGBVDbEaWSp2EKm/ETKmeLAEWbjSGUuruSH9lJc1d7eGzJAxNdESNH43g2X hNNHgXqnWXUC7hvL7H7tXs4Xkf1STYVlMXd/j0tYuyYqj7DCGrMJN1HTCo/LccXmL0zu cvmIrykepHMY7hV8hDvGe2yvoZXXQuqgVWXkneXQAMCJOdMk5EoqJqjhwfXWpaZT7Pp7 Z682O0fo8kT0fIgrAjh4fjBJx6lXa6Cid4M/m2HxffK0eM2ovBy45XWuIo1ug4lv6rRd vH8g== X-Gm-Message-State: APt69E1RHnpcTXvUy9Coo2deTmdTZ/bFM/CXZC9QizNuVvDhJAAaM0j+ geXBK7DCQTdsQhkjwgvNPIuoUe9k9rs= X-Received: by 2002:a1c:8b81:: with SMTP id n123-v6mr16550833wmd.142.1531304576642; Wed, 11 Jul 2018 03:22:56 -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 73-v6sm2462032wmu.37.2018.07.11.03.22.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Jul 2018 03:22:56 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org, Anson Huang Subject: [PATCH 4/4] nvmem: imx-ocotp: add support for imx6sll Date: Wed, 11 Jul 2018 11:20:43 +0100 Message-Id: <20180711102043.24079-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180711102043.24079-1-srinivas.kandagatla@linaro.org> References: <20180711102043.24079-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anson Huang i.MX6SLL is a new SoC of i.MX6 family, enable ocotp driver support for this SoC. Signed-off-by: Anson Huang Signed-off-by: Srinivas Kandagatla --- drivers/nvmem/imx-ocotp.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 2.16.2 diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c index 60816c856dd6..afb429a417fe 100644 --- a/drivers/nvmem/imx-ocotp.c +++ b/drivers/nvmem/imx-ocotp.c @@ -409,6 +409,12 @@ static const struct ocotp_params imx6sl_params = { .set_timing = imx_ocotp_set_imx6_timing, }; +static const struct ocotp_params imx6sll_params = { + .nregs = 128, + .bank_address_words = 0, + .set_timing = imx_ocotp_set_imx6_timing, +}; + static const struct ocotp_params imx6sx_params = { .nregs = 128, .bank_address_words = 0, @@ -433,6 +439,7 @@ static const struct of_device_id imx_ocotp_dt_ids[] = { { .compatible = "fsl,imx6sx-ocotp", .data = &imx6sx_params }, { .compatible = "fsl,imx6ul-ocotp", .data = &imx6ul_params }, { .compatible = "fsl,imx7d-ocotp", .data = &imx7d_params }, + { .compatible = "fsl,imx6sll-ocotp", .data = &imx6sll_params }, { }, }; MODULE_DEVICE_TABLE(of, imx_ocotp_dt_ids);