[PATCH v6 02/11] clk: starfive: Add StarFive JH7110 System-Top-Group clock driver
Hal Feng
hal.feng at starfivetech.com
Wed May 31 01:56:30 PDT 2023
On Thu, 18 May 2023 18:12:25 +0800, Xingyu Wu wrote:
> From: Emil Renner Berthing <emil.renner.berthing at canonical.com>
>
> Add driver for the StarFive JH7110 System-Top-Group clock controller.
>
> Co-developed-by: Xingyu Wu <xingyu.wu at starfivetech.com>
> Signed-off-by: Xingyu Wu <xingyu.wu at starfivetech.com>
> Signed-off-by: Emil Renner Berthing <emil.renner.berthing at canonical.com>
> ---
> drivers/clk/starfive/Kconfig | 11 ++
> drivers/clk/starfive/Makefile | 1 +
> .../clk/starfive/clk-starfive-jh7110-stg.c | 173 ++++++++++++++++++
> 3 files changed, 185 insertions(+)
> create mode 100644 drivers/clk/starfive/clk-starfive-jh7110-stg.c
>
> diff --git a/drivers/clk/starfive/Kconfig b/drivers/clk/starfive/Kconfig
> index 5d2333106f13..d252c03bfb81 100644
> --- a/drivers/clk/starfive/Kconfig
> +++ b/drivers/clk/starfive/Kconfig
> @@ -39,3 +39,14 @@ config CLK_STARFIVE_JH7110_AON
> help
> Say yes here to support the always-on clock controller on the
> StarFive JH7110 SoC.
> +
> +config CLK_STARFIVE_JH7110_STG
> + tristate "StarFive JH7110 System-Top-Group clock support"
> + depends on CLK_STARFIVE_JH7110_SYS
> + select AUXILIARY_BUS
> + select CLK_STARFIVE_JH71X0
> + select RESET_STARFIVE_JH7110
Please drop the above three lines because these three options
are already selected by CLK_STARFIVE_JH7110_SYS. Ditto to for
the isp and vout clock drivers.
With that fixed,
Reviewed-by: Hal Feng <hal.feng at starfivetech.com>
Best regards,
Hal
> + default m if ARCH_STARFIVE
> + help
> + Say yes here to support the System-Top-Group clock controller
> + on the StarFive JH7110 SoC.
More information about the linux-riscv
mailing list