Skip to contentSkip to conversation

clk: baikal-t1: Remove not-going-to-be-supported code for Baikal SoC

PATCH In review Andy Shevchenko 2 participants 3 messages Feb 20

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

PATCH 1/1 clk: baikal-t1: Remove not-going-to-be-supported code for Baikal SoC

As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.

---
 drivers/clk/Kconfig                 |   1 -
 drivers/clk/Makefile                |   1 -
 drivers/clk/baikal-t1/Kconfig       |  52 ---
 drivers/clk/baikal-t1/Makefile      |   4 -
 drivers/clk/baikal-t1/ccu-div.c     | 653 ----------------------------
 drivers/clk/baikal-t1/ccu-div.h     | 121 ------
 drivers/clk/baikal-t1/ccu-pll.c     | 560 ------------------------
 drivers/clk/baikal-t1/ccu-pll.h     |  72 ---
 drivers/clk/baikal-t1/ccu-rst.c     | 217 ---------
 drivers/clk/baikal-t1/ccu-rst.h     |  67 ---
 drivers/clk/baikal-t1/clk-ccu-div.c | 520 ----------------------
 drivers/clk/baikal-t1/clk-ccu-pll.c | 277 ------------
 12 files changed, 2545 deletions(-)
 delete mode 100644 drivers/clk/baikal-t1/Kconfig
 delete mode 100644 drivers/clk/baikal-t1/Makefile
 delete mode 100644 drivers/clk/baikal-t1/ccu-div.c
 delete mode 100644 drivers/clk/baikal-t1/ccu-div.h
 delete mode 100644 drivers/clk/baikal-t1/ccu-pll.c
 delete mode 100644 drivers/clk/baikal-t1/ccu-pll.h
 delete mode 100644 drivers/clk/baikal-t1/ccu-rst.c
 delete mode 100644 drivers/clk/baikal-t1/ccu-rst.h
 delete mode 100644 drivers/clk/baikal-t1/clk-ccu-div.c
 delete mode 100644 drivers/clk/baikal-t1/clk-ccu-pll.c
drivers/clk/Kconfig +0 -1
index 3d803b4cf5c1..ca5b2fd5bff1 100644
@@ -502,7 +502,6 @@ config COMMON_CLK_RPMI
 source "drivers/clk/actions/Kconfig"
 source "drivers/clk/analogbits/Kconfig"
 source "drivers/clk/aspeed/Kconfig"
-source "drivers/clk/baikal-t1/Kconfig"
 source "drivers/clk/bcm/Kconfig"
 source "drivers/clk/hisilicon/Kconfig"
 source "drivers/clk/imgtec/Kconfig"
drivers/clk/Makefile +0 -1
index f7bce3951a30..998ec7c2ffd2 100644
@@ -116,7 +116,6 @@ obj-y					+= aspeed/
 obj-$(CONFIG_COMMON_CLK_AT91)		+= at91/
 obj-$(CONFIG_ARCH_ARTPEC)		+= axis/
 obj-$(CONFIG_ARC_PLAT_AXS10X)		+= axs10x/
-obj-$(CONFIG_CLK_BAIKAL_T1)		+= baikal-t1/
 obj-y					+= bcm/
 obj-$(CONFIG_ARCH_BERLIN)		+= berlin/
 obj-$(CONFIG_ARCH_DAVINCI)		+= davinci/
drivers/clk/baikal-t1/Kconfig deleted +0 -52

52 lines not on this page · raw message

drivers/clk/baikal-t1/Makefile deleted +0 -4
deleted file mode 100644
index 9c3637de9407..000000000000
@@ -1,4 +0,0 @@
-# SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_CLK_BT1_CCU_PLL) += ccu-pll.o clk-ccu-pll.o
-obj-$(CONFIG_CLK_BT1_CCU_DIV) += ccu-div.o clk-ccu-div.o
-obj-$(CONFIG_CLK_BT1_CCU_RST) += ccu-rst.o
drivers/clk/baikal-t1/ccu-div.c deleted +0 -653

653 lines not on this page · raw message

drivers/clk/baikal-t1/ccu-div.h deleted +0 -121

121 lines not on this page · raw message

drivers/clk/baikal-t1/ccu-pll.c deleted +0 -560

560 lines not on this page · raw message

drivers/clk/baikal-t1/ccu-pll.h deleted +0 -72

72 lines not on this page · raw message

drivers/clk/baikal-t1/ccu-rst.c deleted +0 -217

217 lines not on this page · raw message

drivers/clk/baikal-t1/ccu-rst.h deleted +0 -67

67 lines not on this page · raw message

drivers/clk/baikal-t1/clk-ccu-div.c deleted +0 -520

520 lines not on this page · raw message

drivers/clk/baikal-t1/clk-ccu-pll.c deleted +0 -277

277 lines not on this page · raw message

Signature · 1 line
2.50.1
#2 lore raw
Quoted 8 lines · Brian Masney
Quoted 5 lines · Andy Shevchenko

As noticed in the discussion [1] the Baikal SoC and platforms are not going to be finalized, hence remove stale code.

Thanks.
We also need to remove YAML. I take your tag and remove those files in v2.

Signature · 2 lines
With Best Regards,
Andy Shevchenko