Back to home page

OSCL-LXR

 
 

    


0001 = Spreadtrum SC27XX PMIC eFuse device tree bindings =
0002 
0003 Required properties:
0004 - compatible: Should be one of the following.
0005         "sprd,sc2720-efuse"
0006         "sprd,sc2721-efuse"
0007         "sprd,sc2723-efuse"
0008         "sprd,sc2730-efuse"
0009         "sprd,sc2731-efuse"
0010 - reg: Specify the address offset of efuse controller.
0011 - hwlocks: Reference to a phandle of a hwlock provider node.
0012 
0013 = Data cells =
0014 Are child nodes of eFuse, bindings of which as described in
0015 bindings/nvmem/nvmem.txt
0016 
0017 Example:
0018 
0019         sc2731_pmic: pmic@0 {
0020                 compatible = "sprd,sc2731";
0021                 reg = <0>;
0022                 spi-max-frequency = <26000000>;
0023                 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
0024                 interrupt-controller;
0025                 #interrupt-cells = <2>;
0026                 #address-cells = <1>;
0027                 #size-cells = <0>;
0028 
0029                 efuse@380 {
0030                         compatible = "sprd,sc2731-efuse";
0031                         reg = <0x380>;
0032                         #address-cells = <1>;
0033                         #size-cells = <1>;
0034                         hwlocks = <&hwlock 12>;
0035 
0036                         /* Data cells */
0037                         thermal_calib: calib@10 {
0038                                 reg = <0x10 0x2>;
0039                         };
0040                 };
0041         };
0042 
0043 = Data consumers =
0044 Are device nodes which consume nvmem data cells.
0045 
0046 Example:
0047 
0048         thermal {
0049                 ...
0050                 nvmem-cells = <&thermal_calib>;
0051                 nvmem-cell-names = "calibration";
0052         };