[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240827061710.2091661-1-haibo.chen@nxp.com>
Date: Tue, 27 Aug 2024 14:17:10 +0800
From: haibo.chen@....com
To: laurent.pinchart@...asonboard.com,
lee@...nel.org,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org
Cc: linux-gpio@...r.kernel.org,
linux-pwm@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
imx@...ts.linux.dev
Subject: [PATCH] dt-bindings: mfd: adp5585: Add parsing of hogs
From: Haibo Chen <haibo.chen@....com>
Allow parsing GPIO controller children nodes with GPIO hogs.
Signed-off-by: Haibo Chen <haibo.chen@....com>
---
Documentation/devicetree/bindings/mfd/adi,adp5585.yaml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Documentation/devicetree/bindings/mfd/adi,adp5585.yaml b/Documentation/devicetree/bindings/mfd/adi,adp5585.yaml
index f9c069f8534b..815a39c18556 100644
--- a/Documentation/devicetree/bindings/mfd/adi,adp5585.yaml
+++ b/Documentation/devicetree/bindings/mfd/adi,adp5585.yaml
@@ -42,6 +42,13 @@ properties:
"#pwm-cells":
const: 3
+patternProperties:
+ "^(.+-hog(-[0-9]+)?)$":
+ type: object
+
+ required:
+ - gpio-hog
+
required:
- compatible
- reg
--
2.34.1
Powered by blists - more mailing lists