Re: [PATCH 8/8] ep93xx: clock: convert in-place to COMMON_CLK

From: Alexander Sverdlin
Date: Mon Jul 26 2021 - 07:57:41 EST


Hello Nikita!

Thanks for posting the combined series!

On Mon, 2021-07-26 at 14:50 +0300, Nikita Shubin wrote:
> Converted in-place without moving file to drivers/clk.
>
> tested on ts7250 (EP9302).
>
> Only setting rate and change parent tested for, as they
> are missing on ts7250:
> - video
> - I2S
> - ADC/KEYPAD

I've been testing I2S and ADC with your original patch
(and so had to prepare the fixes in the drivers), therefore...

> - PWM
>
> Only video and I2S clock are interesting, as they are
> GATE + double DIV + MUX, all other are pretty much
> common but require ep93xx_syscon_swlocked_write to set
> registers.
>
> Signed-off-by: Nikita Shubin <nikita.shubin@xxxxxxxxxxx>

Tested-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx>

> ---
>  arch/arm/Kconfig             |   2 +-
>  arch/arm/mach-ep93xx/clock.c | 975 ++++++++++++++++++++---------------
>  arch/arm/mach-ep93xx/core.c  |   2 +-
>  arch/arm/mach-ep93xx/soc.h   |  42 +-
>  4 files changed, 581 insertions(+), 440 deletions(-)

--
Alexander Sverdlin.