Linux PWM subsystem development
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: mfd: adp5585: Add parsing of hogs
@ 2024-08-28  3:04 haibo.chen
  2024-08-28  6:07 ` Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: haibo.chen @ 2024-08-28  3:04 UTC (permalink / raw)
  To: laurent.pinchart, lee, robh, krzk+dt, conor+dt
  Cc: linux-gpio, linux-pwm, devicetree, linux-kernel, imx

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
+
+    required:
+      - gpio-hog
+
 required:
   - compatible
   - reg
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] dt-bindings: mfd: adp5585: Add parsing of hogs
  2024-08-28  3:04 [PATCH v2] dt-bindings: mfd: adp5585: Add parsing of hogs haibo.chen
@ 2024-08-28  6:07 ` Krzysztof Kozlowski
  2024-08-28 10:58 ` Laurent Pinchart
  2024-08-30  8:24 ` (subset) " Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-08-28  6:07 UTC (permalink / raw)
  To: haibo.chen
  Cc: laurent.pinchart, lee, robh, krzk+dt, conor+dt, linux-gpio,
	linux-pwm, devicetree, linux-kernel, imx

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] dt-bindings: mfd: adp5585: Add parsing of hogs
  2024-08-28  3:04 [PATCH v2] dt-bindings: mfd: adp5585: Add parsing of hogs haibo.chen
  2024-08-28  6:07 ` Krzysztof Kozlowski
@ 2024-08-28 10:58 ` Laurent Pinchart
  2024-08-30  8:24 ` (subset) " Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Laurent Pinchart @ 2024-08-28 10:58 UTC (permalink / raw)
  To: haibo.chen
  Cc: lee, robh, krzk+dt, conor+dt, linux-gpio, linux-pwm, devicetree,
	linux-kernel, imx

Hi Haibo,

Thank you for the patch.

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>

This looks good, sorry for forgetting to add it in the first place.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.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
> +
> +    required:
> +      - gpio-hog
> +
>  required:
>    - compatible
>    - reg

-- 
Regards,

Laurent Pinchart

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: (subset) [PATCH v2] dt-bindings: mfd: adp5585: Add parsing of hogs
  2024-08-28  3:04 [PATCH v2] dt-bindings: mfd: adp5585: Add parsing of hogs haibo.chen
  2024-08-28  6:07 ` Krzysztof Kozlowski
  2024-08-28 10:58 ` Laurent Pinchart
@ 2024-08-30  8:24 ` Lee Jones
  2 siblings, 0 replies; 4+ messages in thread
From: Lee Jones @ 2024-08-30  8:24 UTC (permalink / raw)
  To: laurent.pinchart, lee, robh, krzk+dt, conor+dt, haibo.chen
  Cc: linux-gpio, linux-pwm, devicetree, linux-kernel, imx

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 [李琼斯]


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-30  8:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-28  3:04 [PATCH v2] dt-bindings: mfd: adp5585: Add parsing of hogs haibo.chen
2024-08-28  6:07 ` Krzysztof Kozlowski
2024-08-28 10:58 ` Laurent Pinchart
2024-08-30  8:24 ` (subset) " Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox