From patchwork Wed Jun 29 12:34:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 9205035 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 174ED607D8 for ; Wed, 29 Jun 2016 12:38:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0737A28633 for ; Wed, 29 Jun 2016 12:38:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF76128662; Wed, 29 Jun 2016 12:37:59 +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 8185D28633 for ; Wed, 29 Jun 2016 12:37:59 +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 1bIEjB-0004W3-8A; Wed, 29 Jun 2016 12:36:25 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bIEih-0004La-8J; Wed, 29 Jun 2016 12:35:59 +0000 Received: by mail-wm0-x244.google.com with SMTP id r201so14015226wme.0; Wed, 29 Jun 2016 05:35:38 -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=3+BDVlUE82jAqzbYNOmqseyWLPB1uVTCcCwYWSsOpAE=; b=GOiFvul9xN75aSKb9D1R+eEdzLCggqe9yYmsdK0y61ehyFSDUlYq0Boifgda6Q/H7B AtD5N5KtrnTL55tmfXOFKHs6LDAgezAJeQyXre/4IrPPO/zkVR5V6fVaYGReZPd3s6ZU 9qz4a1rGZ4nNn7gPPD4tSGExibKaXoX5tO7+M7ypluo6udjJ3a4thfD8F2NDmYWTlST8 KwOnJalibk1DKgrdVxRgtv17kaQK0rG18abp0aTnLexvzJPoF19smSDGIflteafPVQtx N+RoKnOM2RWuBYtfc2K8uW3J7fRRbyJXz2zeftsOF0FQwWHMXJPDCqkEKDJ3PRfpOgmW idPQ== 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=3+BDVlUE82jAqzbYNOmqseyWLPB1uVTCcCwYWSsOpAE=; b=POzTBivStZZeaOLsVH7P+CANRj6h3ewTT3P29Wh0+OzZOPpgki4F6klewjXPPPbiBb t8UK4YEbFrsMADLj24zV43GaXcMq87YrWVTmND4W58AD2cs0QDTxLdjtAEJ6c93agwug idwde+GLpM9Zky3FDXx0i71tXKshYLyWoodiwY3+1IJ4+vPmSB2P6rpWLRssvUecT81B /CBzBtG+pFejFY9w3piEQ0Og9IC9Eix/UruBUaSsac52mV26SqgOk132LlacPlokWf1m Q2GEeXOiJ524mXaitEfzoRtSs0Rw8YuH+kdkY2E7PFYa5/PYxKRHc5T1waqv3m2L2UYw HfkA== X-Gm-Message-State: ALyK8tL0rmZ5JeKuzzTIPJrf5KsnjCCV08ZA9EaQ7TVBUaCjgsfMP7LPj98tYXn6Y25p7A== X-Received: by 10.194.192.193 with SMTP id hi1mr8186465wjc.4.1467203737294; Wed, 29 Jun 2016 05:35:37 -0700 (PDT) Received: from localhost.localdomain (2-238-57-164.ip242.fastwebnet.it. [2.238.57.164]) by smtp.gmail.com with ESMTPSA id k3sm3512653wju.29.2016.06.29.05.35.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Jun 2016 05:35:36 -0700 (PDT) From: Carlo Caione To: linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux@endlessm.com, devicetree@vger.kernel.org, khilman@baylibre.com, mark.rutland@arm.com, robh+dt@kernel.org, matthias.bgg@gmail.com, narmstrong@baylibre.com, bjdooks@googlemail.com, srinivas.kandagatla@linaro.org, maxime.ripard@free-electrons.com Subject: [PATCH v2 5/6] documentation: Add nvmem bindings documentation Date: Wed, 29 Jun 2016 14:34:15 +0200 Message-Id: <1467203656-14381-6-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1467203656-14381-1-git-send-email-carlo@caione.org> References: <1467203656-14381-1-git-send-email-carlo@caione.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160629_053555_460971_4279B279 X-CRM114-Status: GOOD ( 12.29 ) 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. Signed-off-by: Carlo Caione Acked-by: Rob Herring Acked-by: Srinivas Kandagatla --- .../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"; + };