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