Merge tag 'clk-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux
[linux-2.6-microblaze.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               "mediatek,mt8192-efuse", "mediatek,efuse": for MT8192
11               "mediatek,mt8516-efuse", "mediatek,efuse": for MT8516
12 - reg: Should contain registers location and length
13
14 = Data cells =
15 Are child nodes of MTK-EFUSE, bindings of which as described in
16 bindings/nvmem/nvmem.txt
17
18 Example:
19
20         efuse: efuse@10206000 {
21                 compatible = "mediatek,mt8173-efuse";
22                 reg        = <0 0x10206000 0 0x1000>;
23                 #address-cells = <1>;
24                 #size-cells = <1>;
25
26                 /* Data cells */
27                 thermal_calibration: calib@528 {
28                         reg = <0x528 0xc>;
29                 };
30         };
31
32 = Data consumers =
33 Are device nodes which consume nvmem data cells.
34
35 For example:
36
37         thermal {
38                 ...
39                 nvmem-cells = <&thermal_calibration>;
40                 nvmem-cell-names = "calibration";
41         };