treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / nvmem / amlogic-efuse.txt
blobf7b3ed74db54f70cb4cb5b68bd7fb12325527ef7
1 = Amlogic Meson GX eFuse device tree bindings =
3 Required properties:
4 - compatible: should be "amlogic,meson-gxbb-efuse"
5 - clocks: phandle to the efuse peripheral clock provided by the
6           clock controller.
7 - secure-monitor: phandle to the secure-monitor node
9 = Data cells =
10 Are child nodes of eFuse, bindings of which as described in
11 bindings/nvmem/nvmem.txt
13 Example:
15         efuse: efuse {
16                 compatible = "amlogic,meson-gxbb-efuse";
17                 clocks = <&clkc CLKID_EFUSE>;
18                 #address-cells = <1>;
19                 #size-cells = <1>;
20                 secure-monitor = <&sm>;
22                 sn: sn@14 {
23                         reg = <0x14 0x10>;
24                 };
26                 eth_mac: eth_mac@34 {
27                         reg = <0x34 0x10>;
28                 };
30                 bid: bid@46 {
31                         reg = <0x46 0x30>;
32                 };
33         };
35         sm: secure-monitor {
36                 compatible = "amlogic,meson-gxbb-sm";
37         };
39 = Data consumers =
40 Are device nodes which consume nvmem data cells.
42 For example:
44         eth_mac {
45                 ...
46                 nvmem-cells = <&eth_mac>;
47                 nvmem-cell-names = "eth_mac";
48         };