linux-amlogic.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: srinivas.kandagatla@linaro.org (Srinivas Kandagatla)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH v2 5/6] documentation: Add nvmem bindings documentation
Date: Fri, 1 Jul 2016 11:00:28 +0100	[thread overview]
Message-ID: <57763F3C.7090108@linaro.org> (raw)
In-Reply-To: <1467203656-14381-6-git-send-email-carlo@caione.org>



On 29/06/16 13:34, Carlo Caione wrote:
> From: Carlo Caione <carlo@endlessm.com>
>
> This patch add the bindings document of Amlogic eFuse driver.
>
> Signed-off-by: Carlo Caione <carlo@endlessm.com>
> Acked-by: Rob Herring <robh@kernel.org>

Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

> ---
>   .../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 at 14 {
> +			reg = <0x14 0x10>;
> +		};
> +
> +		eth_mac: eth_mac at 34 {
> +			reg = <0x34 0x10>;
> +		};
> +
> +		bid: bid at 46 {
> +			reg = <0x46 0x30>;
> +		};
> +	};
> +
> += Data consumers =
> +Are device nodes which consume nvmem data cells.
> +
> +For example:
> +
> +	eth_mac {
> +		...
> +		nvmem-cells = <&eth_mac>;
> +		nvmem-cell-names = "eth_mac";
> +	};
>

  reply	other threads:[~2016-07-01 10:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29 12:34 [PATCH v2 0/6] Add Amlogic secure monitor and NVMEM drivers Carlo Caione
2016-06-29 12:34 ` [PATCH v2 1/6] firmware: Amlogic: Add secure monitor driver Carlo Caione
2016-07-09  8:32   ` Carlo Caione
2016-07-26 10:20   ` Mark Rutland
2016-06-29 12:34 ` [PATCH v2 2/6] documentation: Add secure monitor bindings documentation Carlo Caione
2016-06-29 12:34 ` [PATCH v2 3/6] ARM64: dts: amlogic: gxbb: Enable secure monitor Carlo Caione
2016-06-29 12:34 ` [PATCH v2 4/6] nvmem: amlogic: Add Amlogic Meson EFUSE driver Carlo Caione
2016-07-01 10:00   ` Srinivas Kandagatla
2016-07-02  8:27     ` Carlo Caione
2016-06-29 12:34 ` [PATCH v2 5/6] documentation: Add nvmem bindings documentation Carlo Caione
2016-07-01 10:00   ` Srinivas Kandagatla [this message]
2016-06-29 12:34 ` [PATCH v2 6/6] ARM64: dts: amlogic: gxbb: Enable NVMEM Carlo Caione

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57763F3C.7090108@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=linus-amlogic@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).