[PATCH] dt-bindings: pwm: rockchip: Allow "interrupts" prooperty

Uwe Kleine-König u.kleine-koenig at pengutronix.de
Sat Jan 6 06:26:55 PST 2024


This fixes the dtbs_check error

	arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dtb: pwm at 10280030: 'interrupts' does not match any of the regexes: 'pinctrl-[0-9]+'
	from schema $id: http://devicetree.org/schemas/pwm/pwm-rockchip.yaml#

in several device trees.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
---
 Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml b/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml
index 65bfb492b3a4..031a448aa2b3 100644
--- a/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml
+++ b/Documentation/devicetree/bindings/pwm/pwm-rockchip.yaml
@@ -45,6 +45,9 @@ properties:
   clock-names:
     maxItems: 2
 
+  interrupts:
+    maxItems: 1
+
   "#pwm-cells":
     enum: [2, 3]
     description:

base-commit: d73f444d06fb8a42a5c0623453f3ea1fe9880229
-- 
2.43.0




More information about the Linux-rockchip mailing list