Message ID | 20230202155448.6715-19-johan+linaro@kernel.org (mailing list archive) |
---|---|
State | Accepted, archived |
Commit | 480ba14b9a95641647a6561d5b246de661589514 |
Headers | show |
Series | rtc: pm8xxx: add support for setting time using nvmem | expand |
On 02/02/2023 16:54, Johan Hovold wrote: > The SDAM nvmem driver can be used to access the Shared Direct Access > Memory Module registers in some Qualcomm PMICs. > > These registers can specifically be used to store a time offset on > platforms where the PMIC RTC time registers are read-only in order to > allow the RTC time to be updated. Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index a17cbdac1904..b3f714ff4006 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1308,6 +1308,7 @@ CONFIG_NVMEM_MTK_EFUSE=y CONFIG_NVMEM_QCOM_QFPROM=y CONFIG_NVMEM_ROCKCHIP_EFUSE=y CONFIG_NVMEM_SNVS_LPGPR=y +CONFIG_NVMEM_SPMI_SDAM=m CONFIG_NVMEM_SUNXI_SID=y CONFIG_NVMEM_UNIPHIER_EFUSE=y CONFIG_NVMEM_MESON_EFUSE=m
The SDAM nvmem driver can be used to access the Shared Direct Access Memory Module registers in some Qualcomm PMICs. These registers can specifically be used to store a time offset on platforms where the PMIC RTC time registers are read-only in order to allow the RTC time to be updated. Signed-off-by: Johan Hovold <johan+linaro@kernel.org> --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+)