]> git.dujemihanovic.xyz Git - linux.git/commitdiff
dt-bindings: mfd: adp5585: Add parsing of hogs
authorHaibo Chen <haibo.chen@nxp.com>
Wed, 28 Aug 2024 03:04:05 +0000 (11:04 +0800)
committerLee Jones <lee@kernel.org>
Mon, 23 Sep 2024 15:20:54 +0000 (16:20 +0100)
Allow parsing GPIO controller children nodes with GPIO hogs.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240828030405.2851611-1-haibo.chen@nxp.com
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/devicetree/bindings/mfd/adi,adp5585.yaml

index f9c069f8534b27cdc8f5801caf0f2247269662ea..ee2272f754a339569c793102928ddd13249f8fee 100644 (file)
@@ -42,6 +42,13 @@ properties:
   "#pwm-cells":
     const: 3
 
+patternProperties:
+  "-hog(-[0-9]+)?$":
+    type: object
+
+    required:
+      - gpio-hog
+
 required:
   - compatible
   - reg