Merge tag 'gcc-plugins-v4.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / nvmem / mtk-efuse.txt
1 = Mediatek MTK-EFUSE device tree bindings =
2
3 This binding is intended to represent MTK-EFUSE which is found in most Mediatek SOCs.
4
5 Required properties:
6 - compatible: should be
7               "mediatek,mt7622-efuse", "mediatek,efuse": for MT7622
8               "mediatek,mt7623-efuse", "mediatek,efuse": for MT7623
9               "mediatek,mt8173-efuse" or "mediatek,efuse": for MT8173
10 - reg: Should contain registers location and length
11
12 = Data cells =
13 Are child nodes of MTK-EFUSE, bindings of which as described in
14 bindings/nvmem/nvmem.txt
15
16 Example:
17
18         efuse: efuse@10206000 {
19                 compatible = "mediatek,mt8173-efuse";
20                 reg        = <0 0x10206000 0 0x1000>;
21                 #address-cells = <1>;
22                 #size-cells = <1>;
23
24                 /* Data cells */
25                 thermal_calibration: calib@528 {
26                         reg = <0x528 0xc>;
27                 };
28         };
29
30 = Data consumers =
31 Are device nodes which consume nvmem data cells.
32
33 For example:
34
35         thermal {
36                 ...
37                 nvmem-cells = <&thermal_calibration>;
38                 nvmem-cell-names = "calibration";
39         };