diff options
author | shenwei.wang@nxp.com <shenwei.wang@nxp.com> | 2018-06-08 14:22:34 -0500 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2018-07-09 19:04:19 +0200 |
commit | 82a9c55a2bb0a47b16c75e93d8ce54e8944758c0 (patch) | |
tree | 7b871204f0d87fe7d27cc27acba7e67b7b3bf5ae /drivers/pwm/pwm-mtk-disp.c | |
parent | 4964cb52b27a834ce22e515007a74ba74886074a (diff) |
pwm: fsl-ftm: Added a dedicated IP interface clock
The current driver assumes that the ftm_sys clock works as one of the
clock sources for the IP block as well as the IP interface clock. This
assumption does not apply any more on the latest i.MX8x SoC family. On
i.MX8x SoCs, a dedicated IP interface clock is introduced and it must be
enabled before accessing any FTM registers. Moreover, the clock can not
be used as the source clock for the FTM IP block. This patch introduces
the ipg_clk as the dedicated IP interface clock and by default it is the
same as the ftm_sys clock if not specified.
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'drivers/pwm/pwm-mtk-disp.c')
0 files changed, 0 insertions, 0 deletions