Skip to contentSkip to conversation

Remove MT6779 UART3 clock support

PATCH Superseded Hanks Chen 2 participants 5 messages Jul 21, 2020 – Jul 22, 2020

Subsystems (4)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Hanks Chen

author
#0 lore raw

cover Remove MT6779 UART3 clock support

remove the redundant clk interface of uart. CLK_INFRA_UART3 is a dummy clk interface,
it has no effect on the operation of the read/write instruction.

Hanks Chen (2):
dt-bindings: clock: remove UART3 clock support
clk: mediatek: remove UART3 clock support

 drivers/clk/mediatek/clk-mt6779.c      | 2 --
 include/dt-bindings/clock/mt6779-clk.h | 1 -
 2 files changed, 3 deletions(-)
Signature · 1 line
2.18.0
author
#1 lore raw

PATCH 1/2 dt-bindings: clock: remove UART3 clock support

remove the redundant clk interface of uart.

Fixes 710774e04861 ("clk: mediatek: Add MT6779 clock support")
---
 include/dt-bindings/clock/mt6779-clk.h | 1 -
 1 file changed, 1 deletion(-)
include/dt-bindings/clock/mt6779-clk.h +0 -1
index b083139afbd2..2b5f2354d7eb 100644
@@ -229,7 +229,6 @@
 #define CLK_INFRA_UART0			21
 #define CLK_INFRA_UART1			22
 #define CLK_INFRA_UART2			23
-#define CLK_INFRA_UART3			24
 #define CLK_INFRA_GCE_26M		25
 #define CLK_INFRA_CQ_DMA_FPC		26
 #define CLK_INFRA_BTIF			27
Signature · 1 line
2.18.0
maintainer
#2 lore raw

Re: [PATCH 1/2] dt-bindings: clock: remove UART3 clock support

Quoted 3 lines · Hanks Chen

remove the redundant clk interface of uart.

Fixes 710774e04861 ("clk: mediatek: Add MT6779 clock support")

These are cosmetic changes. They don't fix any bug, so we won't need a Fixes tag here. Neither on 2/2.

Regards,
Matthias

Quoted 18 lines
---
  include/dt-bindings/clock/mt6779-clk.h | 1 -
  1 file changed, 1 deletion(-)
include/dt-bindings/clock/mt6779-clk.h +0 -1
index b083139afbd2..2b5f2354d7eb 100644
@@ -229,7 +229,6 @@
  #define CLK_INFRA_UART0			21
  #define CLK_INFRA_UART1			22
  #define CLK_INFRA_UART2			23
-#define CLK_INFRA_UART3			24
  #define CLK_INFRA_GCE_26M		25
  #define CLK_INFRA_CQ_DMA_FPC		26
  #define CLK_INFRA_BTIF			27
author
#3 lore raw

Re: [PATCH 1/2] dt-bindings: clock: remove UART3 clock support

Quoted 4 lines · Matthias Brugger
Quoted 2 lines · Hanks Chen

remove the redundant clk interface of uart.

Quoted 8 lines
Quoted 1 line
Fixes 710774e04861 ("clk: mediatek: Add MT6779 clock support")

These are cosmetic changes. They don't fix any bug, so we won't need a Fixes tag here. Neither on 2/2.

Regards,
Matthias

Got it, I'll remove it in next version.

Thanks!

Hanks

Quoted 18 lines
Quoted 18 lines
---
  include/dt-bindings/clock/mt6779-clk.h | 1 -
  1 file changed, 1 deletion(-)
include/dt-bindings/clock/mt6779-clk.h +0 -1
index b083139afbd2..2b5f2354d7eb 100644
@@ -229,7 +229,6 @@
  #define CLK_INFRA_UART0			21
  #define CLK_INFRA_UART1			22
  #define CLK_INFRA_UART2			23
-#define CLK_INFRA_UART3			24
  #define CLK_INFRA_GCE_26M		25
  #define CLK_INFRA_CQ_DMA_FPC		26
  #define CLK_INFRA_BTIF			27
author
#4 lore raw

PATCH 2/2 clk: mediatek: remove UART3 clock support

In reply to Hanks Chen

CLK_INFRA_UART3 is a dummy clk interface,
it has no effect on the operation of the read/write instruction.

Fixes 710774e04861 ("clk: mediatek: Add MT6779 clock support")
---
 drivers/clk/mediatek/clk-mt6779.c | 2 --
 1 file changed, 2 deletions(-)
drivers/clk/mediatek/clk-mt6779.c +0 -2
index 9766cccf5844..75f2235486be 100644
@@ -923,8 +923,6 @@ static const struct mtk_gate infra_clks[] = {
 		    "uart_sel", 23),
 	GATE_INFRA0(CLK_INFRA_UART2, "infra_uart2",
 		    "uart_sel", 24),
-	GATE_INFRA0(CLK_INFRA_UART3, "infra_uart3",
-		    "uart_sel", 25),
 	GATE_INFRA0(CLK_INFRA_GCE_26M, "infra_gce_26m",
 		    "axi_sel", 27),
 	GATE_INFRA0(CLK_INFRA_CQ_DMA_FPC, "infra_cqdma_fpc",
Signature · 1 line
2.18.0