[PATCH] dt-bindings: gpio: modepin: Describe label property

Bartosz Golaszewski brgl at bgdev.pl
Fri Dec 1 02:37:59 PST 2023


On Thu, Nov 30, 2023 at 10:15 AM Michal Simek <michal.simek at amd.com> wrote:
>
> Describe optional label property which can be used for better gpio
> identification.
>
> Signed-off-by: Michal Simek <michal.simek at 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



More information about the linux-arm-kernel mailing list