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