[PATCH v2 2/2] clk: rockchip: Add clock controller for the RV1103B
Stephen Boyd
sboyd at kernel.org
Sat Feb 7 10:51:37 PST 2026
Quoting Fabio Estevam (2026-02-07 05:02:56)
> diff --git a/drivers/clk/rockchip/Kconfig b/drivers/clk/rockchip/Kconfig
> index 5cf1e0fd6fb3..3fc91f3c2453 100644
> --- a/drivers/clk/rockchip/Kconfig
> +++ b/drivers/clk/rockchip/Kconfig
> @@ -23,6 +23,13 @@ config CLK_RV110X
> help
> Build the driver for RV110x Clock Driver.
>
> +config CLK_RV1103B
> + tristate "Rockchip RV1103B clock controller support"
If this can be a module please make this into a platform driver instead
of using of_iomap() and friends.
> + depends on ARM || COMPILE_TEST
> + default y
> + help
> + Build the driver for RV1103B Clock Driver.
> +
> config CLK_RV1126
> bool "Rockchip RV1126 clock controller support"
> depends on ARM || COMPILE_TEST
> diff --git a/drivers/clk/rockchip/clk-rv1103b.c b/drivers/clk/rockchip/clk-rv1103b.c
> new file mode 100644
> index 000000000000..7079a105b814
> --- /dev/null
> +++ b/drivers/clk/rockchip/clk-rv1103b.c
> @@ -0,0 +1,667 @@
> +// SPDX-License-Identifier: GPL-2.0
> +/*
> + * Copyright (c) 2024 Rockchip Electronics Co. Ltd.
> + * Author: Elaine Zhang <zhangqing at rock-chips.com>
> + */
> +
> +#include <linux/clk.h>
Is this include used?
> +#include <linux/clk-provider.h>
> +#include <linux/module.h>
Is this include used?
> +#include <linux/of.h>
> +#include <linux/of_address.h>
> +#include <linux/of_device.h>
Is this include used?
> +#include <linux/regmap.h>
Is this include used?
> +#include <linux/syscore_ops.h>
Is this include used?
> +#include <dt-bindings/clock/rockchip,rv1103b-cru.h>
> +#include "clk.h"
More information about the Linux-rockchip
mailing list