clk: starfive: Factor out common JH7100 and JH7110 code
authorEmil Renner Berthing <kernel@esmil.dk>
Sun, 10 Jul 2022 09:07:13 +0000 (11:07 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 31 Jan 2023 15:43:37 +0000 (16:43 +0100)
commitecc75dbd009e4a69f96e93b8464b1795b8108c5c
tree0eb07e97e1a7a30036054797445514dd842901c3
parent93f875a8526a291005e7f38478079526c843cbec
clk: starfive: Factor out common JH7100 and JH7110 code

The clock control registers on the StarFive JH7100 and JH7110 work
identically, so factor out the code then drivers for the two SoCs
can share it without depending on each other. No functional change.

Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Co-developed-by: Hal Feng <hal.feng@starfivetech.com>
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
MAINTAINERS
drivers/clk/starfive/Kconfig
drivers/clk/starfive/Makefile
drivers/clk/starfive/clk-starfive-jh7100.c
drivers/clk/starfive/clk-starfive-jh7100.h
drivers/clk/starfive/clk-starfive-jh71x0.c [new file with mode: 0644]