[PATCH 0/2] pwm: Add the Ingenic X1600 PWM controller
From: Olivier Louvignes
Date: Sun Oct 25 2026 - 04:46:58 EST
The Ingenic X1600 has a PWM controller of its own, separate from the TCU
timers that pwm-jz4740 drives on the earlier Ingenic SoCs. This adds its
binding and a driver built on the waveform callbacks.
Tested on a HiBy R1 (X1600), whose backlight is channel 0, through
pwm-backlight: brightness 1, 25, 50, 60 and 100% give the expected high and
low counts, 0 and 100% switch the channel off at the right idle level,
and an inversed 250 us of 1 ms on channel 1 reads back as INL 0, LOW
9375 then HIGH 28125 with the clock divided by 8. PWM_DEBUG stayed
silent.
The X1600 has no device tree upstream yet; its support is being posted
one subsystem at a time.
Olivier Louvignes (2):
dt-bindings: pwm: Add the Ingenic X1600 PWM controller
pwm: Add a driver for the Ingenic X1600 PWM controller
.../bindings/pwm/ingenic,x1600-pwm.yaml | 47 ++++
MAINTAINERS | 6 +
drivers/pwm/Kconfig | 11 +
drivers/pwm/Makefile | 1 +
drivers/pwm/pwm-ingenic-x1600.c | 260 ++++++++++++++++++
5 files changed, 325 insertions(+)
create mode 100644 Documentation/devicetree/bindings/pwm/ingenic,x1600-pwm.yaml
create mode 100644 drivers/pwm/pwm-ingenic-x1600.c
base-commit: 00e917df050d79ac26ec700717680ad6421d2808
--
2.54.0