[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6xk5b5tl4ozcziejdejvr3en4vncnf3eypgp7rnv3oyhfgqsl4@ab5abftw3elz>
Date: Tue, 27 Aug 2024 13:33:51 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: haibo.chen@....com
Cc: laurent.pinchart@...asonboard.com, lee@...nel.org, robh@...nel.org,
krzk+dt@...nel.org, conor+dt@...nel.org, linux-gpio@...r.kernel.org,
linux-pwm@...r.kernel.org, devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
imx@...ts.linux.dev
Subject: Re: [PATCH] dt-bindings: mfd: adp5585: Add parsing of hogs
On Tue, Aug 27, 2024 at 02:17:10PM +0800, haibo.chen@....com wrote:
> 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]+)?)$":
Over-complicated regex.
https://elixir.bootlin.com/linux/v6.9-rc3/source/Documentation/devicetree/bindings/pinctrl/qcom,sdm845-pinctrl.yaml#L45
Best regards,
Krzysztof
Powered by blists - more mailing lists