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