[PATCH 08/12] clk: sunxi: Add missing clock compatible
Andre Przywara
andre.przywara at arm.com
Fri Jun 25 15:38:10 CEST 2021
On Fri, 25 Jun 2021 15:05:43 +0200
Maxime Ripard <maxime at cerno.tech> wrote:
> The NextThingCo GR8 is a derivative of the sun5i family, and thus should
> be considered similar to the A10s and A13 as far as clocks go.
>
> The compatible was missing from the clock driver so far, leading to all
> the drivers depending on it being non-functional.
>
> Signed-off-by: Maxime Ripard <maxime at cerno.tech>
Compared the Linux clock drivers between the two compatibles, and the
GR8 has just a few clocks more, mostly audio related, so they are
indeed compatible as far as U-Boot is concerned:
Reviewed-by: Andre Przywara <andre.przywara at arm.com>
Cheers,
Andre
> ---
> drivers/clk/sunxi/clk_a10s.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/clk/sunxi/clk_a10s.c b/drivers/clk/sunxi/clk_a10s.c
> index 184f61ab234c..99d8a8ab1b2e 100644
> --- a/drivers/clk/sunxi/clk_a10s.c
> +++ b/drivers/clk/sunxi/clk_a10s.c
> @@ -59,6 +59,8 @@ static const struct udevice_id a10s_ccu_ids[] = {
> .data = (ulong)&a10s_ccu_desc },
> { .compatible = "allwinner,sun5i-a13-ccu",
> .data = (ulong)&a10s_ccu_desc },
> + { .compatible = "nextthing,gr8-ccu",
> + .data = (ulong)&a10s_ccu_desc },
> { }
> };
>
More information about the U-Boot
mailing list