• Anson Huang's avatar
    pwm: imx: Add ipg clock operation · 9f4c8f96
    Anson Huang authored
    i.MX PWM module's ipg_clk_s is for PWM register access, on most of i.MX
    SoCs, this ipg_clk_s is from system ipg clock or perclk which is always
    enabled, but on i.MX7D, the ipg_clk_s is from PWM1_CLK_ROOT which is
    controlled by CCGR132, that means the CCGR132 MUST be enabled first
    before accessing PWM registers on i.MX7D. This patch adds ipg clock
    operation to make sure register access successfully on i.MX7D and it
    fixes Linux kernel boot up hang during PWM driver probe.
    
    Fixes: 4a23e6ee ("ARM: dts: imx7d-sdb: Restore pwm backlight support")
    Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
    Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
    9f4c8f96
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
core.c Loading commit data...
pwm-ab8500.c Loading commit data...
pwm-atmel-hlcdc.c Loading commit data...
pwm-atmel-tcb.c Loading commit data...
pwm-atmel.c Loading commit data...
pwm-bcm-iproc.c Loading commit data...
pwm-bcm-kona.c Loading commit data...
pwm-bcm2835.c Loading commit data...
pwm-berlin.c Loading commit data...
pwm-brcmstb.c Loading commit data...
pwm-clps711x.c Loading commit data...
pwm-crc.c Loading commit data...
pwm-cros-ec.c Loading commit data...
pwm-ep93xx.c Loading commit data...
pwm-fsl-ftm.c Loading commit data...
pwm-hibvt.c Loading commit data...
pwm-img.c Loading commit data...
pwm-imx.c Loading commit data...
pwm-jz4740.c Loading commit data...
pwm-lp3943.c Loading commit data...
pwm-lpc18xx-sct.c Loading commit data...
pwm-lpc32xx.c Loading commit data...
pwm-lpss-pci.c Loading commit data...
pwm-lpss-platform.c Loading commit data...
pwm-lpss.c Loading commit data...
pwm-lpss.h Loading commit data...
pwm-mediatek.c Loading commit data...
pwm-meson.c Loading commit data...
pwm-mtk-disp.c Loading commit data...
pwm-mxs.c Loading commit data...
pwm-omap-dmtimer.c Loading commit data...
pwm-pca9685.c Loading commit data...
pwm-puv3.c Loading commit data...
pwm-pxa.c Loading commit data...
pwm-rcar.c Loading commit data...
pwm-renesas-tpu.c Loading commit data...
pwm-rockchip.c Loading commit data...
pwm-samsung.c Loading commit data...
pwm-spear.c Loading commit data...
pwm-sti.c Loading commit data...
pwm-stm32-lp.c Loading commit data...
pwm-stm32.c Loading commit data...
pwm-stmpe.c Loading commit data...
pwm-sun4i.c Loading commit data...
pwm-tegra.c Loading commit data...
pwm-tiecap.c Loading commit data...
pwm-tiehrpwm.c Loading commit data...
pwm-tipwmss.c Loading commit data...
pwm-twl-led.c Loading commit data...
pwm-twl.c Loading commit data...
pwm-vt8500.c Loading commit data...
pwm-zx.c Loading commit data...
sysfs.c Loading commit data...