Skip to contentSkip to conversation

rockchip: Remove unnecessary clk_set_defaults() calls

PATCH In review Jonas Karlman 3 participants 12 messages Oct 27 – Nov 16

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v2 cover rockchip: Remove unnecessary clk_set_defaults() calls

The driver model core and clock-uclass will call clk_set_defaults() to automatically apply assigned clocks for devices during normal udevice lifecycle.

This series remove unnecessary clk_set_defaults() calls for Rockchip drivers. These clk_set_defaults() calls likely originates from vendor U-Boot where driver model core calls to clk_set_defaults() was removed and moved to just a few drivers with claims to improve boot speed.

After these changes any CRU assigned clocks is typically still applied two times, once for the clock driver and once more for the reset driver. A separate series to introduce a driver flag to skip clk_set_defaults() is planned to address the unnecessary apply of assigned clocks for the reset-uclass driver bound to the same DT node.

Changes in v2:
- Drop already applied patch
- Remove the unnecessary ret variable for rk3576 and rk3588

Jonas Karlman (7):
clk: rockchip: rk3506: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3528: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3568: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3576: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3588: Remove unnecessary clk_set_defaults() call
clk: rockchip: rv1126: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3308: Remove unnecessary clk_set_defaults() call

 arch/arm/include/asm/arch-rockchip/cru_rk3528.h |  1 -
 arch/arm/include/asm/arch-rockchip/cru_rk3568.h |  1 -
 arch/arm/include/asm/arch-rockchip/cru_rk3576.h |  1 -
 arch/arm/include/asm/arch-rockchip/cru_rk3588.h |  1 -
 arch/arm/include/asm/arch-rockchip/cru_rv1126.h |  1 -
 drivers/clk/rockchip/clk_rk3308.c               |  9 +--------
 drivers/clk/rockchip/clk_rk3506.c               |  6 ------
 drivers/clk/rockchip/clk_rk3528.c               | 16 +---------------
 drivers/clk/rockchip/clk_rk3568.c               |  9 ---------
 drivers/clk/rockchip/clk_rk3576.c               | 14 ++------------
 drivers/clk/rockchip/clk_rk3588.c               | 14 ++------------
 drivers/clk/rockchip/clk_rv1126.c               |  9 ---------
 12 files changed, 6 insertions(+), 76 deletions(-)
Signature · 1 line
2.56.0
#1 lore raw

PATCH v2 1/7 clk: rockchip: rk3506: Remove unnecessary clk_set_defaults() call

Commit fd1ba2965244 ("drivers: clk: Fix using assigned-clocks in the node of the clock it sets up"), first included in v2020.01-rc2, added a clock-uclass post_probe() hook that applies clock controllers own assigned clocks.

Remove the redundant clk_set_defaults() call from the RK3506 clock driver probe() ops.

Fixes fbf72dce915a ("clk: rockchip: Add support for RK3506")

---
v2: No change

---
 drivers/clk/rockchip/clk_rk3506.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/clk/rockchip/clk_rk3506.c +0 -6
index 457082eea87b..b0c9f311461a 100644
@@ -1109,15 +1109,9 @@ static void rk3506_clk_init_xpl(void)
 static int rk3506_clk_probe(struct udevice *dev)
 {
 	struct rk3506_clk_priv *priv = dev_get_priv(dev);
-	int ret;
 
 	rk3506_clk_init(priv);
 
-	/* Process 'assigned-{clocks/clock-parents/clock-rates}' properties */
-	ret = clk_set_defaults(dev, 1);
-	if (ret)
-		log_debug("clk_set_defaults failed: ret=%d\n", ret);
-
 	return 0;
 }
 
Signature · 1 line
2.56.0
#2 lore raw

PATCH v2 2/7 clk: rockchip: rk3528: Remove unnecessary clk_set_defaults() call

In reply to Jonas Karlman

Commit fd1ba2965244 ("drivers: clk: Fix using assigned-clocks in the node of the clock it sets up"), first included in v2020.01-rc2, added a clock-uclass post_probe() hook that applies clock controllers own assigned clocks.

