WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / nvmem / sc27xx-efuse.txt
blob586c08286aa9afeb7f1a882ddf85942b39860bac
1 = Spreadtrum SC27XX PMIC eFuse device tree bindings =
3 Required properties:
4 - compatible: Should be one of the following.
5         "sprd,sc2720-efuse"
6         "sprd,sc2721-efuse"
7         "sprd,sc2723-efuse"
8         "sprd,sc2730-efuse"
9         "sprd,sc2731-efuse"
10 - reg: Specify the address offset of efuse controller.
11 - hwlocks: Reference to a phandle of a hwlock provider node.
13 = Data cells =
14 Are child nodes of eFuse, bindings of which as described in
15 bindings/nvmem/nvmem.txt
17 Example:
19         sc2731_pmic: pmic@0 {
20                 compatible = "sprd,sc2731";
21                 reg = <0>;
22                 spi-max-frequency = <26000000>;
23                 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
24                 interrupt-controller;
25                 #interrupt-cells = <2>;
26                 #address-cells = <1>;
27                 #size-cells = <0>;
29                 efuse@380 {
30                         compatible = "sprd,sc2731-efuse";
31                         reg = <0x380>;
32                         #address-cells = <1>;
33                         #size-cells = <1>;
34                         hwlocks = <&hwlock 12>;
36                         /* Data cells */
37                         thermal_calib: calib@10 {
38                                 reg = <0x10 0x2>;
39                         };
40                 };
41         };
43 = Data consumers =
44 Are device nodes which consume nvmem data cells.
46 Example:
48         thermal {
49                 ...
50                 nvmem-cells = <&thermal_calib>;
51                 nvmem-cell-names = "calibration";
52         };