[PATCH 2/2] clk: Use generic CCF ops where possible
Sean Anderson
seanga2 at gmail.com
Wed Mar 30 21:21:34 CEST 2022
On 3/20/22 4:34 PM, Sean Anderson wrote:
> This converts most CCF drivers to use generic ops. imx6q is the only
> outlier, where we retain the existing functionality by moving the check to
> request().
>
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>
> ---
>
> drivers/clk/at91/pmc.c | 56 ++------------------
> drivers/clk/imx/clk-imx6q.c | 73 +++-----------------------
> drivers/clk/imx/clk-imx8mm.c | 88 +------------------------------
> drivers/clk/imx/clk-imx8mn.c | 88 +------------------------------
> drivers/clk/imx/clk-imx8mp.c | 90 +-------------------------------
> drivers/clk/imx/clk-imxrt1020.c | 65 ++---------------------
> drivers/clk/imx/clk-imxrt1050.c | 85 +-----------------------------
> drivers/clk/microchip/mpfs_clk.c | 67 +-----------------------
> 8 files changed, 21 insertions(+), 591 deletions(-)
>
> diff --git a/drivers/clk/at91/pmc.c b/drivers/clk/at91/pmc.c
> index 1fa42d728b..58bf1047b5 100644
> --- a/drivers/clk/at91/pmc.c
> +++ b/drivers/clk/at91/pmc.c
This driver needs to #include <linux/clk-provider.h>
I've added this while applying.
--Sean
More information about the U-Boot
mailing list