openwrt/target/linux/bcm27xx/patches-6.6/950-0573-dt-bindings-update-rpi-rtc-binding.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

30 lines
983 B
Diff

From 6ca216518eb29d60574d4da4b976f4d5dd93e5a0 Mon Sep 17 00:00:00 2001
From: Jonathan Bell <jonathan@raspberrypi.com>
Date: Mon, 18 Sep 2023 16:33:06 +0100
Subject: [PATCH 0573/1085] 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>;
};