Re: [PATCH net] ptp: clockmatrix: use rsmu driver to access i2c/spi bus

From: Lee Jones
Date: Wed Sep 22 2021 - 03:42:29 EST


On Tue, 21 Sep 2021, min.li.xe@xxxxxxxxxxx wrote:

> From: Min Li <min.li.xe@xxxxxxxxxxx>
>
> rsmu (Renesas Synchronization Management Unit ) driver is located in
> drivers/mfd and responsible for creating multiple devices including
> clockmatrix phc, which will then use the exposed regmap and mutex
> handle to access i2c/spi bus.
>
> Signed-off-by: Min Li <min.li.xe@xxxxxxxxxxx>
> ---
> drivers/ptp/idt8a340_reg.h | 783 ---------------------------------------
> drivers/ptp/ptp_clockmatrix.c | 769 ++++++++++++++++++++------------------
> drivers/ptp/ptp_clockmatrix.h | 117 +-----

> include/linux/mfd/idt8a340_reg.h | 31 +-

Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>

> 4 files changed, 460 insertions(+), 1240 deletions(-)
> delete mode 100644 drivers/ptp/idt8a340_reg.h

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog