2020-07-21 05:41:16

by Hanks Chen

[permalink] [raw]
Subject: [PATCH 0/2] 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(-)

--
2.18.0


2020-07-21 05:43:56

by Hanks Chen

[permalink] [raw]
Subject: [PATCH 2/2] clk: mediatek: remove UART3 clock support

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")
Signed-off-by: Hanks Chen <[email protected]>
---
drivers/clk/mediatek/clk-mt6779.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/clk/mediatek/clk-mt6779.c b/drivers/clk/mediatek/clk-mt6779.c
index 9766cccf5844..75f2235486be 100644
--- a/drivers/clk/mediatek/clk-mt6779.c
+++ b/drivers/clk/mediatek/clk-mt6779.c
@@ -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",
--
2.18.0