diff mbox series

[v4,2/3] dt-bindings: gpio: gpio-vf610: add gpio-line-names

Message ID 20240122095306.14084-3-othacehe@gnu.org (mailing list archive)
State New, archived
Headers show
Series Add phyBOARD-Segin-i.MX93 support | expand

Commit Message

Mathieu Othacehe Jan. 22, 2024, 9:53 a.m. UTC
Describe common "gpio-line-names" property to fix dtbs_check warnings
like:

/home/mathieu/linux/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dtb:
gpio@43830000: 'gpio-line-names' does not match any of the regexes:
'^.+-hog(-[0-9]+)?$', 'pinctrl-[0-9]+' from schema $id:
http://devicetree.org/schemas/gpio/gpio-vf610.yaml#

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Stefan Wahren Jan. 22, 2024, 12:32 p.m. UTC | #1
Hi Mathieu,

Am 22.01.24 um 10:53 schrieb Mathieu Othacehe:
> Describe common "gpio-line-names" property to fix dtbs_check warnings
> like:
>
> /home/mathieu/linux/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dtb:
> gpio@43830000: 'gpio-line-names' does not match any of the regexes:
> '^.+-hog(-[0-9]+)?$', 'pinctrl-[0-9]+' from schema $id:
> http://devicetree.org/schemas/gpio/gpio-vf610.yaml#
>
> Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
> ---
>   Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> index a27f92950257..7230ba1a386a 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> @@ -50,6 +50,7 @@ properties:
>       const: 2
>
>     gpio-controller: true
> +  gpio-line-names: true
thanks for addressing this. Could you please add an extra newline
between gpio-controller and gpio-line-names?
>
>     clocks:
>       items:
Conor Dooley Jan. 22, 2024, 6:01 p.m. UTC | #2
On Mon, Jan 22, 2024 at 10:53:05AM +0100, Mathieu Othacehe wrote:
> Describe common "gpio-line-names" property to fix dtbs_check warnings
> like:
> 
> /home/mathieu/linux/arch/arm64/boot/dts/freescale/imx93-phyboard-segin.dtb:
> gpio@43830000: 'gpio-line-names' does not match any of the regexes:
> '^.+-hog(-[0-9]+)?$', 'pinctrl-[0-9]+' from schema $id:
> http://devicetree.org/schemas/gpio/gpio-vf610.yaml#
> 
> Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

Cheers,
Conor.

> ---
>  Documentation/devicetree/bindings/gpio/gpio-vf610.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> index a27f92950257..7230ba1a386a 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> +++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
> @@ -50,6 +50,7 @@ properties:
>      const: 2
>  
>    gpio-controller: true
> +  gpio-line-names: true
>  
>    clocks:
>      items:
> -- 
> 2.41.0
>
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
index a27f92950257..7230ba1a386a 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-vf610.yaml
@@ -50,6 +50,7 @@  properties:
     const: 2
 
   gpio-controller: true
+  gpio-line-names: true
 
   clocks:
     items: