mbox series

[V10,0/5] Add i.MX7ULP EVK PWM backlight support

Message ID 1553582817-29519-1-git-send-email-Anson.Huang@nxp.com
Headers show
Series Add i.MX7ULP EVK PWM backlight support | expand

Message

Anson Huang March 26, 2019, 6:52 a.m. UTC
i.MX7ULP EVK board has MIPI-DSI display, its backlight is supplied by
TPM PWM module, this patch set enables i.MX7ULP TPM PWM driver support
and also add backlight support for MIPI-DSI display.

Changes since V9:
	- update compatible string in DT binding, pwm driver and DTS file;
	- update PWM driver logic of changing period and duty, put them in 1 function;
	- update node name to be "pwm", and label name to be "tpm4".

Anson Huang (5):
  dt-bindings: pwm: Add i.MX TPM PWM binding
  pwm: Add i.MX TPM PWM driver support
  ARM: imx_v6_v7_defconfig: Add TPM PWM support by default
  ARM: dts: imx7ulp: Add tpm pwm support
  ARM: dts: imx7ulp-evk: Add backlight support

 .../devicetree/bindings/pwm/imx-tpm-pwm.txt        |  22 +
 arch/arm/boot/dts/imx7ulp-evk.dts                  |  21 +
 arch/arm/boot/dts/imx7ulp.dtsi                     |  10 +
 arch/arm/configs/imx_v6_v7_defconfig               |   1 +
 drivers/pwm/Kconfig                                |  11 +
 drivers/pwm/Makefile                               |   1 +
 drivers/pwm/pwm-imx-tpm.c                          | 463 +++++++++++++++++++++
 7 files changed, 529 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pwm/imx-tpm-pwm.txt
 create mode 100644 drivers/pwm/pwm-imx-tpm.c