From patchwork Sat Aug 27 13:43:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9302401 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 23311601C0 for ; Sat, 27 Aug 2016 13:47:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 114802891D for ; Sat, 27 Aug 2016 13:47:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 033D628921; Sat, 27 Aug 2016 13:47:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 765B32891D for ; Sat, 27 Aug 2016 13:47:19 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bddvg-00027X-IQ; Sat, 27 Aug 2016 13:45:48 +0000 Received: from casper.infradead.org ([2001:770:15f::2]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bdduO-0008Vv-LD; Sat, 27 Aug 2016 13:44:28 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by casper.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bdduL-0000Ih-EY; Sat, 27 Aug 2016 13:44:27 +0000 Received: by mail-wm0-x244.google.com with SMTP id i5so3212675wmg.2; Sat, 27 Aug 2016 06:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=wH3ys1AsPJYjgu+/BT+19n748LPRelsYvwWXY7fAgHQ=; b=ERSDrmuutZ2QcZm/AcikSDnm9pMlYPGyd85QIiJc4XYyJ0qcCkSCF/Z1D0gQHUoZrS YVobZ140mVQVz20zpP25rsUIV7CLWVHMD8a3Gvj4Nq88PVQExoVWGUoFwf+3Cxgnpe55 dl98dhIWjSDBK2bgWwwKMU/HuGpumZk9RhJ7UnSpTZ6rEM2XWfcGkHqyWEWJJYs2soAi zAucEOOjFhXIrApotjPGLSctT9EkFmwZaDB4TAACEvInGNX14x/MkcfAYiQ6kT4r/4o0 bpd1qOfF7Fmt/mHKMJpZ+/+FrJZqv9QNtfrroUJl9WQ1TagwLwf44eZurxmzP8Kj41Xd Cfag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=wH3ys1AsPJYjgu+/BT+19n748LPRelsYvwWXY7fAgHQ=; b=S+fa0I7kvM7XIYq00S1tsgl/hP3SxvsP/5A3LNmQKPlV/givYdRnxmisq/Zw+hlFuV jhKcEaBLr4mSTS16ruulogU6cWnlLaG86eNryEBQEi8Y7u66Pn8OWmrlDW0aRhqOM8bk ezUGbYppKiT6JjKdDDV50oPW1hkEgxZoXS+UMxlqC9Bjpo0qdon3IcWZmym4NuiaqGRP kl8p+a6t06SqMjPpFYxcWpRimSyfoqgaKQjpEHpXEGoRY5R9nCxw6FJlt/BkgAKK+d6U lAtlRnoESNUQYG6nRDeFPleFh6EAwpcfD7ocpYpaDxrLsj1WVJiWEKy0mFul3F8kqHu/ g8ZA== X-Gm-Message-State: AE9vXwM453v6CVKvSV9wqmF7rhr17P68jCUT1Pk5JHGBgELjdLNrGQpnG+A24rUuQe+C6A== X-Received: by 10.28.12.133 with SMTP id 127mr3009864wmm.119.1472305443454; Sat, 27 Aug 2016 06:44:03 -0700 (PDT) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id d7sm24769353wjg.13.2016.08.27.06.44.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 27 Aug 2016 06:44:02 -0700 (PDT) From: Carlo Caione To: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux@endlessm.com, khilman@baylibre.com, mark.rutland@arm.com, matthias.bgg@gmail.com, narmstrong@baylibre.com, bjdooks@googlemail.com, srinivas.kandagatla@linaro.org Subject: [PATCH v3 5/6] documentation: Add nvmem bindings documentation Date: Sat, 27 Aug 2016 15:43:47 +0200 Message-Id: <1472305428-16874-6-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1472305428-16874-1-git-send-email-carlo@caione.org> References: <1472305428-16874-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160827_144425_553214_0C126C48 X-CRM114-Status: GOOD ( 11.89 ) 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: Carlo Caione MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Carlo Caione This patch add the bindings document of Amlogic eFuse driver. Acked-by: Rob Herring Acked-by: Srinivas Kandagatla Signed-off-by: Carlo Caione --- .../devicetree/bindings/nvmem/amlogic-efuse.txt | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt diff --git a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt new file mode 100644 index 0000000..fafd85b --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt @@ -0,0 +1,39 @@ += Amlogic eFuse device tree bindings = + +Required properties: +- compatible: should be "amlogic,meson-gxbb-efuse" + += Data cells = +Are child nodes of eFuse, bindings of which as described in +bindings/nvmem/nvmem.txt + +Example: + + efuse: efuse { + compatible = "amlogic,meson-gxbb-efuse"; + #address-cells = <1>; + #size-cells = <1>; + + sn: sn@14 { + reg = <0x14 0x10>; + }; + + eth_mac: eth_mac@34 { + reg = <0x34 0x10>; + }; + + bid: bid@46 { + reg = <0x46 0x30>; + }; + }; + += Data consumers = +Are device nodes which consume nvmem data cells. + +For example: + + eth_mac { + ... + nvmem-cells = <ð_mac>; + nvmem-cell-names = "eth_mac"; + };