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