1
0
Fork 0
alistair23-linux/arch/arm/mach-sa1100
Arnd Bergmann 77a374c299 ARM: sa1100: normalize clk API
sa1100 provides its own variant of the clk API rather than using the
generic COMMON_CLK API. This generally works, but it causes some link
errors with drivers using the clk_set_rate, clk_get_parent, clk_set_parent
or clk_round_rate functions when a platform lacks those interfaces.

This adds trivial stub implementations for each of them, based on
the behavior of the COMMON_CLK implementation:

- set_rate() and set_parent() report success without doing anything
- round_rate() returns the clk rate
- get_parent() returns NULL.

This adds the minimal bloat and should do the right thing for
the simple clock hardware in this SoC.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-07-27 13:15:50 +02:00
..
include/mach ARM: sa1100/pxa: fix MTD_XIP build 2017-07-27 13:14:41 +02:00
Kconfig ARM: sa1100: remove references to the defunct handhelds.org 2016-04-12 12:34:15 -07:00
Makefile ARM: 8368/1: sa1100: move irq driver to drivers/irqchip/ 2015-05-28 14:40:03 +01:00
Makefile.boot ARM: sa1100: fix build error 2011-12-08 14:55:57 +08:00
assabet.c arm: sa1100: move irda header to linux/platform_data 2014-12-30 18:44:07 -05:00
badge4.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
cerf.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
clock.c ARM: sa1100: normalize clk API 2017-07-27 13:15:50 +02:00
collie.c Merge branch 'for-linus' of git://ftp.arm.linux.org.uk/~rmk/linux-arm 2015-02-12 08:51:56 -08:00
generic.c ARM: sa11x0/pxa: acquire timer rate from the clock rate 2016-10-18 09:12:36 +02:00
generic.h ARM: sa1100: register clocks early 2016-08-23 10:02:18 +01:00
h3xxx.c mfd/gpio: Move HTC GPIO driver to GPIO subsystem 2016-09-28 09:28:34 -07:00
h3100.c arm: sa1100: move irda header to linux/platform_data 2014-12-30 18:44:07 -05:00
h3600.c arm: sa1100: move irda header to linux/platform_data 2014-12-30 18:44:07 -05:00
hackkit.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
jornada720.c Input: jornada720_ts - get rid of mach/irqs.h and mach/hardware.h includes 2016-09-10 10:47:48 -07:00
jornada720_ssp.c ARM: HP Jornada 7XX: move inline before return type 2017-07-12 16:26:04 -07:00
lart.c arm-soc: cleanups 2013-02-21 14:58:40 -08:00
nanoengine.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
neponset.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
pci-nanoengine.c ARM: sa1100: Convert PCI to use generic config accessors 2015-01-30 16:14:43 -06:00
pleb.c net: smc91x: fix SMC accesses 2016-08-28 23:44:55 -04:00
pm.c ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol 2017-02-28 11:06:10 +00:00
shannon.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
simpad.c ARM: simpad: switch to gpiochip_add_data() 2016-02-19 09:51:42 +01:00
sleep.S ARM: 7452/1: delay: allow timer-based delay implementation to be selected 2012-07-09 17:42:23 +01:00
ssp.c ARM: 7342/2: sa1100: prepare for sparse irq conversion 2012-03-25 23:57:20 +01:00