Commit bcbe6005 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Stephen Boyd
Browse files

clk: remove zte zx driver



The zte zx platform is getting removed, so this driver is no
longer needed.

Cc: Jun Nie <jun.nie@linaro.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210120131026.1721788-3-arnd@kernel.org


Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 7765f32a
Loading
Loading
Loading
Loading
+0 −34
Original line number Diff line number Diff line
Device Tree Clock bindings for ZTE zx296702

This binding uses the common clock binding[1].

[1] Documentation/devicetree/bindings/clock/clock-bindings.txt

Required properties:
- compatible : shall be one of the following:
	"zte,zx296702-topcrm-clk":
		zx296702 top clock selection, divider and gating

	"zte,zx296702-lsp0crpm-clk" and
	"zte,zx296702-lsp1crpm-clk":
		zx296702 device level clock selection and gating

- reg: Address and length of the register set

The clock consumer should specify the desired clock by having the clock
ID in its "clocks" phandle cell. See include/dt-bindings/clock/zx296702-clock.h
for the full list of zx296702 clock IDs.


topclk: topcrm@09800000 {
        compatible = "zte,zx296702-topcrm-clk";
        reg = <0x09800000 0x1000>;
        #clock-cells = <1>;
};

uart0: serial@09405000 {
        compatible = "zte,zx296702-uart";
        reg = <0x09405000 0x1000>;
        interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&lsp1clk ZX296702_UART0_PCLK>;
};
+0 −37
Original line number Diff line number Diff line
Device Tree Clock bindings for ZTE zx296718

This binding uses the common clock binding[1].

[1] Documentation/devicetree/bindings/clock/clock-bindings.txt

Required properties:
- compatible : shall be one of the following:
	"zte,zx296718-topcrm":
		zx296718 top clock selection, divider and gating

	"zte,zx296718-lsp0crm" and
	"zte,zx296718-lsp1crm":
		zx296718 device level clock selection and gating

	"zte,zx296718-audiocrm":
		zx296718 audio clock selection, divider and gating

- reg: Address and length of the register set

The clock consumer should specify the desired clock by having the clock
ID in its "clocks" phandle cell. See include/dt-bindings/clock/zx296718-clock.h
for the full list of zx296718 clock IDs.


topclk: topcrm@1461000 {
        compatible = "zte,zx296718-topcrm-clk";
        reg = <0x01461000 0x1000>;
        #clock-cells = <1>;
};

usbphy0:usb-phy0 {
	compatible = "zte,zx296718-usb-phy";
	#phy-cells = <0>;
	clocks = <&topclk USB20_PHY_CLK>;
	clock-names = "phyclk";
};
+0 −1
Original line number Diff line number Diff line
@@ -120,6 +120,5 @@ obj-y += versatile/
ifeq ($(CONFIG_COMMON_CLK), y)
obj-$(CONFIG_X86)			+= x86/
endif
obj-$(CONFIG_ARCH_ZX)			+= zte/
obj-$(CONFIG_ARCH_ZYNQ)			+= zynq/
obj-$(CONFIG_COMMON_CLK_ZYNQMP)         += zynqmp/

drivers/clk/zte/Makefile

deleted100644 → 0
+0 −4
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
obj-y := clk.o
obj-$(CONFIG_SOC_ZX296702) += clk-zx296702.o
obj-$(CONFIG_ARCH_ZX) += clk-zx296718.o

drivers/clk/zte/clk-zx296702.c

deleted100644 → 0
+0 −741

File deleted.

Preview size limit exceeded, changes collapsed.

Loading