Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1357400

Re: [PATCH V2 4/5] gpio: DT: Rephrase "gpios" of hog node to support multiple gpios

From Stephen Warren <swarren@wwwdotorg.org>
Newsgroups linux.kernel
Subject Re: [PATCH V2 4/5] gpio: DT: Rephrase "gpios" of hog node to support multiple gpios
Date 2016-03-14 17:40 +0100
Message-ID <rcDHc-6ja-3@gated-at.bofh.it> (permalink)
References <rbvLI-73L-7@gated-at.bofh.it> <rbvLI-73L-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 03/11/2016 06:43 AM, Laxman Dewangan wrote:
> The property "gpios" of GPIO hog node support the multiple GPIO entries.
> Rephrase the details of this property for this new support.
>
> Add details of new property "label" for GPIO label name.

> diff --git a/Documentation/devicetree/bindings/gpio/gpio.txt b/Documentation/devicetree/bindings/gpio/gpio.txt

>   Optional properties:
>   - line-name:  The GPIO label name. If not present the node name is used.
> +- label:      The GPIO lable name. This can have multiple string for GPIO
> +	      label names to match with the GPIOs in "gpios" properties.
> +	      If line-name is prosent than name is taken from line-name. If
> +	      it is not then the name will be taken from label. If both are
> +	      not available then node name is used for GPIO label name.

Why are there two properties for the same thing? Why not just allow 
line-name to have multiple entries instead of introducing a new property?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH V2 4/5] gpio: DT: Rephrase "gpios" of hog node to support multiple gpios Laxman Dewangan <ldewangan@nvidia.com> - 2016-03-11 15:00 +0100
  Re: [PATCH V2 4/5] gpio: DT: Rephrase "gpios" of hog node to support  multiple gpios Stephen Warren <swarren@wwwdotorg.org> - 2016-03-14 17:40 +0100
    Re: [PATCH V2 4/5] gpio: DT: Rephrase "gpios" of hog node to support  multiple gpios Laxman Dewangan <ldewangan@nvidia.com> - 2016-03-15 08:00 +0100
      Re: [PATCH V2 4/5] gpio: DT: Rephrase "gpios" of hog node to support  multiple gpios Stephen Warren <swarren@wwwdotorg.org> - 2016-03-15 16:50 +0100
  Re: [PATCH V2 4/5] gpio: DT: Rephrase "gpios" of hog node to support  multiple gpios Linus Walleij <linus.walleij@linaro.org> - 2016-03-15 15:20 +0100

csiph-web