lkml.org 
[lkml]   [2018]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] pwm: imx: add ipg clock operation
On Wed, Dec 19, 2018 at 05:24:58AM +0000, Anson Huang wrote:
> 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>
> ---
> drivers/pwm/pwm-imx.c | 53 ++++++++++++++++++++++++++++++++++++++++++++++-----
> 1 file changed, 48 insertions(+), 5 deletions(-)

Applied, thanks.

Thierry
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-12-20 18:29    [W:0.045 / U:19.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site