GNU Linux-libre 4.14.266-gnu1
[releases.git] / Documentation / devicetree / bindings / nvmem / qfprom.txt
1 = Qualcomm QFPROM device tree bindings =
2
3 This binding is intended to represent QFPROM which is found in most QCOM SOCs.
4
5 Required properties:
6 - compatible: should be "qcom,qfprom"
7 - reg: Should contain registers location and length
8
9 = Data cells =
10 Are child nodes of qfprom, bindings of which as described in
11 bindings/nvmem/nvmem.txt
12
13 Example:
14
15         qfprom: qfprom@00700000 {
16                 compatible      = "qcom,qfprom";
17                 reg             = <0x00700000 0x8000>;
18                 ...
19                 /* Data cells */
20                 tsens_calibration: calib@404 {
21                         reg = <0x4404 0x10>;
22                 };
23         };
24
25
26 = Data consumers =
27 Are device nodes which consume nvmem data cells.
28
29 For example:
30
31         tsens {
32                 ...
33                 nvmem-cells = <&tsens_calibration>;
34                 nvmem-cell-names = "calibration";
35         };