]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: pinctrl: nvidia,tegra234: Add missing required block
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Fri, 10 Apr 2026 11:10:48 +0000 (13:10 +0200)
committerLinus Walleij <linusw@kernel.org>
Tue, 28 Apr 2026 09:15:01 +0000 (11:15 +0200)
Binding should require 'reg' property, because address space cannot be
missing in the hardware and is already needed by the Linux drivers.
Require also 'compatible' by convention, although it is not strictly
necessary.

Fixes: 857982138b79 ("dt-bindings: pinctrl: Document Tegra234 pin controllers")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Linus Walleij <linusw@kernel.org>
Documentation/devicetree/bindings/pinctrl/nvidia,tegra234-pinmux-aon.yaml
Documentation/devicetree/bindings/pinctrl/nvidia,tegra234-pinmux.yaml

index db8224dfba2c1bab0da508acf8c6e925bd588790..56fb9cf763ef7f922fe4c2d8aa29043acc5ea6cf 100644 (file)
@@ -58,6 +58,10 @@ patternProperties:
                     drive_soc_gpio27_pee6, drive_ao_retention_n_pee2,
                     drive_vcomp_alert_pee1, drive_hdmi_cec_pgg0 ]
 
+required:
+  - compatible
+  - reg
+
 unevaluatedProperties: false
 
 examples:
index f5a3a881dec4f0293d004e684984df2b9f33d844..bd305a34eee2b2fe1128fd126789dea5fad465e1 100644 (file)
@@ -115,6 +115,10 @@ patternProperties:
                     drive_sdmmc1_dat2_pj4, drive_sdmmc1_dat1_pj3,
                     drive_sdmmc1_dat0_pj2 ]
 
+required:
+  - compatible
+  - reg
+
 unevaluatedProperties: false
 
 examples: