WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / nvmem / sprd-efuse.txt
blob96b6feec27f0b28834a3195bf31f2c50d9ace993
1 = Spreadtrum eFuse device tree bindings =
3 Required properties:
4 - compatible: Should be "sprd,ums312-efuse".
5 - reg: Specify the address offset of efuse controller.
6 - clock-names: Should be "enable".
7 - clocks: The phandle and specifier referencing the controller's clock.
8 - hwlocks: Reference to a phandle of a hwlock provider node.
10 = Data cells =
11 Are child nodes of eFuse, bindings of which as described in
12 bindings/nvmem/nvmem.txt
14 Example:
16         ap_efuse: efuse@32240000 {
17                 compatible = "sprd,ums312-efuse";
18                 reg = <0 0x32240000 0 0x10000>;
19                 clock-names = "enable";
20                 hwlocks = <&hwlock 8>;
21                 clocks = <&aonapb_gate CLK_EFUSE_EB>;
23                 /* Data cells */
24                 thermal_calib: calib@10 {
25                         reg = <0x10 0x2>;
26                 };
27         };
29 = Data consumers =
30 Are device nodes which consume nvmem data cells.
32 Example:
34         thermal {
35                 ...
37                 nvmem-cells = <&thermal_calib>;
38                 nvmem-cell-names = "calibration";
39         };