From patchwork Wed Aug 12 13:19:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sanchayan X-Patchwork-Id: 7001401 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 0DCC5C05AC for ; Wed, 12 Aug 2015 13:26:26 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3159B20660 for ; Wed, 12 Aug 2015 13:26:25 +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 5190F20651 for ; Wed, 12 Aug 2015 13:26:24 +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 1ZPW0k-00036e-Kr; Wed, 12 Aug 2015 13:24:06 +0000 Received: from mail-wi0-f178.google.com ([209.85.212.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZPVzn-0002Jy-HC for linux-arm-kernel@lists.infradead.org; Wed, 12 Aug 2015 13:23:10 +0000 Received: by wicja10 with SMTP id ja10so113101887wic.1 for ; Wed, 12 Aug 2015 06:22:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=4DxZznwHG+nI8gN8EMfq22xcqBMtvEm2NFMz3teqU+0=; b=I6cmK+m8Oktmc7Oki6DDDbvhTs4sv7QZj6DnP/GBgLiMZhFlAPDCX4AVjmTkkd1AF2 k+e3MuQTIr4imTV41jXANjYKjLk01LryYSPlMvUQ5PNQB+FBW4Op/b9IMdDPO3H+dgoL fEjXgNqcEZhlKP5fQLS2fqT3QXw1HcDjzAQ3CT+uRtpyUt1lKyvYv1T7Gz3gJvcgK72T fksNb21qO1EZunj4qqYd3oxRBn3XzbmCa2D5mC0TU0/DDYRC0F6O2L/ueeEPLhcNyIeB f30jk1AOmccdxCc+bshmyXKboXKZTE28WLGsdYBEHAfZXzYG2osSQxj1/0nyGacgrwBW F7sg== X-Received: by 10.194.95.71 with SMTP id di7mr69873648wjb.125.1439385764639; Wed, 12 Aug 2015 06:22:44 -0700 (PDT) Received: from localhost ([46.140.72.82]) by smtp.gmail.com with ESMTPSA id h3sm8368431wiz.9.2015.08.12.06.22.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Aug 2015 06:22:44 -0700 (PDT) From: Sanchayan Maity To: gregkh@linuxfoundation.org, srinivas.kandagatla@linaro.org, maxime.ripard@free-electrons.com Subject: [PATCH v9 4/4] nvmem: Add DT binding documentation for Vybrid OCOTP driver Date: Wed, 12 Aug 2015 18:49:21 +0530 Message-Id: <24fcfdc695907103e8f4602b7dc6b8fa38e85ec1.1439384645.git.maitysanchayan@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150812_062308_064169_BBC26B8C X-CRM114-Status: GOOD ( 11.63 ) X-Spam-Score: -2.7 (--) 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: Sanchayan Maity , shawnguo@kernel.org, stefan@agner.ch, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 Add the devicetree bindings for the Freescale Vybrid On-Chip OTP driver. Signed-off-by: Sanchayan Maity Acked-by: Srinivas Kandagatla --- .../devicetree/bindings/nvmem/vf610-ocotp.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt diff --git a/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt b/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt new file mode 100644 index 0000000..b29f65f --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/vf610-ocotp.txt @@ -0,0 +1,21 @@ +On-Chip OTP Memory for Freescale Vybrid + +Required Properties: + compatible: + - "fsl,vf610-ocotp" for VF5xx/VF6xx + #address-cells : Should be 1 + #size-cells : Should be 1 + reg : Address and length of OTP controller and fuse map registers + clocks : ipg clock we associate with the OCOTP peripheral + clock-names : Must contain "ocotp" as matching entry + +Example for Vybrid VF5xx/VF6xx: + + ocotp: ocotp@400a5000 { + compatible = "fsl,vf610-ocotp"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x400a5000 0xCF0>; + clocks = <&clks VF610_CLK_OCOTP>; + clock-names = "ocotp"; + };