Skip to content

Commit e8d3dc4

Browse files
jhovoldandersson
authored andcommitted
arm64: dts: qcom: x1e80100: describe uefi rtc offset
On many Qualcomm platforms the PMIC RTC control and time registers are read-only so that the RTC time can not be updated. Instead an offset needs be stored in some machine-specific non-volatile memory, which a driver can take into account. On platforms where the offset is stored in a Qualcomm specific UEFI variable the variables are also accessed in a non-standard way, which means that the OS cannot assume that the variable service is available by the time the RTC driver probes. Use the new 'qcom,uefi-rtc-info' property to indicate that the offset is stored in a UEFI variable so that the OS can determine whether to wait for it to become available. Fixes: b53c2c2 ("arm64: dts: qcom: x1e80100: enable rtc") Signed-off-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 869971d commit e8d3dc4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/boot/dts/qcom/x1e80100-pmics.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@
224224
reg-names = "rtc", "alarm";
225225
interrupts = <0x0 0x62 0x1 IRQ_TYPE_EDGE_RISING>;
226226
qcom,no-alarm; /* alarm owned by ADSP */
227+
qcom,uefi-rtc-info;
227228
};
228229

229230
pmk8550_sdam_2: nvram@7100 {

0 commit comments

Comments
 (0)