linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: gpio: modepin: Describe label property
@ 2023-11-30  9:15 Michal Simek
  2023-12-01  9:59 ` Krzysztof Kozlowski
  2023-12-01 10:37 ` Bartosz Golaszewski
  0 siblings, 2 replies; 3+ messages in thread
From: Michal Simek @ 2023-11-30  9:15 UTC (permalink / raw)
  To: linux-kernel, monstr, michal.simek, git
  Cc: Andy Shevchenko, Bartosz Golaszewski, Conor Dooley,
	Krzysztof Kozlowski, Linus Walleij, Piyush Mehta, Rob Herring,
	devicetree, linux-arm-kernel, linux-gpio

Describe optional label property which can be used for better gpio
identification.

Signed-off-by: Michal Simek <michal.simek@amd.com>
---

 .../devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml     | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml b/Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml
index 56143f1fe84a..b1fd632718d4 100644
--- a/Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml
+++ b/Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml
@@ -23,6 +23,8 @@ properties:
   "#gpio-cells":
     const: 2
 
+  label: true
+
 required:
   - compatible
   - gpio-controller
@@ -37,6 +39,7 @@ examples:
             compatible = "xlnx,zynqmp-gpio-modepin";
             gpio-controller;
             #gpio-cells = <2>;
+            label = "modepin";
         };
     };
 
-- 
2.36.1


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

* Re: [PATCH] dt-bindings: gpio: modepin: Describe label property
  2023-11-30  9:15 [PATCH] dt-bindings: gpio: modepin: Describe label property Michal Simek
@ 2023-12-01  9:59 ` Krzysztof Kozlowski
  2023-12-01 10:37 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2023-12-01  9:59 UTC (permalink / raw)
  To: Michal Simek, linux-kernel, monstr, michal.simek, git
  Cc: Andy Shevchenko, Bartosz Golaszewski, Conor Dooley,
	Krzysztof Kozlowski, Linus Walleij, Piyush Mehta, Rob Herring,
	devicetree, linux-arm-kernel, linux-gpio

On 30/11/2023 10:15, Michal Simek wrote:
> Describe optional label property which can be used for better gpio
> identification.
> 
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof


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

* Re: [PATCH] dt-bindings: gpio: modepin: Describe label property
  2023-11-30  9:15 [PATCH] dt-bindings: gpio: modepin: Describe label property Michal Simek
  2023-12-01  9:59 ` Krzysztof Kozlowski
@ 2023-12-01 10:37 ` Bartosz Golaszewski
  1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2023-12-01 10:37 UTC (permalink / raw)
  To: Michal Simek
  Cc: linux-kernel, monstr, michal.simek, git, Andy Shevchenko,
	Conor Dooley, Krzysztof Kozlowski, Linus Walleij, Piyush Mehta,
	Rob Herring, devicetree, linux-arm-kernel, linux-gpio

On Thu, Nov 30, 2023 at 10:15 AM Michal Simek <michal.simek@amd.com> wrote:
>
> Describe optional label property which can be used for better gpio
> identification.
>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
>  .../devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml     | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml b/Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml
> index 56143f1fe84a..b1fd632718d4 100644
> --- a/Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml
> +++ b/Documentation/devicetree/bindings/gpio/xlnx,zynqmp-gpio-modepin.yaml
> @@ -23,6 +23,8 @@ properties:
>    "#gpio-cells":
>      const: 2
>
> +  label: true
> +
>  required:
>    - compatible
>    - gpio-controller
> @@ -37,6 +39,7 @@ examples:
>              compatible = "xlnx,zynqmp-gpio-modepin";
>              gpio-controller;
>              #gpio-cells = <2>;
> +            label = "modepin";
>          };
>      };
>
> --
> 2.36.1
>

Applied, thanks!

Bart

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

end of thread, other threads:[~2023-12-01 10:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-30  9:15 [PATCH] dt-bindings: gpio: modepin: Describe label property Michal Simek
2023-12-01  9:59 ` Krzysztof Kozlowski
2023-12-01 10:37 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).