Re: [PATCH V12 2/5] pwm: Add i.MX TPM PWM driver support
From: Thierry Reding
Date: Thu May 09 2019 - 11:04:13 EST
On Thu, May 09, 2019 at 01:29:29PM +0000, Anson Huang wrote:
> i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module)
> inside, it can support multiple PWM channels, all the channels
> share same counter and period setting, but each channel can
> configure its duty and polarity independently.
>
> There are several TPM modules in i.MX7ULP, the number of channels
> in TPM modules are different, it can be read from each TPM module's
> PARAM register.
>
> Signed-off-by: Anson Huang <Anson.Huang@xxxxxxx>
> Reviewed-by: Uwe Kleine-KÃnig <u.kleine-koenig@xxxxxxxxxxxxxx>
> ---
> Changes since V11:
> - ONLY add function comment to pwm_imx_tpm_round_state(), no code change.
> ---
> drivers/pwm/Kconfig | 11 ++
> drivers/pwm/Makefile | 1 +
> drivers/pwm/pwm-imx-tpm.c | 448 ++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 460 insertions(+)
> create mode 100644 drivers/pwm/pwm-imx-tpm.c
Applied, thanks.
Thierry
Attachment:
signature.asc
Description: PGP signature