summaryrefslogtreecommitdiff
path: root/drivers/clk/starfive/Kconfig
diff options
context:
space:
mode:
authorEmil Renner Berthing <kernel@esmil.dk>2023-04-01 14:19:26 +0300
committerConor Dooley <conor.dooley@microchip.com>2023-04-05 17:44:18 +0300
commitb2ab3c94f41f888f9bec6ac6bf75935e2e2e253a (patch)
tree0dcb72933d2377a997b2c4eb7cfe90c5d9234c56 /drivers/clk/starfive/Kconfig
parentedab7204afe55bdf2d17d3490eb88497ba60f628 (diff)
downloadlinux-b2ab3c94f41f888f9bec6ac6bf75935e2e2e253a.tar.xz
clk: starfive: Add StarFive JH7110 always-on clock driver
Add driver for the StarFive JH7110 always-on clock controller and register an auxiliary device for always-on reset controller which is named as "rst-aon". Tested-by: Tommaso Merciai <tomm.merciai@gmail.com> Reviewed-by: Emil Renner Berthing <emil.renner.berthing@canonical.com> 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> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'drivers/clk/starfive/Kconfig')
-rw-r--r--drivers/clk/starfive/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/clk/starfive/Kconfig b/drivers/clk/starfive/Kconfig
index 670c5084aeb8..71c1148ee5f6 100644
--- a/drivers/clk/starfive/Kconfig
+++ b/drivers/clk/starfive/Kconfig
@@ -31,3 +31,14 @@ config CLK_STARFIVE_JH7110_SYS
help
Say yes here to support the system clock controller on the
StarFive JH7110 SoC.
+
+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
+ StarFive JH7110 SoC.