diff mbox series

dt-bindings: input: gpio-keys: allow generic 'interrupt-parent' for subnodes

Message ID 20240927081757.7022-2-wsa+renesas@sang-engineering.com
State New
Headers show
Series dt-bindings: input: gpio-keys: allow generic 'interrupt-parent' for subnodes | expand

Commit Message

Wolfram Sang Sept. 27, 2024, 8:15 a.m. UTC
Allow interrupt-parent in the main node, so it can be inherited to all
subnodes. This is more compact and less error-prone.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---

It would fix dtbs_check for arch/arm/boot/dts/renesas/r8a7779-marzen.dts
and would simplify arch/arm/boot/dts/renesas/r7s72100-rskrza1.dts.

Plus, it is the behaviour I would expect.

 Documentation/devicetree/bindings/input/gpio-keys.yaml | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/input/gpio-keys.yaml b/Documentation/devicetree/bindings/input/gpio-keys.yaml
index cc78c2152921..8fc331e01f7e 100644
--- a/Documentation/devicetree/bindings/input/gpio-keys.yaml
+++ b/Documentation/devicetree/bindings/input/gpio-keys.yaml
@@ -15,6 +15,9 @@  properties:
       - gpio-keys
       - gpio-keys-polled
 
+  interrupt-parent:
+    description: Common interrupt parent for the following subnodes
+
   autorepeat: true
 
   label: