linux/drivers/clk/rockchip
Caesar Wang a7ce405088 clk: rockchip: Force rk3368 PWM clock (and its parents) on
Most rk3368 boards (especially those with Pmic that followed the lead
from rk3368-evb-act8846) have a PWM regulator on them for vdd_logic.
This is the main voltage for all kinds of misc stuff including the
memory controller.

On these boards it is critically important to make sure that the PWM
never ever glitches and never loses its clock. Any glitch could
crash the system.

Right now there are no users of the PWM regulator and also Linux
thinks that the PWM regulator is disabled.  Things happen to work
because firmware configured the PWM and Linux doesn't touch it.
..and the PWM's clock is marked as "ignore unused".

...but things _stop_ working if we turn off serial console.  Why?
Because:
    1. Serial console shares a parent clock with the PWM (pclk_cpu)
    2. If we have no serial console then nobody is holding pclk_cpu on
       at reboot time.  It gets disabled.

We need to fix a lot of the above problems, but until we get
everything right the cleanest "hack" seems like it is to just keep
the "rk_pwm" clock on always.

Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
2015-12-02 00:40:17 +01:00
..
clk-cpu.c clk: rockchip: Properly include clk.h 2015-07-20 11:11:10 -07:00
clk-inverter.c clk: Convert __clk_get_name(hw->clk) to clk_hw_get_name(hw) 2015-08-24 16:49:12 -07:00
clk-mmc-phase.c The majority of the changes are driver updates and new device 2015-11-05 12:59:36 -08:00
clk-pll.c clk: rockchip: add new pll-type for rk3036 and similar socs 2015-11-23 21:55:07 +01:00
clk-rk3036.c clk: rockchip: add clock controller for rk3036 2015-11-23 21:59:19 +01:00
clk-rk3188.c clk: rockchip: Add pclk_peri to critical clocks on RK3066/RK3188 2015-09-10 13:55:30 -07:00
clk-rk3288.c clk: rockchip: switch PLLs to slow mode before reboot for rk3288 2015-12-01 18:33:43 +01:00
clk-rk3368.c clk: rockchip: Force rk3368 PWM clock (and its parents) on 2015-12-02 00:40:17 +01:00
clk-rockchip.c
clk.c clk: rockchip: save width in struct clk_fractional_divider 2015-10-02 11:29:47 -07:00
clk.h clk: rockchip: add clock controller for rk3036 2015-11-23 21:59:19 +01:00
Makefile clk: rockchip: add clock controller for rk3036 2015-11-23 21:59:19 +01:00
softrst.c clk: rockchip: add reset controller 2014-07-13 12:17:07 -07:00