aboutsummaryrefslogtreecommitdiff
path: root/target/linux/bcm27xx/patches-6.1/950-0926-dt-bindings-update-rpi-rtc-binding.patch
blob: ffc5cc1a9d66fd239495ea91027f1d4ff5d60fad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From a7a3679a148e40879f1ce77580d9edf64cb5b51c Mon Sep 17 00:00:00 2001
From: Jonathan Bell <jonathan@raspberrypi.com>
Date: Mon, 18 Sep 2023 16:33:06 +0100
Subject: [PATCH] dt: bindings: update rpi-rtc binding

Add property for bcm2712 firmware RTC driver charger control

Signed-off-by: Jonathan Bell <jonathan@raspberrypi.com>
---
 Documentation/devicetree/bindings/rtc/rtc-rpi.txt | 5 +++++
 1 file changed, 5 insertions(+)

--- a/Documentation/devicetree/bindings/rtc/rtc-rpi.txt
+++ b/Documentation/devicetree/bindings/rtc/rtc-rpi.txt
@@ -9,9 +9,14 @@ Required properties:
 compatible: should be "raspberrypi,rpi-rtc"
 firmware:   Reference to the RPi firmware device node.
 
+Optional property:
+trickle-charge-microvolt: specify a trickle charge voltage for the backup
+                          battery in microvolts.
+
 Example:
 
 	rpi_rtc: rpi_rtc {
 		compatible = "raspberrypi,rpi-rtc";
 		firmware = <&firmware>;
+		trickle-charge-microvolt = <3000000>;
 	};