Re: [PATCH v4] rtc: optee: add RTC driver for OP-TEE RTC PTA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 8, 2022 at 2:36 PM Clément Léger <clement.leger@xxxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxxx>
> ---
>
> Changes in v4:
>  - Remove error prints except the ones in probe
>
> Changes in v3 (was resent as a second v2 due to a mistake);
>  - Fix error messages to include ret value and fix wrong IOCTL names
>  - Use 100 columns char limit
>
> Changes in v2:
>  - Rebased over tee-shm-for-v5.18
>  - Switch to tee_shm_alloc_kernel_buf()
>  - Use export_uuid() to copy uuid
>  - Fix warnings reported by checkpatch
>  - Free SHM in error exit path
>
>  MAINTAINERS             |   6 +
>  drivers/rtc/Kconfig     |  10 ++
>  drivers/rtc/Makefile    |   1 +
>  drivers/rtc/rtc-optee.c | 362 ++++++++++++++++++++++++++++++++++++++++
>  4 files changed, 379 insertions(+)
>  create mode 100644 drivers/rtc/rtc-optee.c

Reviewed-by: Jens Wiklander <jens.wiklander@xxxxxxxxxx>




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux