Skip to contentSkip to conversation

clk: hisilicon: Remove hi3559a driver

PATCH Applied Rob Herring (Arm) 2 participants 2 messages Nov 9 – Nov 10

Subsystems (2)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 1/1 clk: hisilicon: Remove hi3559a driver

Remove the hi3559a clock driver as there is no such platform upstream and only the clk driver. There's also been no changes other than common cleanups in 5 years since the driver was added.

---
 .../clock/hisilicon,hi3559av100-clock.yaml    |  59 --
 drivers/clk/hisilicon/Kconfig                 |   9 -
 drivers/clk/hisilicon/Makefile                |   1 -
 drivers/clk/hisilicon/clk-hi3559a.c           | 840 ------------------
 include/dt-bindings/clock/hi3559av100-clock.h | 165 ----
 5 files changed, 1074 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/clock/hisilicon,hi3559av100-clock.yaml
 delete mode 100644 drivers/clk/hisilicon/clk-hi3559a.c
 delete mode 100644 include/dt-bindings/clock/hi3559av100-clock.h
Documentation/devicetree/bindings/clock/hisilicon,hi3559av100-clock.yaml deleted +0 -59
deleted file mode 100644
index 3ceb29cec704..000000000000
@@ -1,59 +0,0 @@
-# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
-%YAML 1.2
----
-$id: http://devicetree.org/schemas/clock/hisilicon,hi3559av100-clock.yaml#
-$schema: http://devicetree.org/meta-schemas/core.yaml#
-
-title: Hisilicon SOC Clock for HI3559AV100
-
-maintainers:
-  - Dongjiu Geng <[email protected]>
-
-description: |
-  Hisilicon SOC clock control module which supports the clocks, resets and
-  power domains on HI3559AV100.
-
-  See also:
-    dt-bindings/clock/hi3559av100-clock.h
-
-properties:
-  compatible:
-    enum:
-      - hisilicon,hi3559av100-clock
-      - hisilicon,hi3559av100-shub-clock
-
-  reg:
-    minItems: 1
-    maxItems: 2
-
-  '#clock-cells':
-    const: 1
-
-  '#reset-cells':
-    const: 2
-    description: |
-      First cell is reset request register offset.
-      Second cell is bit offset in reset request register.
-
-required:
-  - compatible
-  - reg
-  - '#clock-cells'
-  - '#reset-cells'
-
-additionalProperties: false
-
-examples:
-  - |
-    soc {
-        #address-cells = <2>;
-        #size-cells = <2>;
-
-        clock-controller@12010000 {
-            compatible = "hisilicon,hi3559av100-clock";
-            #clock-cells = <1>;
-            #reset-cells = <2>;
-            reg = <0x0 0x12010000 0x0 0x10000>;
-        };
-    };
-...
drivers/clk/hisilicon/Kconfig +0 -9
index e70bcfa9105b..68858a0efaab 100644
@@ -21,15 +21,6 @@ config COMMON_CLK_HI3519
 	help
 	  Build the clock driver for hi3519.
 
-config COMMON_CLK_HI3559A
-	bool "Hi3559A Clock Driver"
-	depends on ARCH_HISI || COMPILE_TEST
-	select RESET_HISI
-	select COMMON_CLK_HISI
-	default ARCH_HISI
-	help
-	  Build the clock driver for hi3559a.
-
 config COMMON_CLK_HI3660
 	bool "Hi3660 Clock Driver"
 	depends on ARCH_HISI || COMPILE_TEST
drivers/clk/hisilicon/Makefile +0 -1
index 2978e56cb876..b2441b99f3d5 100644
@@ -10,7 +10,6 @@ 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
 obj-$(CONFIG_COMMON_CLK_HI3670) += clk-hi3670.o
 obj-$(CONFIG_COMMON_CLK_HI3798CV200)	+= crg-hi3798cv200.o
drivers/clk/hisilicon/clk-hi3559a.c deleted +0 -840

840 lines not on this page · raw message

include/dt-bindings/clock/hi3559av100-clock.h deleted +0 -165

165 lines not on this page · raw message

Signature · 1 line
2.53.0
Applied
#1 lore raw
Quoted 1 line · Rob Herring (Arm)

clk: hisilicon: Remove hi3559a driver

NOTE: The clk tree is based on v7.4-rc1 and this patch was based on a newer branch that included commit 4dd10fbbeb9c ("treewide: Convert devm_kmalloc() family to the devm_kmalloc_obj() family") from v7.4-rc2. I resolved the conflict.

Applied, thanks!

[1/1] clk: hisilicon: Remove hi3559a driver

      https://git.kernel.org/clk/linux/c/f4897f9ed38a

Best regards,

Signature · 1 line
Brian Masney <[email protected]>