android_kernel_xiaomi_sm8350/arch/sh/kernel/cpu
Paul Mundt c7ed1ab3f7 serial: sh-sci: clkdev updates for MSTP gating.
This fixes up some of the I/D/F clock ambiguity in the sh-sci driver.
The interface clock in most cases just wraps back to the peripheral
clock, while the function clock wraps in to the MSTP bits. As the logic
was somewhat inverted, this cleans that up, and also enables all CPUs
with SCI MSTP bits to match function clocks through clkdev lookup.

As a result, this gets rid of the clk string abuse on the sh side, and
the clock string will be killed off once the ARM code has had a chance to
sync up. This also enables MSTP gating on CPUs like 7786 which had never
wired it up before. Impacted CPUs are primarily all SH-Mobiles, SH7785,
and SH7786.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2010-03-10 18:35:14 +09:00
..
irq sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
sh2 sh: Kill off all timer name clobbering. 2010-03-10 16:28:16 +09:00
sh2a sh: Kill off all timer name clobbering. 2010-03-10 16:28:16 +09:00
sh3 sh: Kill off all timer name clobbering. 2010-03-10 16:28:16 +09:00
sh4 sh: Kill off all timer name clobbering. 2010-03-10 16:28:16 +09:00
sh4a serial: sh-sci: clkdev updates for MSTP gating. 2010-03-10 18:35:14 +09:00
sh5 sh: Kill off all timer name clobbering. 2010-03-10 16:28:16 +09:00
shmobile sh: SH-Mobile R-standby register save/restore 2010-02-26 15:29:26 +09:00
adc.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
clock-cpg.c sh: add sh7724 kick callback to clk_div4_table 2010-02-22 19:11:22 +09:00
clock.c sh: Merge clkdev API updates. 2010-03-09 11:57:17 +09:00
fpu.c sh: Need IRQs enabled for init_fpu(). 2010-01-18 20:39:49 +09:00
hwblk.c sh: Add support for multiple hwblk counters 2009-07-20 04:23:39 +09:00
init.c sh: Setup boot CPU VBR early to enable early page faults. 2010-02-17 12:33:22 +09:00
Makefile sh: Move over to dynamically allocated FPU context. 2010-01-13 12:51:40 +09:00