aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Caione <carlo@endlessm.com>2016-08-27 09:43:47 -0400
committerKevin Hilman <khilman@baylibre.com>2016-09-01 18:27:10 -0400
commit56e9c4a6c1208210ef541bedaa9d6531f6e279ee (patch)
tree3cdec101dc800a223b47864818ee607acf24f841
parentf1a095b96d56402f84ef381121dd72afabd6312e (diff)
documentation: Add nvmem bindings documentation
This patch add the bindings document of Amlogic eFuse driver. Acked-by: Rob Herring <robh@kernel.org> Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Signed-off-by: Carlo Caione <carlo@endlessm.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
-rw-r--r--Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt39
1 files changed, 39 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt
new file mode 100644
index 000000000000..fafd85bd67a6
--- /dev/null
+++ b/Documentation/devicetree/bindings/nvmem/amlogic-efuse.txt
@@ -0,0 +1,39 @@
1= Amlogic eFuse device tree bindings =
2
3Required properties:
4- compatible: should be "amlogic,meson-gxbb-efuse"
5
6= Data cells =
7Are child nodes of eFuse, bindings of which as described in
8bindings/nvmem/nvmem.txt
9
10Example:
11
12 efuse: efuse {
13 compatible = "amlogic,meson-gxbb-efuse";
14 #address-cells = <1>;
15 #size-cells = <1>;
16
17 sn: sn@14 {
18 reg = <0x14 0x10>;
19 };
20
21 eth_mac: eth_mac@34 {
22 reg = <0x34 0x10>;
23 };
24
25 bid: bid@46 {
26 reg = <0x46 0x30>;
27 };
28 };
29
30= Data consumers =
31Are device nodes which consume nvmem data cells.
32
33For example:
34
35 eth_mac {
36 ...
37 nvmem-cells = <&eth_mac>;
38 nvmem-cell-names = "eth_mac";
39 };