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