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

clk: remove u300 driver



The ST-Ericsson U300 platform is getting removed, so this driver is no
longer needed.

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20210120131026.1721788-5-arnd@kernel.org


Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent ed0f3e23
Loading
Loading
Loading
Loading
+0 −80
Original line number Diff line number Diff line
Clock bindings for ST-Ericsson U300 System Controller Clocks

Bindings for the gated system controller clocks:

Required properties:
- compatible: must be "stericsson,u300-syscon-clk"
- #clock-cells: must be <0>
- clock-type: specifies the type of clock:
  0 = slow clock
  1 = fast clock
  2 = rest/remaining clock
- clock-id: specifies the clock in the type range

Optional properties:
- clocks: parent clock(s)

The available clocks per type are as follows:

Type:  ID:   Clock:
-------------------
0      0     Slow peripheral bridge clock
0      1     UART0 clock
0      4     GPIO clock
0      6     RTC clock
0      7     Application timer clock
0      8     Access timer clock

1      0     Fast peripheral bridge clock
1      1     I2C bus 0 clock
1      2     I2C bus 1 clock
1      5     MMC interface peripheral (silicon) clock
1      6     SPI clock

2      3     CPU clock
2      4     DMA controller clock
2      5     External Memory Interface (EMIF) clock
2      6     NAND flask interface clock
2      8     XGAM graphics engine clock
2      9     Shared External Memory Interface (SEMI) clock
2      10    AHB Subsystem Bridge clock
2      12    Interrupt controller clock

Example:

gpio_clk: gpio_clk@13M {
	#clock-cells = <0>;
	compatible = "stericsson,u300-syscon-clk";
	clock-type = <0>; /* Slow */
	clock-id = <4>;
	clocks = <&slow_clk>;
};

gpio: gpio@c0016000 {
	compatible = "stericsson,gpio-coh901";
	(...)
	clocks = <&gpio_clk>;
};


Bindings for the MMC/SD card clock:

Required properties:
- compatible: must be "stericsson,u300-syscon-mclk"
- #clock-cells: must be <0>

Optional properties:
- clocks: parent clock(s)

mmc_mclk: mmc_mclk {
	#clock-cells = <0>;
	compatible = "stericsson,u300-syscon-mclk";
	clocks = <&mmc_pclk>;
};

mmcsd: mmcsd@c0001000 {
	compatible = "arm,pl18x", "arm,primecell";
	clocks = <&mmc_pclk>, <&mmc_mclk>;
	clock-names = "apb_pclk", "mclk";
	(...)
};
+0 −1
Original line number Diff line number Diff line
@@ -63,7 +63,6 @@ obj-$(CONFIG_COMMON_CLK_STM32F) += clk-stm32f4.o
obj-$(CONFIG_COMMON_CLK_STM32H7)	+= clk-stm32h7.o
obj-$(CONFIG_COMMON_CLK_STM32MP157)	+= clk-stm32mp1.o
obj-$(CONFIG_CLK_TWL6040)		+= clk-twl6040.o
obj-$(CONFIG_ARCH_U300)			+= clk-u300.o
obj-$(CONFIG_ARCH_VT8500)		+= clk-vt8500.o
obj-$(CONFIG_COMMON_CLK_VC5)		+= clk-versaclock5.o
obj-$(CONFIG_COMMON_CLK_WM831X)		+= clk-wm831x.o

drivers/clk/clk-u300.c

deleted100644 → 0
+0 −1199

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −1
Original line number Diff line number Diff line
void __init u300_clk_init(void __iomem *base);