linux-sg2042/arch/arm/mach-w90x900
Arnd Bergmann bd7fefe1f0 ARM: w90x900: normalize clk API
w90x900 still 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 empty stub implementations for each of them, and I don't even
try to do something useful here but instead just print a WARN() message
to make it obvious what is going on if they ever end up being called.

The drivers that call these won't be used on these platforms (otherwise
we'd get a link error today), so the added code is harmless bloat and
will warn about accidental use.

A while ago there was a proposal to change w90x900 to use the common-clk
implementation, which would be the way it should be handled properly.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-07-27 22:57:36 +02:00
..
include/mach ARM: 8532/1: uncompress: mark putc as inline 2016-02-22 16:55:42 +00:00
Kconfig ARM: 5684/1: Add nuc960 platform to w90x900 2009-09-02 11:22:24 +01:00
Makefile ARM: 5684/1: Add nuc960 platform to w90x900 2009-09-02 11:22:24 +01:00
Makefile.boot ARM: 7022/1: allow to detect conflicting zreladdrs 2011-10-17 09:12:40 +01:00
clksel.c ARM: 7274/1: NUC900: Rename nuc900-audio platform device to nuc900-ac97 2012-01-13 08:56:40 +00:00
clock.c ARM: w90x900: normalize clk API 2017-07-27 22:57:36 +02:00
clock.h ARM: 6483/1: arm & sh: factorised duplicated clkdev.c 2010-11-26 10:51:04 +00:00
cpu.c ARM: w90x900: make headers more local 2015-12-01 21:52:51 +01:00
cpu.h NUC900 LCD Controller Driver 2010-03-12 15:52:34 -08:00
dev.c arm: Use generic idle loop 2013-04-08 17:39:24 +02:00
gpio.c ARM: w90x900: use gpiochip data pointer 2016-02-19 09:51:42 +01:00
irq.c ARM: kill off set_irq_flags usage 2015-07-28 13:58:13 +02:00
mach-nuc910evb.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
mach-nuc950evb.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
mach-nuc960evb.c ARM: delete struct sys_timer 2012-12-24 09:36:38 -07:00
mfp.c ARM: 7274/1: NUC900: Rename nuc900-audio platform device to nuc900-ac97 2012-01-13 08:56:40 +00:00
nuc9xx.h reboot: arm: change reboot_mode to use enum reboot_mode 2013-07-09 10:33:29 -07:00
nuc910.c ARM: 6249/1: add nuc900 kpi platform_device structure to nuc910_dev 2010-07-22 09:20:17 +01:00
nuc910.h ARM: w90x900: add common nuc9xx.h 2011-11-21 09:49:30 +00:00
nuc950.c ARM: 6231/1: re-organize the nuc900 lcd arch platform data setting 2010-07-22 09:20:16 +01:00
nuc950.h ARM: w90x900: add common nuc9xx.h 2011-11-21 09:49:30 +00:00
nuc960.c ARM: 5684/1: Add nuc960 platform to w90x900 2009-09-02 11:22:24 +01:00
nuc960.h ARM: w90x900: add common nuc9xx.h 2011-11-21 09:49:30 +00:00
regs-ebi.h ARM: w90x900: make headers more local 2015-12-01 21:52:51 +01:00
regs-gcr.h ARM: w90x900: make headers more local 2015-12-01 21:52:51 +01:00
regs-timer.h ARM: w90x900: make headers more local 2015-12-01 21:52:51 +01:00
regs-usb.h ARM: w90x900: make headers more local 2015-12-01 21:52:51 +01:00
time.c ARM: w90x900: make headers more local 2015-12-01 21:52:51 +01:00