* [PATCH v2 0/1] A fix for StarFive JH7110 clock drivers
@ 2023-04-18 12:37 Hal Feng
2023-04-18 12:37 ` [PATCH v2 1/1] clk: starfive: Fix RESET_STARFIVE_JH7110 can't be selected in a specified case Hal Feng
0 siblings, 1 reply; 5+ messages in thread
From: Hal Feng @ 2023-04-18 12:37 UTC (permalink / raw)
To: linux-clk, oe-kbuild-all, linux-mm
Cc: Stephen Boyd, Michael Turquette, Conor Dooley, Paul Gazzillo,
Necip Fazil Yildiran, Emil Renner Berthing, Hal Feng, Xingyu Wu,
linux-kernel
This series fix some issues of StarFive JH7110 sys and aon clock drivers.
The first patch fix two issues [1] [2] reported by kernel test robot.
The second patch is accepted in v1 so drop it in v2.
[1] https://lore.kernel.org/oe-kbuild-all/202304140256.aIlJMfbA-lkp@intel.com/
[2] https://lore.kernel.org/oe-kbuild-all/202304140706.aOBNhUj2-lkp@intel.com/
Changes since v1:
- Drop patch 2 since it is accepted.
- Change `select RESET_STARFIVE_JH7110 if ARCH_STARFIVE` to
`select RESET_STARFIVE_JH7110 if RESET_CONTROLLER`.
- Change the commit message accordingly.
---
History:
v1: https://lore.kernel.org/all/20230417074115.30786-1-hal.feng@starfivetech.com/
Hal Feng (1):
clk: starfive: Fix RESET_STARFIVE_JH7110 can't be selected in a
specified case
drivers/clk/starfive/Kconfig | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
--
2.38.1
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v2 1/1] clk: starfive: Fix RESET_STARFIVE_JH7110 can't be selected in a specified case 2023-04-18 12:37 [PATCH v2 0/1] A fix for StarFive JH7110 clock drivers Hal Feng @ 2023-04-18 12:37 ` Hal Feng 2023-04-25 11:53 ` Hal Feng 2023-05-03 1:26 ` Stephen Boyd 0 siblings, 2 replies; 5+ messages in thread From: Hal Feng @ 2023-04-18 12:37 UTC (permalink / raw) To: linux-clk, oe-kbuild-all, linux-mm Cc: Stephen Boyd, Michael Turquette, Conor Dooley, Paul Gazzillo, Necip Fazil Yildiran, Emil Renner Berthing, Hal Feng, Xingyu Wu, linux-kernel When (ARCH_STARFIVE [=n] && COMPILE_TEST [=y] && RESET_CONTROLLER [=n]), RESET_STARFIVE_JH7110 can't be selected by CLK_STARFIVE_JH7110_SYS and CLK_STARFIVE_JH7110_AON. Add a condition `if RESET_CONTROLLER` to fix it. Also, delete redundant selected options of CLK_STARFIVE_JH7110_AON because these options are already selected by the dependency. Fixes: edab7204afe5 ("clk: starfive: Add StarFive JH7110 system clock driver") Fixes: b2ab3c94f41f ("clk: starfive: Add StarFive JH7110 always-on clock driver") Signed-off-by: Hal Feng <hal.feng@starfivetech.com> --- drivers/clk/starfive/Kconfig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/clk/starfive/Kconfig b/drivers/clk/starfive/Kconfig index 71c1148ee5f6..5d2333106f13 100644 --- a/drivers/clk/starfive/Kconfig +++ b/drivers/clk/starfive/Kconfig @@ -26,7 +26,7 @@ config CLK_STARFIVE_JH7110_SYS depends on ARCH_STARFIVE || COMPILE_TEST select AUXILIARY_BUS select CLK_STARFIVE_JH71X0 - select RESET_STARFIVE_JH7110 + select RESET_STARFIVE_JH7110 if RESET_CONTROLLER default ARCH_STARFIVE help Say yes here to support the system clock controller on the @@ -35,9 +35,6 @@ config CLK_STARFIVE_JH7110_SYS config CLK_STARFIVE_JH7110_AON tristate "StarFive JH7110 always-on clock support" depends on CLK_STARFIVE_JH7110_SYS - select AUXILIARY_BUS - select CLK_STARFIVE_JH71X0 - select RESET_STARFIVE_JH7110 default m if ARCH_STARFIVE help Say yes here to support the always-on clock controller on the -- 2.38.1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/1] clk: starfive: Fix RESET_STARFIVE_JH7110 can't be selected in a specified case 2023-04-18 12:37 ` [PATCH v2 1/1] clk: starfive: Fix RESET_STARFIVE_JH7110 can't be selected in a specified case Hal Feng @ 2023-04-25 11:53 ` Hal Feng 2023-04-25 12:02 ` Conor Dooley 2023-05-03 1:26 ` Stephen Boyd 1 sibling, 1 reply; 5+ messages in thread From: Hal Feng @ 2023-04-25 11:53 UTC (permalink / raw) To: linux-clk, oe-kbuild-all, linux-mm Cc: Stephen Boyd, Michael Turquette, Conor Dooley, Paul Gazzillo, Necip Fazil Yildiran, Emil Renner Berthing, Xingyu Wu, linux-kernel On Tue, 18 Apr 2023 20:37:56 +0800, Hal Feng wrote: > When (ARCH_STARFIVE [=n] && COMPILE_TEST [=y] && RESET_CONTROLLER [=n]), > RESET_STARFIVE_JH7110 can't be selected by CLK_STARFIVE_JH7110_SYS > and CLK_STARFIVE_JH7110_AON. > > Add a condition `if RESET_CONTROLLER` to fix it. Also, delete redundant > selected options of CLK_STARFIVE_JH7110_AON because these options are > already selected by the dependency. > > Fixes: edab7204afe5 ("clk: starfive: Add StarFive JH7110 system clock driver") > Fixes: b2ab3c94f41f ("clk: starfive: Add StarFive JH7110 always-on clock driver") > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> Hi, Stephen, Could this patch be merged into v6.4? Thanks. Best regards, Hal > --- > drivers/clk/starfive/Kconfig | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers/clk/starfive/Kconfig b/drivers/clk/starfive/Kconfig > index 71c1148ee5f6..5d2333106f13 100644 > --- a/drivers/clk/starfive/Kconfig > +++ b/drivers/clk/starfive/Kconfig > @@ -26,7 +26,7 @@ config CLK_STARFIVE_JH7110_SYS > depends on ARCH_STARFIVE || COMPILE_TEST > select AUXILIARY_BUS > select CLK_STARFIVE_JH71X0 > - select RESET_STARFIVE_JH7110 > + select RESET_STARFIVE_JH7110 if RESET_CONTROLLER > default ARCH_STARFIVE > help > Say yes here to support the system clock controller on the > @@ -35,9 +35,6 @@ config CLK_STARFIVE_JH7110_SYS > config CLK_STARFIVE_JH7110_AON > tristate "StarFive JH7110 always-on clock support" > depends on CLK_STARFIVE_JH7110_SYS > - select AUXILIARY_BUS > - select CLK_STARFIVE_JH71X0 > - select RESET_STARFIVE_JH7110 > default m if ARCH_STARFIVE > help > Say yes here to support the always-on clock controller on the ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/1] clk: starfive: Fix RESET_STARFIVE_JH7110 can't be selected in a specified case 2023-04-25 11:53 ` Hal Feng @ 2023-04-25 12:02 ` Conor Dooley 0 siblings, 0 replies; 5+ messages in thread From: Conor Dooley @ 2023-04-25 12:02 UTC (permalink / raw) To: Hal Feng Cc: linux-clk, oe-kbuild-all, linux-mm, Stephen Boyd, Michael Turquette, Paul Gazzillo, Necip Fazil Yildiran, Emil Renner Berthing, Xingyu Wu, linux-kernel [-- Attachment #1: Type: text/plain, Size: 2077 bytes --] On Tue, Apr 25, 2023 at 07:53:04PM +0800, Hal Feng wrote: > On Tue, 18 Apr 2023 20:37:56 +0800, Hal Feng wrote: > > When (ARCH_STARFIVE [=n] && COMPILE_TEST [=y] && RESET_CONTROLLER [=n]), > > RESET_STARFIVE_JH7110 can't be selected by CLK_STARFIVE_JH7110_SYS > > and CLK_STARFIVE_JH7110_AON. > > > > Add a condition `if RESET_CONTROLLER` to fix it. Also, delete redundant > > selected options of CLK_STARFIVE_JH7110_AON because these options are > > already selected by the dependency. > > > > Fixes: edab7204afe5 ("clk: starfive: Add StarFive JH7110 system clock driver") > > Fixes: b2ab3c94f41f ("clk: starfive: Add StarFive JH7110 always-on clock driver") > > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> > > Hi, Stephen, > > Could this patch be merged into v6.4? Thanks. Whoops, I thought I had replied to this a week ago. In case it helps, Reviewed-by: Conor Dooley <conor.dooley@microchip.com> Thanks, Conor. > > Best regards, > Hal > > > --- > > drivers/clk/starfive/Kconfig | 5 +---- > > 1 file changed, 1 insertion(+), 4 deletions(-) > > > > diff --git a/drivers/clk/starfive/Kconfig b/drivers/clk/starfive/Kconfig > > index 71c1148ee5f6..5d2333106f13 100644 > > --- a/drivers/clk/starfive/Kconfig > > +++ b/drivers/clk/starfive/Kconfig > > @@ -26,7 +26,7 @@ config CLK_STARFIVE_JH7110_SYS > > depends on ARCH_STARFIVE || COMPILE_TEST > > select AUXILIARY_BUS > > select CLK_STARFIVE_JH71X0 > > - select RESET_STARFIVE_JH7110 > > + select RESET_STARFIVE_JH7110 if RESET_CONTROLLER > > default ARCH_STARFIVE > > help > > Say yes here to support the system clock controller on the > > @@ -35,9 +35,6 @@ config CLK_STARFIVE_JH7110_SYS > > config CLK_STARFIVE_JH7110_AON > > tristate "StarFive JH7110 always-on clock support" > > depends on CLK_STARFIVE_JH7110_SYS > > - select AUXILIARY_BUS > > - select CLK_STARFIVE_JH71X0 > > - select RESET_STARFIVE_JH7110 > > default m if ARCH_STARFIVE > > help > > Say yes here to support the always-on clock controller on the > [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/1] clk: starfive: Fix RESET_STARFIVE_JH7110 can't be selected in a specified case 2023-04-18 12:37 ` [PATCH v2 1/1] clk: starfive: Fix RESET_STARFIVE_JH7110 can't be selected in a specified case Hal Feng 2023-04-25 11:53 ` Hal Feng @ 2023-05-03 1:26 ` Stephen Boyd 1 sibling, 0 replies; 5+ messages in thread From: Stephen Boyd @ 2023-05-03 1:26 UTC (permalink / raw) To: Hal Feng, linux-clk, linux-mm, oe-kbuild-all Cc: Michael Turquette, Conor Dooley, Paul Gazzillo, Necip Fazil Yildiran, Emil Renner Berthing, Hal Feng, Xingyu Wu, linux-kernel Quoting Hal Feng (2023-04-18 05:37:56) > When (ARCH_STARFIVE [=n] && COMPILE_TEST [=y] && RESET_CONTROLLER [=n]), > RESET_STARFIVE_JH7110 can't be selected by CLK_STARFIVE_JH7110_SYS > and CLK_STARFIVE_JH7110_AON. > > Add a condition `if RESET_CONTROLLER` to fix it. Also, delete redundant > selected options of CLK_STARFIVE_JH7110_AON because these options are > already selected by the dependency. > > Fixes: edab7204afe5 ("clk: starfive: Add StarFive JH7110 system clock driver") > Fixes: b2ab3c94f41f ("clk: starfive: Add StarFive JH7110 always-on clock driver") > Signed-off-by: Hal Feng <hal.feng@starfivetech.com> > --- Applied to clk-next ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-05-03 1:26 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-04-18 12:37 [PATCH v2 0/1] A fix for StarFive JH7110 clock drivers Hal Feng 2023-04-18 12:37 ` [PATCH v2 1/1] clk: starfive: Fix RESET_STARFIVE_JH7110 can't be selected in a specified case Hal Feng 2023-04-25 11:53 ` Hal Feng 2023-04-25 12:02 ` Conor Dooley 2023-05-03 1:26 ` Stephen Boyd
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox