* [PATCH] dt-bindings: gpio: gpio-pca9570: Add label property
@ 2024-02-01 10:24 Michal Simek
2024-02-02 20:25 ` Rob Herring
2024-02-05 8:30 ` Bartosz Golaszewski
0 siblings, 2 replies; 3+ messages in thread
From: Michal Simek @ 2024-02-01 10:24 UTC (permalink / raw)
To: linux-kernel, monstr, michal.simek, git
Cc: Bartosz Golaszewski, Conor Dooley, Krzysztof Kozlowski,
Linus Walleij, Rob Herring, Sungbo Eo,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list:GPIO SUBSYSTEM
Add a label property to allow a custom name to be used for identifying
a device on the board. This is useful when multiple devices are present on
the same board. Similar change was done by commit ffae65fb1ae4
("dt-bindings: spi: spi-cadence: Add label property") or by commit
a53faa6bfa3b ("dt-bindings: hwmon: ina2xx: Add label property").
Signed-off-by: Michal Simek <michal.simek@amd.com>
---
Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
index 452f8972a965..6f73961001b7 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
@@ -28,6 +28,9 @@ properties:
minItems: 4
maxItems: 8
+ label:
+ description: A descriptive name for this device.
+
required:
- compatible
- reg
--
2.36.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: gpio: gpio-pca9570: Add label property
2024-02-01 10:24 [PATCH] dt-bindings: gpio: gpio-pca9570: Add label property Michal Simek
@ 2024-02-02 20:25 ` Rob Herring
2024-02-05 8:30 ` Bartosz Golaszewski
1 sibling, 0 replies; 3+ messages in thread
From: Rob Herring @ 2024-02-02 20:25 UTC (permalink / raw)
To: Michal Simek
Cc: linux-kernel, Krzysztof Kozlowski, Conor Dooley, michal.simek,
open list:GPIO SUBSYSTEM, Linus Walleij, Sungbo Eo,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
monstr, git, Bartosz Golaszewski
On Thu, 01 Feb 2024 11:24:20 +0100, Michal Simek wrote:
> Add a label property to allow a custom name to be used for identifying
> a device on the board. This is useful when multiple devices are present on
> the same board. Similar change was done by commit ffae65fb1ae4
> ("dt-bindings: spi: spi-cadence: Add label property") or by commit
> a53faa6bfa3b ("dt-bindings: hwmon: ina2xx: Add label property").
>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
> Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
Acked-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dt-bindings: gpio: gpio-pca9570: Add label property
2024-02-01 10:24 [PATCH] dt-bindings: gpio: gpio-pca9570: Add label property Michal Simek
2024-02-02 20:25 ` Rob Herring
@ 2024-02-05 8:30 ` Bartosz Golaszewski
1 sibling, 0 replies; 3+ messages in thread
From: Bartosz Golaszewski @ 2024-02-05 8:30 UTC (permalink / raw)
To: Michal Simek
Cc: linux-kernel, monstr, michal.simek, git, Conor Dooley,
Krzysztof Kozlowski, Linus Walleij, Rob Herring, Sungbo Eo,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list:GPIO SUBSYSTEM
On Thu, Feb 1, 2024 at 11:24 AM Michal Simek <michal.simek@amd.com> wrote:
>
> Add a label property to allow a custom name to be used for identifying
> a device on the board. This is useful when multiple devices are present on
> the same board. Similar change was done by commit ffae65fb1ae4
> ("dt-bindings: spi: spi-cadence: Add label property") or by commit
> a53faa6bfa3b ("dt-bindings: hwmon: ina2xx: Add label property").
>
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
>
> Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
> index 452f8972a965..6f73961001b7 100644
> --- a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
> +++ b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
> @@ -28,6 +28,9 @@ properties:
> minItems: 4
> maxItems: 8
>
> + label:
> + description: A descriptive name for this device.
> +
> required:
> - compatible
> - reg
> --
> 2.36.1
>
Applied, thanks!
Bart
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-02-05 8:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-01 10:24 [PATCH] dt-bindings: gpio: gpio-pca9570: Add label property Michal Simek
2024-02-02 20:25 ` Rob Herring
2024-02-05 8:30 ` 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).