Skip to contentSkip to conversation

clk: hisilicon: Remove hi3516cv300 driver

PATCH Applied Rob Herring (Arm) 3 participants 3 messages Nov 4

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 clk: hisilicon: Remove hi3516cv300 driver

Remove the hi3516cv300 clock driver as there is no such platform upstream and only drivers for clocks, pwm and ethernet. There's also been no changes other than common cleanups in 10 years since the driver was added.

---
 drivers/clk/hisilicon/Kconfig                 |   9 -
 drivers/clk/hisilicon/Makefile                |   1 -
 drivers/clk/hisilicon/crg-hi3516cv300.c       | 317 ------------------
 include/dt-bindings/clock/hi3516cv300-clock.h |  36 --
 4 files changed, 363 deletions(-)
 delete mode 100644 drivers/clk/hisilicon/crg-hi3516cv300.c
 delete mode 100644 include/dt-bindings/clock/hi3516cv300-clock.h
drivers/clk/hisilicon/Kconfig +0 -9
index e70bcfa9105b..e522c70ba8d3 100644
@@ -3,15 +3,6 @@ config COMMON_CLK_HISI
 	bool
 	default ARCH_HISI
 
-config COMMON_CLK_HI3516CV300
-	tristate "HI3516CV300 Clock Driver"
-	depends on ARCH_HISI || COMPILE_TEST
-	select RESET_HISI
-	select COMMON_CLK_HISI
-	default ARCH_HISI
-	help
-	  Build the clock driver for hi3516cv300.
-
 config COMMON_CLK_HI3519
 	tristate "Hi3519 Clock Driver"
 	depends on ARCH_HISI || COMPILE_TEST
drivers/clk/hisilicon/Makefile +0 -1
index 2978e56cb876..323b9bc563e4 100644
@@ -8,7 +8,6 @@ obj-y	+= clk.o clkgate-separated.o clkdivider-hi6220.o clk-hisi-phase.o
 obj-$(CONFIG_ARCH_HI3xxx)	+= clk-hi3620.o
 obj-$(CONFIG_ARCH_HIP04)	+= clk-hip04.o
 obj-$(CONFIG_ARCH_HIX5HD2)	+= clk-hix5hd2.o
-obj-$(CONFIG_COMMON_CLK_HI3516CV300)	+= crg-hi3516cv300.o
 obj-$(CONFIG_COMMON_CLK_HI3519)	+= clk-hi3519.o
 obj-$(CONFIG_COMMON_CLK_HI3559A)	+= clk-hi3559a.o
 obj-$(CONFIG_COMMON_CLK_HI3660) += clk-hi3660.o
drivers/clk/hisilicon/crg-hi3516cv300.c deleted +0 -317

317 lines not on this page · raw message

include/dt-bindings/clock/hi3516cv300-clock.h deleted +0 -36
deleted file mode 100644
index ccea1bab7a6f..000000000000
@@ -1,36 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-or-later */
-/*
- * Copyright (c) 2016 HiSilicon Technologies Co., Ltd.
- */
-
-#ifndef __DTS_HI3516CV300_CLOCK_H
-#define __DTS_HI3516CV300_CLOCK_H
-
-/* hi3516CV300 core CRG */
-#define HI3516CV300_APB_CLK		0
-#define HI3516CV300_UART0_CLK		1
-#define HI3516CV300_UART1_CLK		2
-#define HI3516CV300_UART2_CLK		3
-#define HI3516CV300_SPI0_CLK		4
-#define HI3516CV300_SPI1_CLK		5
-#define HI3516CV300_FMC_CLK		6
-#define HI3516CV300_MMC0_CLK		7
-#define HI3516CV300_MMC1_CLK		8
-#define HI3516CV300_MMC2_CLK		9
-#define HI3516CV300_MMC3_CLK		10
-#define HI3516CV300_ETH_CLK		11
-#define HI3516CV300_ETH_MACIF_CLK	12
-#define HI3516CV300_DMAC_CLK		13
-#define HI3516CV300_PWM_CLK		14
-#define HI3516CV300_USB2_BUS_CLK	15
-#define HI3516CV300_USB2_OHCI48M_CLK	16
-#define HI3516CV300_USB2_OHCI12M_CLK	17
-#define HI3516CV300_USB2_OTG_UTMI_CLK	18
-#define HI3516CV300_USB2_HST_PHY_CLK	19
-#define HI3516CV300_USB2_UTMI0_CLK	20
-#define HI3516CV300_USB2_PHY_CLK	21
-
-/* hi3516CV300 sysctrl CRG */
-#define HI3516CV300_WDT_CLK		1
-
-#endif	/* __DTS_HI3516CV300_CLOCK_H */
Signature · 1 line
2.53.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Rob Herring (Arm)

Remove the hi3516cv300 clock driver as there is no such platform upstream and only drivers for clocks, pwm and ethernet. There's also been no changes other than common cleanups in 10 years since the driver was added.

Quoted 8 lines
---
 drivers/clk/hisilicon/Kconfig                 |   9 -
 drivers/clk/hisilicon/Makefile                |   1 -
 drivers/clk/hisilicon/crg-hi3516cv300.c       | 317 ------------------
 include/dt-bindings/clock/hi3516cv300-clock.h |  36 --
 4 files changed, 363 deletions(-)
 delete mode 100644 drivers/clk/hisilicon/crg-hi3516cv300.c
 delete mode 100644 include/dt-bindings/clock/hi3516cv300-clock.h

Best regards,
Krzysztof