Thread (6 messages) 6 messages, 3 authors, 2026-01-20
STALE178d

[PATCH 1/2] dt-bindings: pwm: nxp,lpc32xx-pwm: Add optional Motor Control PWM interrupt

From: Vladimir Zapolskiy <vz@mleia.com>
Date: 2026-01-10 01:45:44
Also in: linux-arm-kernel, linux-pwm
Subsystem: open firmware and flattened device tree bindings, pwm subsystem, the rest · Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Uwe Kleine-König, Linus Torvalds

NXP LPC32xx Motor Control PWM has an interrupt line shared with TIMER4,
and the interrupt may be used to report events from programmable counters
e.g. timer counter limit (period), match counter (pulse-width), or from
counters on input lines of PWM channels.

As a reference and for more details see NXP LPC32xx User Manual, table 595.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
---
 .../devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml       | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml b/Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml
index cdd83ac29caf..53520f005acb 100644
--- a/Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml
+++ b/Documentation/devicetree/bindings/pwm/nxp,lpc3220-pwm.yaml
@@ -32,6 +32,16 @@ required:
 
 allOf:
   - $ref: pwm.yaml#
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - nxp,lpc3220-motor-pwm
+    then:
+      properties:
+        interrupts:
+          maxItems: 1
 
 unevaluatedProperties: false
 
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help