diff options
author | Anson Huang <anson.huang@nxp.com> | 2018-12-19 05:24:58 +0000 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2018-12-24 12:06:56 +0100 |
commit | 9f4c8f9607c3147d291b70c13dd01c738ed41faf (patch) | |
tree | 6fc107417a425b3a0f55f516ee12c0017daa2198 /drivers/pwm/pwm-puv3.c | |
parent | f236d188683667274824de662d124720198730b7 (diff) | |
download | linux-9f4c8f9607c3147d291b70c13dd01c738ed41faf.tar.bz2 |
pwm: imx: Add ipg clock operation
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: 4a23e6ee9f69 ("ARM: dts: imx7d-sdb: Restore pwm backlight support")
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-puv3.c')
0 files changed, 0 insertions, 0 deletions