From: fabrice.gasnier@st.com (Fabrice Gasnier)
To: linux-arm-kernel@lists.infradead.org
Subject: [RESEND PATCH 2/3] pwm: stm32: LPTimer: use 3 cells xlate
Date: Fri, 23 Mar 2018 16:22:26 +0100 [thread overview]
Message-ID: <d23f866b-67af-4e5b-14aa-a2c5a0a499ec@st.com> (raw)
In-Reply-To: <1519392965-28235-3-git-send-email-fabrice.gasnier@st.com>
On 02/23/2018 02:36 PM, Fabrice Gasnier wrote:
> From: Gerald Baeza <gerald.baeza@st.com>
>
> STM32 Low-Power Timer supports generic 3 cells pwm to encode
> PWM number, period and polarity.
>
> Signed-off-by: Gerald Baeza <gerald.baeza@st.com>
> Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
> ---
> drivers/pwm/pwm-stm32-lp.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/pwm/pwm-stm32-lp.c b/drivers/pwm/pwm-stm32-lp.c
> index 1ac9e43..346b7bd 100644
> --- a/drivers/pwm/pwm-stm32-lp.c
> +++ b/drivers/pwm/pwm-stm32-lp.c
> @@ -203,6 +203,8 @@ static int stm32_pwm_lp_probe(struct platform_device *pdev)
> priv->chip.dev = &pdev->dev;
> priv->chip.ops = &stm32_pwm_lp_ops;
> priv->chip.npwm = 1;
> + priv->chip.of_xlate = of_pwm_xlate_with_flags;
> + priv->chip.of_pwm_n_cells = 3;
>
> ret = pwmchip_add(&priv->chip);
> if (ret < 0)
>
Hi Thierry, all,
Gentle ping for driver review since DT Bindings has been reviewed by Rob.
Many thanks in advance,
Regards,
Fabrice
next prev parent reply other threads:[~2018-03-23 15:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 13:36 [RESEND PATCH 0/3] Add pwm-cells on STM32 LPTimer Fabrice Gasnier
2018-02-23 13:36 ` [RESEND PATCH 1/3] dt-bindings: pwm-stm32-lp: add #pwm-cells Fabrice Gasnier
2018-02-23 13:36 ` [RESEND PATCH 2/3] pwm: stm32: LPTimer: use 3 cells xlate Fabrice Gasnier
2018-03-23 15:22 ` Fabrice Gasnier [this message]
2018-02-23 13:36 ` [RESEND PATCH 3/3] ARM: dts: stm32: update pwm-cells for LPTimer on stm32h743 Fabrice Gasnier
2018-05-03 15:38 ` Alexandre Torgue
2018-03-27 22:57 ` [RESEND PATCH 0/3] Add pwm-cells on STM32 LPTimer Thierry Reding
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d23f866b-67af-4e5b-14aa-a2c5a0a499ec@st.com \
--to=fabrice.gasnier@st.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox