Messages in this thread | | | From | Shenwei Wang <> | Subject | RE: [PATCH v2 1/4] pwm: fsl-ftm: Added a dedicated IP interface clock | Date | Mon, 9 Jul 2018 19:00:34 +0000 |
| |
Thank you, Thierry. Have you also reviewed and accepted the other 3 patches in this serial?
Regards, Shenwei
-----Original Message----- From: Thierry Reding [mailto:thierry.reding@gmail.com] Sent: Monday, July 9, 2018 12:09 PM To: Shenwei Wang <shenwei.wang@nxp.com> Cc: linux-pwm@vger.kernel.org; dl-linux-imx <linux-imx@nxp.com>; linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/4] pwm: fsl-ftm: Added a dedicated IP interface clock
On Fri, Jun 08, 2018 at 02:22:34PM -0500, shenwei.wang@nxp.com wrote: > 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> > --- > drivers/pwm/pwm-fsl-ftm.c | 22 ++++++++++++++++------ > 1 file changed, 16 insertions(+), 6 deletions(-)
Applied, thanks.
Thierry
| |