rtc-palmas.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. Palmas RTC controller bindings
  2. Required properties:
  3. - compatible:
  4. - "ti,palmas-rtc" for palma series of the RTC controller
  5. - interrupt-parent: Parent interrupt device, must be handle of palmas node.
  6. - interrupts: Interrupt number of RTC submodule on device.
  7. Optional properties:
  8. - ti,backup-battery-chargeable: The Palmas series device like TPS65913 or
  9. TPS80036 supports the backup battery for powering the RTC when main
  10. battery is removed or in very low power state. The backup battery
  11. can be chargeable or non-chargeable. This flag will tells whether
  12. battery is chargeable or not. If charging battery then driver can
  13. enable the charging.
  14. - ti,backup-battery-charge-high-current: Enable high current charging in
  15. backup battery. Device supports the < 100mA and > 100mA charging.
  16. The high current will be > 100mA. Absence of this property will
  17. charge battery to lower current i.e. < 100mA.
  18. Example:
  19. palmas: tps65913@58 {
  20. ...
  21. palmas_rtc: rtc {
  22. compatible = "ti,palmas-rtc";
  23. interrupt-parent = <&palmas>;
  24. interrupts = <8 0>;
  25. ti,backup-battery-chargeable;
  26. ti,backup-battery-charge-high-current;
  27. };
  28. ...
  29. };