summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSander Speetjens <sander.speetjens@gmail.com>2026-10-18 17:10:56 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2026-10-19 22:24:02 +0200
commitdba67294e21517ee2c251a143c53cc90535fe43f (patch)
treee40b4394840f5effe2fe07b9dfc1905d04d644f1 /include
parent58db0fbeef2a2cceef452a874e9983ccd66f3e78 (diff)
rtc: Add Raspberry Pi 5 RTC driver
Upstreaming the downstream Raspberry Pi 5 RTC driver. This driver supports the custom DA9091, which is accessed through the firmware mailbox. Based on code originally written by Jonathan Bell <jonathan@raspberrypi.com> and Dom Cobley <popcornmix@gmail.com> Reviewed-by: Stefan Wahren <wahrenst@gmx.net> Signed-off-by: Sander Speetjens <sander.speetjens@gmail.com> Link: https://patch.msgid.link/20261018151056.1051330-4-sander.speetjens@gmail.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include')
-rw-r--r--include/soc/bcm2835/raspberrypi-firmware.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/soc/bcm2835/raspberrypi-firmware.h b/include/soc/bcm2835/raspberrypi-firmware.h
index 975bef529854..8c3d43977a03 100644
--- a/include/soc/bcm2835/raspberrypi-firmware.h
+++ b/include/soc/bcm2835/raspberrypi-firmware.h
@@ -75,6 +75,7 @@ enum rpi_firmware_property_tag {
RPI_FIRMWARE_GET_THROTTLED = 0x00030046,
RPI_FIRMWARE_GET_CLOCK_MEASURED = 0x00030047,
RPI_FIRMWARE_NOTIFY_REBOOT = 0x00030048,
+ RPI_FIRMWARE_GET_RTC_REG = 0x00030087,
RPI_FIRMWARE_SET_CLOCK_STATE = 0x00038001,
RPI_FIRMWARE_SET_CLOCK_RATE = 0x00038002,
RPI_FIRMWARE_SET_VOLTAGE = 0x00038003,
@@ -92,6 +93,7 @@ enum rpi_firmware_property_tag {
RPI_FIRMWARE_SET_POE_HAT_VAL = 0x00030050,
RPI_FIRMWARE_NOTIFY_XHCI_RESET = 0x00030058,
RPI_FIRMWARE_NOTIFY_DISPLAY_DONE = 0x00030066,
+ RPI_FIRMWARE_SET_RTC_REG = 0x00038087,
/* Dispmanx TAGS */
RPI_FIRMWARE_FRAMEBUFFER_ALLOCATE = 0x00040001,