Skip to contentSkip to conversation

clk: sunxi: h6_r: Correct the driver name

PATCH Applied Samuel Holland 3 participants 3 messages Apr 23, 2022 – May 24, 2022

Subsystems (3)
lore
Share & tools
lore

Samuel Holland

author maintainer
#0 lore raw

PATCH 1/1 clk: sunxi: h6_r: Correct the driver name

H6 is from the sun50i family, not sun6i.

---

 drivers/clk/sunxi/clk_h6_r.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/sunxi/clk_h6_r.c +2 -2
index b9e527e16a..2e0bbaa903 100644
@@ -50,8 +50,8 @@ static const struct udevice_id h6_r_clk_ids[] = {
 	{ }
 };
 
-U_BOOT_DRIVER(clk_sun6i_h6_r) = {
-	.name		= "sun6i_h6_r_ccu",
+U_BOOT_DRIVER(clk_sun50i_h6_r) = {
+	.name		= "sun50i_h6_r_ccu",
 	.id		= UCLASS_CLK,
 	.of_match	= h6_r_clk_ids,
 	.priv_auto	= sizeof(struct ccu_priv),
Signature · 1 line
2.35.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Samuel Holland

H6 is from the sun50i family, not sun6i.

Cf. https://linux-sunxi.org/Allwinner_SoC_Family

Quoted 20 lines

---

  drivers/clk/sunxi/clk_h6_r.c | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/sunxi/clk_h6_r.c +2 -2
index b9e527e16a..2e0bbaa903 100644
@@ -50,8 +50,8 @@ static const struct udevice_id h6_r_clk_ids[] = {
  	{ }
  };
 
-U_BOOT_DRIVER(clk_sun6i_h6_r) = {
-	.name		= "sun6i_h6_r_ccu",
+U_BOOT_DRIVER(clk_sun50i_h6_r) = {
+	.name		= "sun50i_h6_r_ccu",
  	.id		= UCLASS_CLK,
  	.of_match	= h6_r_clk_ids,
  	.priv_auto	= sizeof(struct ccu_priv),
#2 lore raw
In reply to Samuel Holland
Quoted 3 lines · On Sat, 23 Apr 2022 16:07:16 -0500 Samuel Holland <[email protected]> wrote:

H6 is from the sun50i family, not sun6i.

Applied to sunxi/master.

Thanks!
Andre

Quoted 20 lines

---

 drivers/clk/sunxi/clk_h6_r.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/clk/sunxi/clk_h6_r.c +2 -2
index b9e527e16a..2e0bbaa903 100644
@@ -50,8 +50,8 @@ static const struct udevice_id h6_r_clk_ids[] = {
 	{ }
 };
 
-U_BOOT_DRIVER(clk_sun6i_h6_r) = {
-	.name		= "sun6i_h6_r_ccu",
+U_BOOT_DRIVER(clk_sun50i_h6_r) = {
+	.name		= "sun50i_h6_r_ccu",
 	.id		= UCLASS_CLK,
 	.of_match	= h6_r_clk_ids,
 	.priv_auto	= sizeof(struct ccu_priv),