diff mbox series

[24/25] dt-bindings: pwm: rockchip: Add RV1106 compatible

Message ID 20260810121121.210040-25-vlad@zlab.su
State New
Headers show
Series ARM: rockchip: Add peripheral support for RV1106 | expand

Commit Message

Vladislav Leonov Aug. 10, 2026, 12:11 p.m. UTC
Add the compatible for the PWM of the RV1106 which is compatible
with RK3328 vatiant.

RV1106 PWM channels also wire up an interrupt line each, with the
channel that supports capture mode using a second one for that.
Add "interrupts" to the schema to describe this.

Signed-off-by: Vladislav Leonov <vlad@zlab.su>
---

 Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Uwe Kleine-König Aug. 11, 2026, 5:39 a.m. UTC | #1
Hello,

On Mon, Aug 10, 2026 at 03:11:15PM +0300, Vladislav Leonov wrote:
> +  interrupts:
> +    minItems: 1
> +    maxItems: 2
> +    description:
> +      Some PWM channels (e.g. on rockchip,rv1106-pwm) additionally
> +      support capture mode and use a second interrupt for that.

Is it clear what the first irq is about? Maybe spend a word on that,
too?

Otherwise looks fine for me.

Best regards
Uwe
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml b/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml
index c8cdfb723336..8fa75cabf025 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml
+++ b/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml
@@ -34,12 +34,20 @@  properties:
               - rockchip,rk3562-pwm
               - rockchip,rk3568-pwm
               - rockchip,rk3588-pwm
+              - rockchip,rv1106-pwm
               - rockchip,rv1126-pwm
           - const: rockchip,rk3328-pwm
 
   reg:
     maxItems: 1
 
+  interrupts:
+    minItems: 1
+    maxItems: 2
+    description:
+      Some PWM channels (e.g. on rockchip,rv1106-pwm) additionally
+      support capture mode and use a second interrupt for that.
+
   clocks:
     minItems: 1
     maxItems: 2