On Thu, Oct 17, 2024 at 08:07:47AM +0200, Sven Schnelle wrote:
> Hi,
>
> these patches add support for using the s390 physical and TOD clock as ptp
> clock. To do so, the first patch adds a clock id to the s390 TOD clock,
> while the second patch adds the PtP driver itself.
...
> MAINTAINERS | 6 ++
> arch/s390/include/asm/stp.h | 1 +
> arch/s390/include/asm/timex.h | 6 ++
> arch/s390/kernel/time.c | 7 ++
> drivers/ptp/Kconfig | 11 +++
> drivers/ptp/Makefile | 1 +
> drivers/ptp/ptp_s390.c | 129 ++++++++++++++++++++++++++++++++
> include/linux/clocksource_ids.h | 1 +
> 8 files changed, 162 insertions(+)
> create mode 100644 drivers/ptp/ptp_s390.c
As far as I am concerned:
Acked-by: Heiko Carstens <hca@linux.ibm.com>
Richard, if this looks good for you too, how should this go upstream?
We could carry this via the s390 tree, if you want.