lkml.org 
[lkml]   [2022]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v4] rtc: optee: add RTC driver for OP-TEE RTC PTA
On Tue, Mar 8, 2022 at 2:36 PM Clément Léger <clement.leger@bootlin.com> 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@bootlin.com>
> ---
>
> 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@linaro.org>

\
 
 \ /
  Last update: 2022-03-24 08:53    [W:0.037 / U:1.948 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site