From patchwork Wed Sep 30 12:56:11 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 54330 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f71.google.com (mail-la0-f71.google.com [209.85.215.71]) by patches.linaro.org (Postfix) with ESMTPS id 38C0023002 for ; Wed, 30 Sep 2015 12:56:27 +0000 (UTC) Received: by laak17 with SMTP id k17sf21239938laa.3 for ; Wed, 30 Sep 2015 05:56:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=/F2Ric1xWq8ioz9+3tia5ok7oQY6rExtyiJEBbVTiR4=; b=H/7vtn/HM+kbY5EJ3U68C7KUV9XgKZPCQmcROxZuM/SYGt8hkkiVEpkcw5VOAoo+BN rHwFayAsvTINvbk1RyQWhHIi/9vKqTZlvrPGcjJMdUMpUtoetb/4nB0Eb5kIBOiJ+dpF y1p5NgSuuZGEen/D4wBUgyb+B6Psw9B9SJj9+F96mlTYF4gZ0kV3PK6JeyMh1t+hioMq njXLUHiaU9NaQX1HgPJqWW/xsk3Gy/xieOlA3jiNWU93QP8ioALmIv8Yeq05yp71VOaA 405EVHJ3GpWWAqzYIPXluuNxnVxBwaYbnQ65/JlY0QlAq5YL6TXfGOFiLT92zFGKc3ow EbBQ== X-Gm-Message-State: ALoCoQkLbDvpvY9sKI6W4lJ72tBjaoHVxyFK53ZeU9EvDUzRb5A/vsgGK747D+fdDIjdLdRf9dn6 X-Received: by 10.180.188.211 with SMTP id gc19mr4739737wic.6.1443617786225; Wed, 30 Sep 2015 05:56:26 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.71 with SMTP id kw7ls22076lac.98.gmail; Wed, 30 Sep 2015 05:56:26 -0700 (PDT) X-Received: by 10.112.130.136 with SMTP id oe8mr1095167lbb.20.1443617786038; Wed, 30 Sep 2015 05:56:26 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id as1si223607lbc.94.2015.09.30.05.56.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 30 Sep 2015 05:56:26 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by labzv5 with SMTP id zv5so45000141lab.1 for ; Wed, 30 Sep 2015 05:56:25 -0700 (PDT) X-Received: by 10.152.18.167 with SMTP id x7mr1074900lad.29.1443617785920; Wed, 30 Sep 2015 05:56:25 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2739580lbq; Wed, 30 Sep 2015 05:56:25 -0700 (PDT) X-Received: by 10.67.12.166 with SMTP id er6mr4813069pad.40.1443617784930; Wed, 30 Sep 2015 05:56:24 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z10si694069pas.74.2015.09.30.05.56.24; Wed, 30 Sep 2015 05:56:24 -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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933695AbbI3M4V (ORCPT + 30 others); Wed, 30 Sep 2015 08:56:21 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:38140 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933066AbbI3M4Q (ORCPT ); Wed, 30 Sep 2015 08:56:16 -0400 Received: by wiclk2 with SMTP id lk2so60472129wic.1 for ; Wed, 30 Sep 2015 05:56:15 -0700 (PDT) X-Received: by 10.194.63.5 with SMTP id c5mr3922953wjs.127.1443617775037; Wed, 30 Sep 2015 05:56:15 -0700 (PDT) Received: from localhost.localdomain (host-92-13-246-184.as43234.net. [92.13.246.184]) by smtp.gmail.com with ESMTPSA id wc12sm29439942wic.18.2015.09.30.05.56.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Sep 2015 05:56:14 -0700 (PDT) From: Srinivas Kandagatla To: gregkh@linuxfoundation.org Cc: maxime.ripard@free-electrons.com, linux-kernel@vger.kernel.org, srinivas.kandagatla@linaro.org, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 5/8] nvmem: add binding for mxs-ocotp Date: Wed, 30 Sep 2015 13:56:11 +0100 Message-Id: <1443617771-26490-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1443617615-26261-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1443617615-26261-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Stefan Wahren This patch adds the devicetree bindings for the Freescale MXS On Chip OTP driver. Signed-off-by: Stefan Wahren Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/nvmem/mxs-ocotp.txt | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt diff --git a/Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt b/Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt new file mode 100644 index 0000000..daebce9 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt @@ -0,0 +1,25 @@ +On-Chip OTP Memory for Freescale i.MX23/i.MX28 + +Required properties : +- compatible : + - "fsl,imx23-ocotp" for i.MX23 + - "fsl,imx28-ocotp" for i.MX28 +- #address-cells : Should be 1 +- #size-cells : Should be 1 +- reg : Address and length of OTP controller registers +- clocks : Should contain a reference to the hbus clock + += Data cells = +Are child nodes of mxs-ocotp, bindings of which as described in +bindings/nvmem/nvmem.txt + +Example for i.MX28: + + ocotp: ocotp@8002c000 { + compatible = "fsl,imx28-ocotp", "fsl,ocotp"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x8002c000 0x2000>; + clocks = <&clks 25>; + status = "okay"; + };