Remove the redundant clk_set_defaults() call from the RK3528 clock driver probe() ops. Also remove the unused sync_kernel field that only recorded whether assigned clocks had been applied.

Fixes 5a7a856b132f ("clk: rockchip: Add support for RK3528")

---
v2: No change

---
 arch/arm/include/asm/arch-rockchip/cru_rk3528.h |  1 -
 drivers/clk/rockchip/clk_rk3528.c               | 16 +---------------
 2 files changed, 1 insertion(+), 16 deletions(-)
arch/arm/include/asm/arch-rockchip/cru_rk3528.h +0 -1
index b4020958a046..64af04b0a97e 100644
@@ -35,7 +35,6 @@ struct rk3528_clk_priv {
 	unsigned long armclk_hz;
 	unsigned long armclk_enter_hz;
 	unsigned long armclk_init_hz;
-	bool sync_kernel;
 };
 
 struct rk3528_pll {
drivers/clk/rockchip/clk_rk3528.c +1 -15
index 976ef0e0a919..ee4284d65d03 100644
@@ -1602,8 +1602,6 @@ static int rk3528_clk_init(struct rk3528_clk_priv *priv)
 {
 	int ret;
 
-	priv->sync_kernel = false;
-
 #ifdef CONFIG_XPL_BUILD
 	/*
 	 * BOOTROM:
@@ -1684,20 +1682,8 @@ static int rk3528_clk_init(struct rk3528_clk_priv *priv)
 static int rk3528_clk_probe(struct udevice *dev)
 {
 	struct rk3528_clk_priv *priv = dev_get_priv(dev);
-	int ret;
-
-	ret = rk3528_clk_init(priv);
-	if (ret)
-		return ret;
 
-	/* Process 'assigned-{clocks/clock-parents/clock-rates}' properties */
-	ret = clk_set_defaults(dev, 1);
-	if (ret)
-		debug("%s clk_set_defaults failed %d\n", __func__, ret);
-	else
-		priv->sync_kernel = true;
-
-	return 0;
+	return rk3528_clk_init(priv);
 }
 
 static int rk3528_clk_ofdata_to_platdata(struct udevice *dev)
Signature · 1 line
2.56.0
#3 lore raw

PATCH v2 3/7 clk: rockchip: rk3568: Remove unnecessary clk_set_defaults() call

In reply to Jonas Karlman

Commit fd1ba2965244 ("drivers: clk: Fix using assigned-clocks in the node of the clock it sets up"), first included in v2020.01-rc2, added a clock-uclass post_probe() hook that applies clock controllers own assigned clocks.

Remove the redundant clk_set_defaults() call from the RK3568 clock driver probe() ops. Also remove the unused sync_kernel field that only recorded whether assigned clocks had been applied.

Fixes 4a262feba3a5 ("rockchip: rk3568: add clock driver")

---
v2: No change

---
 arch/arm/include/asm/arch-rockchip/cru_rk3568.h | 1 -
 drivers/clk/rockchip/clk_rk3568.c               | 9 ---------
 2 files changed, 10 deletions(-)
arch/arm/include/asm/arch-rockchip/cru_rk3568.h +0 -1
index d72f241d0150..8af2c5be1ba4 100644
@@ -53,7 +53,6 @@ struct rk3568_clk_priv {
 	ulong armclk_hz;
 	ulong armclk_enter_hz;
 	ulong armclk_init_hz;
-	bool sync_kernel;
 	bool set_armclk_rate;
 };
 
drivers/clk/rockchip/clk_rk3568.c +0 -9
index c3973215c37e..fd7e69ee338a 100644
@@ -2873,7 +2873,6 @@ static void rk3568_clk_init(struct rk3568_clk_priv *priv)
 {
 	int ret;
 
-	priv->sync_kernel = false;
 	if (!priv->armclk_enter_hz) {
 		priv->armclk_enter_hz =
 			rockchip_pll_get_rate(&rk3568_pll_clks[APLL],
@@ -2912,17 +2911,9 @@ static void rk3568_clk_init(struct rk3568_clk_priv *priv)
 static int rk3568_clk_probe(struct udevice *dev)
 {
 	struct rk3568_clk_priv *priv = dev_get_priv(dev);
-	int ret;
 
 	rk3568_clk_init(priv);
 
-	/* Process 'assigned-{clocks/clock-parents/clock-rates}' properties */
-	ret = clk_set_defaults(dev, 1);
-	if (ret)
-		debug("%s clk_set_defaults failed %d\n", __func__, ret);
-	else
-		priv->sync_kernel = true;
-
 	return 0;
 }
 
Signature · 1 line
2.56.0
#4 lore raw

Re: [PATCH v2 3/7] clk: rockchip: rk3568: Remove unnecessary clk_set_defaults() call

Hi Jonas,

Quoted 43 lines · Jonas Karlman

Commit fd1ba2965244 ("drivers: clk: Fix using assigned-clocks in the node of the clock it sets up"), first included in v2020.01-rc2, added a clock-uclass post_probe() hook that applies clock controllers own assigned clocks.

Remove the redundant clk_set_defaults() call from the RK3568 clock driver probe() ops. Also remove the unused sync_kernel field that only recorded whether assigned clocks had been applied.

Fixes 4a262feba3a5 ("rockchip: rk3568: add clock driver")

---
v2: No change

---
  arch/arm/include/asm/arch-rockchip/cru_rk3568.h | 1 -
  drivers/clk/rockchip/clk_rk3568.c               | 9 ---------
  2 files changed, 10 deletions(-)
arch/arm/include/asm/arch-rockchip/cru_rk3568.h +0 -1
index d72f241d0150..8af2c5be1ba4 100644
@@ -53,7 +53,6 @@ struct rk3568_clk_priv {
  	ulong armclk_hz;
  	ulong armclk_enter_hz;
  	ulong armclk_init_hz;
-	bool sync_kernel;
  	bool set_armclk_rate;
  };
 
drivers/clk/rockchip/clk_rk3568.c +0 -1
index c3973215c37e..fd7e69ee338a 100644
@@ -2873,7 +2873,6 @@ static void rk3568_clk_init(struct rk3568_clk_priv *priv)
  {
  	int ret;
 
-	priv->sync_kernel = false;
  	if (!priv->armclk_enter_hz) {
  		priv->armclk_enter_hz =
  			rockchip_pll_get_rate(&rk3568_pll_clks[APLL],

drivers/clk/rockchip/clk_rk3568.c static void rk3568_clk_init(struct rk3568_clk_priv *priv) · line 2916

Quoted 7 lines
drivers/clk/rockchip/clk_rk3568.c +0 -1
@@ -2912,17 +2911,9 @@ static void rk3568_clk_init(struct rk3568_clk_priv *priv)
  static int rk3568_clk_probe(struct udevice *dev)
  {
  	struct rk3568_clk_priv *priv = dev_get_priv(dev);
-	int ret;
 
  	rk3568_clk_init(priv);
 

There was some issues in the git context here due to missing https://lore.kernel.org/u-boot/[email protected]/ when applying. I fixed the issue when applying but just wanted to let you know.

Cheers,
Quentin

#5 lore raw

PATCH v2 4/7 clk: rockchip: rk3576: Remove unnecessary clk_set_defaults() call

In reply to Jonas Karlman

Commit fd1ba2965244 ("drivers: clk: Fix using assigned-clocks in the node of the clock it sets up"), first included in v2020.01-rc2, added a clock-uclass post_probe() hook that applies clock controllers own assigned clocks.

Remove the redundant clk_set_defaults() call from the RK3576 clock driver probe() ops. Also remove the unused sync_kernel field that only recorded whether assigned clocks had been applied.

Fixes 3919310b37ec ("clk: rockchip: Add rk3576 clk support")

---
v2: Remove the unchecked ret variable

---
 arch/arm/include/asm/arch-rockchip/cru_rk3576.h |  1 -
 drivers/clk/rockchip/clk_rk3576.c               | 14 ++------------
 2 files changed, 2 insertions(+), 13 deletions(-)
arch/arm/include/asm/arch-rockchip/cru_rk3576.h +0 -1
index 41e225245843..c9a4b1a47b6f 100644
@@ -46,7 +46,6 @@ struct rk3576_clk_priv {
 	ulong armclk_hz;
 	ulong armclk_enter_hz;
 	ulong armclk_init_hz;
-	bool sync_kernel;
 	bool set_armclk_rate;
 };
 
drivers/clk/rockchip/clk_rk3576.c +2 -12
index 1988f0472dec..1a2ac14b63a5 100644
@@ -2443,9 +2443,6 @@ static void rk3576_clk_init(struct rk3576_clk_priv *priv)
 static int rk3576_clk_probe(struct udevice *dev)
 {
 	struct rk3576_clk_priv *priv = dev_get_priv(dev);
-	int ret;
-
-	priv->sync_kernel = false;
 
 #ifdef CONFIG_SPL_BUILD
 	/* relase presetn_bigcore_biu/cru/grf */
@@ -2471,8 +2468,8 @@ static int rk3576_clk_probe(struct udevice *dev)
 	rockchip_pll_set_rate(&rk3576_pll_clks[BPLL], priv->cru,
 			      BPLL, LPLL_HZ);
 	if (!priv->armclk_enter_hz) {
-		ret = rockchip_pll_set_rate(&rk3576_pll_clks[LPLL], priv->cru,
-					    LPLL, LPLL_HZ);
+		rockchip_pll_set_rate(&rk3576_pll_clks[LPLL], priv->cru,
+				      LPLL, LPLL_HZ);
 		priv->armclk_enter_hz =
 			rockchip_pll_get_rate(&rk3576_pll_clks[LPLL],
 					      priv->cru, LPLL);
@@ -2501,13 +2498,6 @@ static int rk3576_clk_probe(struct udevice *dev)
 
 	rk3576_clk_init(priv);
 
-	/* Process 'assigned-{clocks/clock-parents/clock-rates}' properties */
-	ret = clk_set_defaults(dev, 1);
-	if (ret)
-		debug("%s clk_set_defaults failed %d\n", __func__, ret);
-	else
-		priv->sync_kernel = true;
-
 	return 0;
 }
 
Signature · 1 line
2.56.0
#6 lore raw

Re: [PATCH v2 4/7] clk: rockchip: rk3576: Remove unnecessary clk_set_defaults() call

Hi Jonas,

Quoted 9 lines · Jonas Karlman

Commit fd1ba2965244 ("drivers: clk: Fix using assigned-clocks in the node of the clock it sets up"), first included in v2020.01-rc2, added a clock-uclass post_probe() hook that applies clock controllers own assigned clocks.

Remove the redundant clk_set_defaults() call from the RK3576 clock driver probe() ops. Also remove the unused sync_kernel field that only recorded whether assigned clocks had been applied.

One assignment of ret also got removed, but since it was not actually used for anything, it's fine. Would have preferred a separate commit or at least a mention in the commit log, but this'll do, no need for a v3 for that.

Thanks!
Quentin

#7 lore raw

PATCH v2 5/7 clk: rockchip: rk3588: Remove unnecessary clk_set_defaults() call

In reply to Jonas Karlman

Commit fd1ba2965244 ("drivers: clk: Fix using assigned-clocks in the node of the clock it sets up"), first included in v2020.01-rc2, added a clock-uclass post_probe() hook that applies clock controllers own assigned clocks.

Remove the redundant clk_set_defaults() call from the RK3588 clock driver probe() ops. Also remove the unused sync_kernel field that only recorded whether assigned clocks had been applied.

Fixes 7a474df74023 ("clk: rockchip: Add rk3588 clk support")

---
v2: Remove the unchecked ret variable

---
 arch/arm/include/asm/arch-rockchip/cru_rk3588.h |  1 -
 drivers/clk/rockchip/clk_rk3588.c               | 14 ++------------
 2 files changed, 2 insertions(+), 13 deletions(-)
arch/arm/include/asm/arch-rockchip/cru_rk3588.h +0 -1
index 85cc17840436..1058fbc19dc2 100644
@@ -50,7 +50,6 @@ struct rk3588_clk_priv {
 	ulong armclk_hz;
 	ulong armclk_enter_hz;
 	ulong armclk_init_hz;
-	bool sync_kernel;
 	bool set_armclk_rate;
 };
 
drivers/clk/rockchip/clk_rk3588.c +2 -12
index fe3fc695c15f..f6144d1f96b8 100644
@@ -1958,9 +1958,6 @@ static void rk3588_clk_init(struct rk3588_clk_priv *priv)
 static int rk3588_clk_probe(struct udevice *dev)
 {
 	struct rk3588_clk_priv *priv = dev_get_priv(dev);
-	int ret;
-
-	priv->sync_kernel = false;
 
 #ifdef CONFIG_XPL_BUILD
 	rockchip_pll_set_rate(&rk3588_pll_clks[B0PLL], priv->cru,
@@ -1968,8 +1965,8 @@ static int rk3588_clk_probe(struct udevice *dev)
 	rockchip_pll_set_rate(&rk3588_pll_clks[B1PLL], priv->cru,
 			      B1PLL, LPLL_HZ);
 	if (!priv->armclk_enter_hz) {
-		ret = rockchip_pll_set_rate(&rk3588_pll_clks[LPLL], priv->cru,
-					    LPLL, LPLL_HZ);
+		rockchip_pll_set_rate(&rk3588_pll_clks[LPLL], priv->cru,
+				      LPLL, LPLL_HZ);
 		priv->armclk_enter_hz =
 			rockchip_pll_get_rate(&rk3588_pll_clks[LPLL],
 					      priv->cru, LPLL);
@@ -1979,13 +1976,6 @@ static int rk3588_clk_probe(struct udevice *dev)
 
 	rk3588_clk_init(priv);
 
-	/* Process 'assigned-{clocks/clock-parents/clock-rates}' properties */
-	ret = clk_set_defaults(dev, 1);
-	if (ret)
-		debug("%s clk_set_defaults failed %d\n", __func__, ret);
-	else
-		priv->sync_kernel = true;
-
 	return 0;
 }
 
Signature · 1 line
2.56.0
#8 lore raw

PATCH v2 6/7 clk: rockchip: rv1126: Remove unnecessary clk_set_defaults() call

In reply to Jonas Karlman

Commit fd1ba2965244 ("drivers: clk: Fix using assigned-clocks in the node of the clock it sets up"), first included in v2020.01-rc2, added a clock-uclass post_probe() hook that applies clock controllers own assigned clocks.

Remove the redundant clk_set_defaults() call from the RV1126 clock driver probe() ops. Also remove the unused sync_kernel field that only recorded whether assigned clocks had been applied.

Fixes a25338aa896a ("clk: rockchip: Add rv1126 clk support")

---
v2: No change

---
 arch/arm/include/asm/arch-rockchip/cru_rv1126.h | 1 -
 drivers/clk/rockchip/clk_rv1126.c               | 9 ---------
 2 files changed, 10 deletions(-)
arch/arm/include/asm/arch-rockchip/cru_rv1126.h +0 -1
index ae273de31442..20e580a8eb3d 100644
@@ -72,7 +72,6 @@ struct rv1126_clk_priv {
 	ulong armclk_hz;
 	ulong armclk_enter_hz;
 	ulong armclk_init_hz;
-	bool sync_kernel;
 	bool set_armclk_rate;
 };
 
drivers/clk/rockchip/clk_rv1126.c +0 -9
index 39920d34b75a..018232dcb027 100644
@@ -1772,7 +1772,6 @@ static void rv1126_clk_init(struct rv1126_clk_priv *priv)
 {
 	int ret;
 
-	priv->sync_kernel = false;
 	if (!priv->armclk_enter_hz) {
 		priv->armclk_enter_hz =
 			rockchip_pll_get_rate(&rv1126_pll_clks[APLL],
@@ -1812,7 +1811,6 @@ static void rv1126_clk_init(struct rv1126_clk_priv *priv)
 static int rv1126_clk_probe(struct udevice *dev)
 {
 	struct rv1126_clk_priv *priv = dev_get_priv(dev);
-	int ret;
 
 	priv->grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF);
 	if (IS_ERR(priv->grf))
@@ -1820,13 +1818,6 @@ static int rv1126_clk_probe(struct udevice *dev)
 
 	rv1126_clk_init(priv);
 
-	/* Process 'assigned-{clocks/clock-parents/clock-rates}' properties */
-	ret = clk_set_defaults(dev, 1);
-	if (ret)
-		debug("%s clk_set_defaults failed %d\n", __func__, ret);
-	else
-		priv->sync_kernel = true;
-
 	return 0;
 }
 
Signature · 1 line
2.56.0
#9 lore raw

PATCH v2 7/7 clk: rockchip: rk3308: Remove unnecessary clk_set_defaults() call

In reply to Jonas Karlman

Commit fd1ba2965244 ("drivers: clk: Fix using assigned-clocks in the node of the clock it sets up"), first included in v2020.01-rc2, added a clock-uclass post_probe() hook that applies clock controllers own assigned clocks.

Remove the redundant clk_set_defaults() call from the RK3308 clock driver probe() ops.

The clock-uclass post_probe() hook does not treat errors as a hard failure, so this introduce an acceptable change in behavior.

Fixes fe9efbca7b99 ("rockchip: clk: Add clk driver for rk3308")

---
v2: No change

---
 drivers/clk/rockchip/clk_rk3308.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
drivers/clk/rockchip/clk_rk3308.c +1 -8
index 97043b8693c0..605566f71981 100644
@@ -1162,16 +1162,9 @@ static void rk3308_clk_init(struct udevice *dev)
 
 static int rk3308_clk_probe(struct udevice *dev)
 {
-	int ret;
-
 	rk3308_clk_init(dev);
 
-	/* Process 'assigned-{clocks/clock-parents/clock-rates}' properties */
-	ret = clk_set_defaults(dev, CLK_DEFAULTS_POST);
-	if (ret)
-		debug("%s clk_set_defaults failed %d\n", __func__, ret);
-
-	return ret;
+	return 0;
 }
 
 static int rk3308_clk_of_to_plat(struct udevice *dev)
Signature · 1 line
2.56.0
Reviewed-by on the v2 series
#10 lore raw
In reply to Jonas Karlman

Hi Jonas,

Quoted 19 lines · Jonas Karlman

The driver model core and clock-uclass will call clk_set_defaults() to automatically apply assigned clocks for devices during normal udevice lifecycle.

This series remove unnecessary clk_set_defaults() calls for Rockchip drivers. These clk_set_defaults() calls likely originates from vendor U-Boot where driver model core calls to clk_set_defaults() was removed and moved to just a few drivers with claims to improve boot speed.

After these changes any CRU assigned clocks is typically still applied two times, once for the clock driver and once more for the reset driver. A separate series to introduce a driver flag to skip clk_set_defaults() is planned to address the unnecessary apply of assigned clocks for the reset-uclass driver bound to the same DT node.

Changes in v2:
- Drop already applied patch
- Remove the unnecessary ret variable for rk3576 and rk3588

Quoted 9 lines

Jonas Karlman (7):
clk: rockchip: rk3506: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3528: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3568: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3576: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3588: Remove unnecessary clk_set_defaults() call
clk: rockchip: rv1126: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3308: Remove unnecessary clk_set_defaults() call

Thanks!
Quentin

#11 lore raw
In reply to Jonas Karlman
Quoted 28 lines · Jonas Karlman

The driver model core and clock-uclass will call clk_set_defaults() to automatically apply assigned clocks for devices during normal udevice lifecycle.

This series remove unnecessary clk_set_defaults() calls for Rockchip drivers. These clk_set_defaults() calls likely originates from vendor U-Boot where driver model core calls to clk_set_defaults() was removed and moved to just a few drivers with claims to improve boot speed.

After these changes any CRU assigned clocks is typically still applied two times, once for the clock driver and once more for the reset driver. A separate series to introduce a driver flag to skip clk_set_defaults() is planned to address the unnecessary apply of assigned clocks for the reset-uclass driver bound to the same DT node.

Changes in v2:
- Drop already applied patch
- Remove the unnecessary ret variable for rk3576 and rk3588

Jonas Karlman (7):
clk: rockchip: rk3506: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3528: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3568: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3576: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3588: Remove unnecessary clk_set_defaults() call
clk: rockchip: rv1126: Remove unnecessary clk_set_defaults() call
clk: rockchip: rk3308: Remove unnecessary clk_set_defaults() call

Quoted 14 lines
  arch/arm/include/asm/arch-rockchip/cru_rk3528.h |  1 -
  arch/arm/include/asm/arch-rockchip/cru_rk3568.h |  1 -
  arch/arm/include/asm/arch-rockchip/cru_rk3576.h |  1 -
  arch/arm/include/asm/arch-rockchip/cru_rk3588.h |  1 -
  arch/arm/include/asm/arch-rockchip/cru_rv1126.h |  1 -
  drivers/clk/rockchip/clk_rk3308.c               |  9 +--------
  drivers/clk/rockchip/clk_rk3506.c               |  6 ------
  drivers/clk/rockchip/clk_rk3528.c               | 16 +---------------
  drivers/clk/rockchip/clk_rk3568.c               |  9 ---------
  drivers/clk/rockchip/clk_rk3576.c               | 14 ++------------
  drivers/clk/rockchip/clk_rk3588.c               | 14 ++------------
  drivers/clk/rockchip/clk_rv1126.c               |  9 ---------
  12 files changed, 6 insertions(+), 76 deletions(-)

Applied to https://git.u-boot-project.org/u-boot/custodians/u-boot-rockchip (u-boot-rockchip-2027.04), thanks!

[1/7] clk: rockchip: rk3506: Remove unnecessary clk_set_defaults() call

https://git.u-boot-project.org/u-boot/custodians/u-boot-rockchip/-/commit/21436b1462b5a615e60341a63ca830e60f63085f
[2/7] clk: rockchip: rk3528: Remove unnecessary clk_set_defaults() call

https://git.u-boot-project.org/u-boot/custodians/u-boot-rockchip/-/commit/bd4eaa65cb2ad056e50a754c373f5985d64a25fb
[3/7] clk: rockchip: rk3568: Remove unnecessary clk_set_defaults() call

https://git.u-boot-project.org/u-boot/custodians/u-boot-rockchip/-/commit/3345938ebde344c80bcd7b7140c80da26988ef26
[4/7] clk: rockchip: rk3576: Remove unnecessary clk_set_defaults() call

https://git.u-boot-project.org/u-boot/custodians/u-boot-rockchip/-/commit/27cd730515fa9d22f11b5b405ea36d17791f5c9b
[5/7] clk: rockchip: rk3588: Remove unnecessary clk_set_defaults() call

https://git.u-boot-project.org/u-boot/custodians/u-boot-rockchip/-/commit/9889115600ed2e1cda978c35ad0e1ac9625d264e
[6/7] clk: rockchip: rv1126: Remove unnecessary clk_set_defaults() call

https://git.u-boot-project.org/u-boot/custodians/u-boot-rockchip/-/commit/ec120d98e34618cbbe003ac04067f8f01ad15b77
[7/7] clk: rockchip: rk3308: Remove unnecessary clk_set_defaults() call

https://git.u-boot-project.org/u-boot/custodians/u-boot-rockchip/-/commit/c327ff2de0b0276f43834ba36cadf64492527048

Best regards,

Signature · 1 line
Quentin Schulz <[email protected]>