mbox series

[0/4] i.MX8M PWM polarity support

Message ID 20220502094901.251310-1-alexander.stein@ew.tq-group.com (mailing list archive)
Headers show
Series i.MX8M PWM polarity support | expand

Message

Alexander Stein May 2, 2022, 9:48 a.m. UTC
Hello,

this patchset adds the possibility to specify a PWM polarity inversion for
i.MX8M. The pwm-imx27 driver already supports this in the 3rd pwm-cells, but
the DT for imx8m so far only set #pwm-cells=<2>.
Add support by setting #pwm-cells=<3> and adding the (default) normal (0)
polarity to all boards.
make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/pwm/imx-pwm.yaml
was used to get all boards.

Best regards,
Alexander

Markus Niebel (4):
  arm64: dt: imx8mq: support pwm polarity inversion
  arm64: dt: imx8mm: support pwm polarity inversion
  arm64: dt: imx8mn: support pwm polarity inversion
  arm64: dt: imx8mp: support pwm polarity inversion

 .../boot/dts/freescale/imx8mm-data-modul-edm-sbc.dts      | 2 +-
 arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi             | 2 +-
 arch/arm64/boot/dts/freescale/imx8mm.dtsi                 | 8 ++++----
 arch/arm64/boot/dts/freescale/imx8mn.dtsi                 | 8 ++++----
 arch/arm64/boot/dts/freescale/imx8mp.dtsi                 | 8 ++++----
 arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts   | 2 +-
 arch/arm64/boot/dts/freescale/imx8mq-mnt-reform2.dts      | 2 +-
 arch/arm64/boot/dts/freescale/imx8mq.dtsi                 | 8 ++++----
 8 files changed, 20 insertions(+), 20 deletions(-)

Comments

Shawn Guo May 5, 2022, 7:47 a.m. UTC | #1
On Mon, May 02, 2022 at 11:48:57AM +0200, Alexander Stein wrote:
> Hello,
> 
> this patchset adds the possibility to specify a PWM polarity inversion for
> i.MX8M. The pwm-imx27 driver already supports this in the 3rd pwm-cells, but
> the DT for imx8m so far only set #pwm-cells=<2>.
> Add support by setting #pwm-cells=<3> and adding the (default) normal (0)
> polarity to all boards.
> make dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/pwm/imx-pwm.yaml
> was used to get all boards.
> 
> Best regards,
> Alexander
> 
> Markus Niebel (4):
>   arm64: dt: imx8mq: support pwm polarity inversion
>   arm64: dt: imx8mm: support pwm polarity inversion
>   arm64: dt: imx8mn: support pwm polarity inversion
>   arm64: dt: imx8mp: support pwm polarity inversion

Applied all, thanks!