Message ID | 20240828030405.2851611-1-haibo.chen@nxp.com |
---|---|
State | New |
Headers | show |
Series | [v2] dt-bindings: mfd: adp5585: Add parsing of hogs | expand |
On Wed, Aug 28, 2024 at 11:04:05AM +0800, haibo.chen@nxp.com wrote: > From: Haibo Chen <haibo.chen@nxp.com> > > Allow parsing GPIO controller children nodes with GPIO hogs. > > Signed-off-by: Haibo Chen <haibo.chen@nxp.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..ee2272f754a3 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 Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Wed, 28 Aug 2024 11:04:05 +0800, haibo.chen@nxp.com wrote: > Allow parsing GPIO controller children nodes with GPIO hogs. > > Applied, thanks! [1/1] dt-bindings: mfd: adp5585: Add parsing of hogs commit: c9530dd31470c071b364801c90466a5c15942c25 -- Lee Jones [李琼斯]
diff --git a/Documentation/devicetree/bindings/mfd/adi,adp5585.yaml b/Documentation/devicetree/bindings/mfd/adi,adp5585.yaml index f9c069f8534b..ee2272f754a3 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