ep93xx: clock: convert in-place to COMMON_CLK
authorNikita Shubin <nikita.shubin@maquefel.me>
Mon, 18 Oct 2021 10:31:05 +0000 (12:31 +0200)
committerArnd Bergmann <arnd@arndb.de>
Wed, 20 Oct 2021 15:46:36 +0000 (17:46 +0200)
commit9645ccc7bd7a16cd73c3be9dee70cd702b03be37
tree8cbd0255d4b6f2b9da6195e986ea615522ed032c
parentf4ff6b56bc8ab2fcad6885813cd28ccc81224981
ep93xx: clock: convert in-place to COMMON_CLK

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
- 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@maquefel.me>
Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Tested-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Acked-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Link: https://lore.kernel.org/r/20211018103105.146380-3-alexander.sverdlin@gmail.com'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig
arch/arm/mach-ep93xx/clock.c
arch/arm/mach-ep93xx/core.c
arch/arm/mach-ep93xx/soc.h