rtc: optee: add RTC driver for OP-TEE RTC PTA
authorClément Léger <clement.leger@bootlin.com>
Tue, 8 Mar 2022 13:35:05 +0000 (14:35 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 25 Mar 2022 10:42:50 +0000 (11:42 +0100)
commit81c2f059ab90b221931e78503c80dcd8fbadac53
tree13b54441bdc678003776ad8659c9a8f6c4cfc208
parent870c54e1a3e111613cd68e5cc867455dc4765cd6
rtc: optee: add RTC driver for OP-TEE RTC PTA

This drivers allows to communicate with a RTC PTA handled by OP-TEE [1].
This PTA allows to query RTC information, set/get time and set/get
offset depending on the supported features.

[1] https://github.com/OP-TEE/optee_os/pull/5179

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220308133505.471601-1-clement.leger@bootlin.com
MAINTAINERS
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/rtc-optee.c [new file with mode: 0644]