sc27xx-efuse.txt 1.1 KB

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