From patchwork Sun Jul 19 22:04:57 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 6824511 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3A2BBC05AC for ; Sun, 19 Jul 2015 22:10:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6A3342047C for ; Sun, 19 Jul 2015 22:10:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 88E442045B for ; Sun, 19 Jul 2015 22:10:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZGwiv-0005GE-6W; Sun, 19 Jul 2015 22:06:17 +0000 Received: from mout.kundenserver.de ([212.227.17.10]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZGwia-00057S-Fq for linux-arm-kernel@lists.infradead.org; Sun, 19 Jul 2015 22:05:57 +0000 Received: from localhost.localdomain ([146.52.220.245]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MNtut-1ZJwRN10LD-007USq; Mon, 20 Jul 2015 00:05:14 +0200 From: Stefan Wahren To: Srinivas Kandagatla , Maxime Ripard Subject: [PATCH V4 RFC 1/3] DT: nvmem: add binding for mxs-ocotp Date: Sun, 19 Jul 2015 22:04:57 +0000 Message-Id: <1437343499-16422-2-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1437343499-16422-1-git-send-email-stefan.wahren@i2se.com> References: <1437343499-16422-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K0:ldVhDwO+YbGzdbBI2kKAUX7JKXIGvQXzXXJGJO1vcdLiVcrqfZd Q+rVCRR2P+IIZ1Yhyfh+FaoNnh9zOKrSTP3LvDLcaw2Q6yWBOSxbXpKHh1/jpjS3qOX5uIw U6RySDeVd2SI09RbWVwgah5NRzMlgcKOELqsTRMyVFD0liqWFvdPzU+vbirSoKnE0pXcN2/ +mUlDbpqwBTIIvQ0QtW6Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:DJY8t3JyR4Y=:4yQciiNEUVTS4ZxQ1od2kv vWNCmLaeEzP+ssU28BV5F1bE5UYIpazEGK50F0kIvNkcx+8WoEMy4V5k8TkGIWvlYN9ydHiMZ aOoBlAGY6uTKNM99v+cbAaPRiEnyr5E04FVJt2yXevN7feKjMZ9uKrwog59yE5vGiDMZ7HPmf pMiXF+ZJtxhto++Sk8pOZ775zLmUglGLPB0d61QhKZgOliGVEsY0hI5EWyN6h5MdwgBs8hD60 1ijN/VFSB3C6KmD3/yMhJi9xP6M5bvDrdbx1ZPfgbzlJEcllqov3A0sXfaLdJ2a7NDn1rX22z 9A4DDsj2p/+WdHP4aUi+4lsUEnEMuopIMrfc81r9mRHN7R9UEGD670OADFbo10ciWX6YBgQCs PEcURpLj46ZVRnJK/kO9gFeLojnmBCjDroFB09GYTBUQeURh+b8zFkuavt5yGeOT/HWOE6aWF wQgRY6OYx6+h6fNAEQjciqVh8FdRPwa35/yVlh9bzC0Z8fVanLAktRMgHrjiOHxbo+XUE38Zm +/uD57Y8WTRU10D9yN47cjVZSHr2JsN1pm6SO49e+NaX+i2zyBo8tsx2zOJ6TVvbJFm05biQs LkTGPPmS5XnnxxU7y8Mv38geS2kCjxarPaXl0HG8nt+M4BxtVkH30olk3k0E/cmMFJWQ0KK+x iSYp3P1RridyEDAxjcWcCj0mb X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150719_150556_880671_90CAB6BC X-CRM114-Status: GOOD ( 12.02 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Marek Vasut , Fabio Estevam , Pawel Moll , Ian Campbell , Stefan Wahren , Sanchayan Maity , devicetree@vger.kernel.org, Rob Herring , Sascha Hauer , Kumar Gala , Shawn Guo , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the devicetree bindings for the Freescale MXS On Chip OTP driver. Signed-off-by: Stefan Wahren --- .../devicetree/bindings/nvmem/mxs-ocotp.txt | 24 ++++++++++++++++++++ 1 file changed, 24 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..cd2a8cd --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt @@ -0,0 +1,24 @@ +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>; + };