Commit 015b70bd authored by Jonathan Marek's avatar Jonathan Marek Committed by Alexandre Belloni
Browse files

rtc: pm8xxx: implement qcom,no-alarm flag for non-HLOS owned alarm



Qualcomm x1e80100 firmware sets the ownership of the RTC alarm to ADSP.
Thus writing to RTC alarm registers and receiving alarm interrupts is not
possible.

Add a qcom,no-alarm flag to support RTC on this platform.

Signed-off-by: default avatarJonathan Marek <jonathan@marek.ca>
Link: https://lore.kernel.org/r/20241015004945.3676-2-jonathan@marek.ca


[ johan: drop no_alarm flag and restructure probe() ]
Tested-by: default avatarJens Glathe <jens.glathe@oldschoolsolutions.biz>
Tested-by: default avatarSteev Klimaszewski <steev@kali.org>
Tested-by: default avatarJoel Stanley <joel@jms.id.au>
Tested-by: Sebastian Reichel <sre@kernel.org> # Lenovo T14s Gen6
Signed-off-by: default avatarJohan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20250219134118.31017-5-johan+linaro@kernel.org


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent e853658d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment