Home
last modified time | relevance | path

Searched hist:"430 aa33a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/Documentation/devicetree/bindings/rtc/
H A Dqcom-pm8xxx-rtc.yaml430aa33a Thu Feb 02 09:54:42 CST 2023 Johan Hovold <johan+linaro@kernel.org> dt-bindings: rtc: qcom-pm8xxx: add nvmem-cell 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.

Add an 'offset' nvmem cell which can be used to store a 32-bit offset
from the Unix epoch so that the RTC time can be updated on such
platforms.

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: David Collins <quic_collinsd@quicinc.com>
Link: https://lore.kernel.org/r/20230202155448.6715-17-johan+linaro@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>