Message ID | 20230619063907.128561-1-alexander.stein@ew.tq-group.com |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [v2,1/1] dt-bindings: gpio: gpio-vf610: Add parsing of hogs | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success | |
robh/patch-applied | success | |
robh/dtbs-check | warning | build log |
robh/dt-meta-schema | success |
On 19/06/2023 08:39, Alexander Stein wrote: > Allow parsing GPIO controller children nodes with GPIO hogs. > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> > --- > Changes in v2: > * Narrow the pattern > * Remove properties covered by generic dt-schema Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof
On Mon, Jun 19, 2023 at 8:39 AM Alexander Stein <alexander.stein@ew.tq-group.com> wrote: > > Allow parsing GPIO controller children nodes with GPIO hogs. > > Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> > --- > Changes in v2: > * Narrow the pattern > * Remove properties covered by generic dt-schema > > Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml > index d2c39dba56add..7c2d152e86170 100644 > --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml > +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml > @@ -61,6 +61,13 @@ properties: > gpio-ranges: > maxItems: 1 > > +patternProperties: > + "^.+-hog(-[0-9]+)?$": > + type: object > + > + required: > + - gpio-hog > + > required: > - compatible > - reg > -- > 2.34.1 > Applied, thanks! Bart
diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml index d2c39dba56add..7c2d152e86170 100644 --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml @@ -61,6 +61,13 @@ properties: gpio-ranges: maxItems: 1 +patternProperties: + "^.+-hog(-[0-9]+)?$": + type: object + + required: + - gpio-hog + required: - compatible - reg
Allow parsing GPIO controller children nodes with GPIO hogs. Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com> --- Changes in v2: * Narrow the pattern * Remove properties covered by generic dt-schema Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 7 +++++++ 1 file changed, 7 insertions(+)