lkml.org 
[lkml]   [2022]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 01/14] clk: starfive: Factor out common JH7100 and JH7110 code
From
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@starfivetech.com> wrote:
> >
> > From: Emil Renner Berthing <kernel@esmil.dk>
> >
> > 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 | 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@esmil.dk>
> > 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

\
 
 \ /
  Last update: 2022-11-21 07:26    [W:0.060 / U:1.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site