Re: [PATCH v2 01/14] clk: starfive: Factor out common JH7100 and JH7110 code

From: Hal Feng
Date: Mon Nov 21 2022 - 01:25:48 EST


On Sat, 19 Nov 2022 00:22:10 +0800, Emil Renner Berthing wrote:
> On Fri, 18 Nov 2022 at 02:06, Hal Feng <hal.feng@xxxxxxxxxxxxxxxx> wrote:
> >
> > From: Emil Renner Berthing <kernel@xxxxxxxx>
> >
> > 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@xxxxxxxx>
> > Co-developed-by: Hal Feng <hal.feng@xxxxxxxxxxxxxxxx>
> > Signed-off-by: Hal Feng <hal.feng@xxxxxxxxxxxxxxxx>
> > ---
> > MAINTAINERS | 2 +-
> > drivers/clk/starfive/Kconfig | 5 +
> > drivers/clk/starfive/Makefile | 3 +-
> > drivers/clk/starfive/clk-starfive-jh7100.c | 325 --------------------
> > drivers/clk/starfive/clk-starfive-jh7100.h | 2 +
> > drivers/clk/starfive/clk-starfive-jh71x0.c | 333 +++++++++++++++++++++
> > 6 files changed, 343 insertions(+), 327 deletions(-)
> > create mode 100644 drivers/clk/starfive/clk-starfive-jh71x0.c
> >
> > diff --git a/MAINTAINERS b/MAINTAINERS
> > index 256f03904987..d43daa89d5f1 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -19602,7 +19602,7 @@ STARFIVE JH7100 CLOCK DRIVERS
> > M: Emil Renner Berthing <kernel@xxxxxxxx>
> > S: Maintained
> > F: Documentation/devicetree/bindings/clock/starfive,jh7100-*.yaml
> > -F: drivers/clk/starfive/clk-starfive-jh7100*
> > +F: drivers/clk/starfive/
>
> When this entry cover all the starfive clock drivers the header should
> also match. Eg.
> STARFIVE CLOCK DRIVERS

OK, will fix it. Ditto for the reset driver.

Best regards,
Hal