Re: [PATCH v2 1/1] dt-bindings: gpio: gpio-vf610: Add parsing of hogs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 19, 2023 at 8:39 AM Alexander Stein
<alexander.stein@xxxxxxxxxxxxxxx> wrote:
>
> Allow parsing GPIO controller children nodes with GPIO hogs.
>
> Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
> ---
> 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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux