smb1390-charger.txt 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. Qualcomm Technologies, Inc. SMB1390 Charger Specific Bindings
  2. SMB1390 charge pump is paired with QTI family of standalone chargers to
  3. enable a high current, high efficiency Li+ battery charging system.
  4. =======================
  5. Required Node Structure
  6. =======================
  7. SMB1390 Charger must be described in two levels of device nodes.
  8. ==================================
  9. First Level Node - SMB1390 Charger
  10. ==================================
  11. Charger specific properties:
  12. - compatible
  13. Usage: required
  14. Value type: <string>
  15. Definition: "qcom,smb1390-charger".
  16. - qcom,pmic-revid
  17. Usage: required
  18. Value type: phandle
  19. Definition: Should specify the phandle of SMB's revid module. This is used
  20. to identify the SMB subtype.
  21. - qcom,channel-num
  22. Usage: required
  23. Value type: <u32>
  24. Definition: Specifies the ADC channel number for reading die temperature.
  25. ================================================
  26. Second Level Nodes - SMB1390 Charger Peripherals
  27. ================================================
  28. Peripheral specific properties:
  29. - interrupts
  30. Usage: required
  31. Value type: <prop-encoded-array>
  32. Definition: Peripheral interrupt specifier.
  33. - interrupt-names
  34. Usage: required
  35. Value type: <stringlist>
  36. Definition: Interrupt names. This list must match up 1-to-1 with the
  37. interrupts specified in the 'interrupts' property.
  38. =======
  39. Example
  40. =======
  41. smb1390_charger: qcom,charge_pump {
  42. compatible = "qcom,smb1390-charger";
  43. qcom,pmic-revid = <&smb1390_revid>;
  44. qcom,channel-num = <15>
  45. interrupt-parent = <&smb1390>;
  46. qcom,smb-vadc = <&pm8998_vadc>;
  47. status = "disabled";
  48. qcom,core {
  49. interrupts = <0x10 0x0 IRQ_TYPE_EDGE_RISING>,
  50. <0x10 0x1 IRQ_TYPE_EDGE_RISING>,
  51. <0x10 0x2 IRQ_TYPE_EDGE_RISING>,
  52. <0x10 0x3 IRQ_TYPE_EDGE_RISING>,
  53. <0x10 0x4 IRQ_TYPE_EDGE_RISING>;
  54. interrupt-names = "switcher-off-window",
  55. "switcher-off-fault",
  56. "vph-ov-soft",
  57. "ilim",
  58. "temp-alarm";
  59. };
  60. };