[PATCH v3 0/2] Add the s32g2 and s32g3 FTM PWM support

From: Daniel Lezcano
Date: Tue Aug 12 2025 - 16:01:57 EST


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

.../bindings/pwm/fsl,vf610-ftm-pwm.yaml | 11 ++++--
drivers/pwm/pwm-fsl-ftm.c | 35 +++++++++++++++++--
2 files changed, 41 insertions(+), 5 deletions(-)

--
2.43.0