From: Daniel Lezcano <daniel.lezcano@linaro.org>
To: "Uwe Kleine-König" <ukleinek@kernel.org>
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
Frank.Li@nxp.com, linux-pwm@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Ghennadi.Procopciuc@nxp.com, s32@nxp.com
Subject: Re: [PATCH v3 0/2] Add the s32g2 and s32g3 FTM PWM support
Date: Thu, 14 Aug 2025 15:23:51 +0200 [thread overview]
Message-ID: <a0d431ef-effd-49b8-8124-0c0890a70ffb@linaro.org> (raw)
In-Reply-To: <jmhzng2ezrrqhy52y7eru2ik6uburn4rnilfwreqmvkeirqbnm@b5ksjlufwuwf>
On 14/08/2025 12:54, Uwe Kleine-König wrote:
> Hello Daniel,
>
> On Tue, Aug 12, 2025 at 10:00:34PM +0200, Daniel Lezcano wrote:
>> The NXP Automotive platform s32g2 and s32g3 have on their board a
>> FlexTimer (FTM) dedicated for the PWM. The same IP is found on the
>> Freescale Vybrid Family and the i.MX8 SoCs. However, there is a small
>> difference with some registers not available on the s32g2/3 and 6
>> channels instead of 8.
>>
>> These two patches provide the DT bindings for the s32g2/3 compatible
>> strings and the code to deal with the FTM difference.
>>
>> Changelog:
>> v3:
>> - Fixed dt-bindings subject prefix
>> v2:
>> - Merged the two booleans for the regmap holes check
>> - Clarified why this is needed in the changelog
>> v1:
>> - Initial post
>>
>> Daniel Lezcano (1):
>> dt-bindings: pwm: fsl,vf610-ftm-pwm: Add compatible for s32g2 and
>> s32g3
>>
>> Ghennadi Procopciuc (1):
>> pwm: Add the S32G support in the Freescale FTM driver
>
> Applied to
> https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
>
> with this merge conflict resolution:
Thanks for fixing the conflict.
Restested it and I can confirm it works as expected.
> diff --cc drivers/pwm/pwm-fsl-ftm.c
> index 6683931872fc,e0069dbdb02d..000000000000
> --- a/drivers/pwm/pwm-fsl-ftm.c
> +++ b/drivers/pwm/pwm-fsl-ftm.c
> @@@ -396,7 -428,9 +416,7 @@@ static int fsl_pwm_probe(struct platfor
> return PTR_ERR(chip);
> fpc = to_fsl_chip(chip);
>
> - mutex_init(&fpc->lock);
> -
> - fpc->soc = of_device_get_match_data(&pdev->dev);
> + fpc->soc = soc;
>
> base = devm_platform_ioremap_resource(pdev, 0);
> if (IS_ERR(base))
>
> The pro tip here to make your upstream maintainer lucky is to work on
> their tree or next or at least the latest development release and make
> use of `git format-patch --base`.
Ok noted, thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
prev parent reply other threads:[~2025-08-14 13:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-12 20:00 [PATCH v3 0/2] Add the s32g2 and s32g3 FTM PWM support Daniel Lezcano
2025-08-12 20:00 ` [PATCH v3 1/2] dt-bindings: pwm: fsl,vf610-ftm-pwm: Add compatible for s32g2 and s32g3 Daniel Lezcano
2025-08-13 17:04 ` Conor Dooley
2025-08-12 20:00 ` [PATCH v3 2/2] pwm: Add the S32G support in the Freescale FTM driver Daniel Lezcano
2025-08-14 10:54 ` [PATCH v3 0/2] Add the s32g2 and s32g3 FTM PWM support Uwe Kleine-König
2025-08-14 13:23 ` Daniel Lezcano [this message]
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=a0d431ef-effd-49b8-8124-0c0890a70ffb@linaro.org \
--to=daniel.lezcano@linaro.org \
--cc=Frank.Li@nxp.com \
--cc=Ghennadi.Procopciuc@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s32@nxp.com \
--cc=ukleinek@kernel.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;
as well as URLs for NNTP newsgroup(s).