diff mbox series

[1/2] clk: sunxi: Add additional RTC compatible strings

Message ID 20220501033837.9155-1-samuel@sholland.org
State Accepted
Commit 33112ae0214ed6b260fc982329d02253eab3e35d
Delegated to: Andre Przywara
Headers show
Series [1/2] clk: sunxi: Add additional RTC compatible strings | expand

Commit Message

Samuel Holland May 1, 2022, 3:38 a.m. UTC
Compatible strings for some new RTC hardware variants were added to
the binding. Add them to the driver in preparation for supporting
those new SoCs.

Signed-off-by: Samuel Holland <samuel@sholland.org>
---

 drivers/clk/sunxi/clk_sun6i_rtc.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Andre Przywara May 4, 2022, 7:46 p.m. UTC | #1
On Sat, 30 Apr 2022 22:38:36 -0500
Samuel Holland <samuel@sholland.org> wrote:

> Compatible strings for some new RTC hardware variants were added to
> the binding. Add them to the driver in preparation for supporting
> those new SoCs.
> 
> Signed-off-by: Samuel Holland <samuel@sholland.org>

Given the trivial implementation of this clock ;-) ...

Reviewed-by: Andre Przywara <andre.przywara@arm.com>

> ---
> 
>  drivers/clk/sunxi/clk_sun6i_rtc.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/clk/sunxi/clk_sun6i_rtc.c b/drivers/clk/sunxi/clk_sun6i_rtc.c
> index 0c280d221b..697b187a82 100644
> --- a/drivers/clk/sunxi/clk_sun6i_rtc.c
> +++ b/drivers/clk/sunxi/clk_sun6i_rtc.c
> @@ -24,6 +24,8 @@ static const struct udevice_id sun6i_rtc_ids[] = {
>  	{ .compatible = "allwinner,sun8i-v3-rtc" },
>  	{ .compatible = "allwinner,sun50i-h5-rtc" },
>  	{ .compatible = "allwinner,sun50i-h6-rtc" },
> +	{ .compatible = "allwinner,sun50i-h616-rtc" },
> +	{ .compatible = "allwinner,sun50i-r329-rtc" },
>  	{ }
>  };
>
Andre Przywara June 27, 2022, 12:11 a.m. UTC | #2
On Sat, 30 Apr 2022 22:38:36 -0500
Samuel Holland <samuel@sholland.org> wrote:

> Compatible strings for some new RTC hardware variants were added to
> the binding. Add them to the driver in preparation for supporting
> those new SoCs.
> 
> Signed-off-by: Samuel Holland <samuel@sholland.org>

Applied to sunxi/master, for v2022.07.

Cheers,
Andre

> ---
> 
>  drivers/clk/sunxi/clk_sun6i_rtc.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/clk/sunxi/clk_sun6i_rtc.c b/drivers/clk/sunxi/clk_sun6i_rtc.c
> index 0c280d221b..697b187a82 100644
> --- a/drivers/clk/sunxi/clk_sun6i_rtc.c
> +++ b/drivers/clk/sunxi/clk_sun6i_rtc.c
> @@ -24,6 +24,8 @@ static const struct udevice_id sun6i_rtc_ids[] = {
>  	{ .compatible = "allwinner,sun8i-v3-rtc" },
>  	{ .compatible = "allwinner,sun50i-h5-rtc" },
>  	{ .compatible = "allwinner,sun50i-h6-rtc" },
> +	{ .compatible = "allwinner,sun50i-h616-rtc" },
> +	{ .compatible = "allwinner,sun50i-r329-rtc" },
>  	{ }
>  };
>
diff mbox series

Patch

diff --git a/drivers/clk/sunxi/clk_sun6i_rtc.c b/drivers/clk/sunxi/clk_sun6i_rtc.c
index 0c280d221b..697b187a82 100644
--- a/drivers/clk/sunxi/clk_sun6i_rtc.c
+++ b/drivers/clk/sunxi/clk_sun6i_rtc.c
@@ -24,6 +24,8 @@  static const struct udevice_id sun6i_rtc_ids[] = {
 	{ .compatible = "allwinner,sun8i-v3-rtc" },
 	{ .compatible = "allwinner,sun50i-h5-rtc" },
 	{ .compatible = "allwinner,sun50i-h6-rtc" },
+	{ .compatible = "allwinner,sun50i-h616-rtc" },
+	{ .compatible = "allwinner,sun50i-r329-rtc" },
 	{ }
 };