All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pwm: Add the Ingenic X1600 PWM controller
@ 2026-10-25  8:46 Olivier Louvignes
  2026-10-25  8:46 ` [PATCH 1/2] dt-bindings: " Olivier Louvignes
  2026-10-25  8:46 ` [PATCH 2/2] pwm: Add a driver for " Olivier Louvignes
  0 siblings, 2 replies; 4+ messages in thread
From: Olivier Louvignes @ 2026-10-25  8:46 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Paul Cercueil,
	H . Nikolaus Schaller, linux-pwm, devicetree, linux-mips,
	linux-kernel, Olivier Louvignes

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-10-25  9:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-25  8:46 [PATCH 0/2] pwm: Add the Ingenic X1600 PWM controller Olivier Louvignes
2026-10-25  8:46 ` [PATCH 1/2] dt-bindings: " Olivier Louvignes
2026-10-25  8:46 ` [PATCH 2/2] pwm: Add a driver for " Olivier Louvignes
2026-10-25  9:03   ` sashiko-bot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.