Thread (1 message) 1 message, 1 author, 2013-06-16

[PATCH 2/7] gpio: clean up gpio-ranges documentation

From: Linus Walleij <hidden>
Date: 2013-06-16 12:43:30
Also in: linux-devicetree

On Thu, Jun 13, 2013 at 10:59 PM, Stephen Warren [off-list ref] wrote:
From: Stephen Warren <redacted>

This change makes documentation of the the gpio-ranges property shorter
and more succinct, more consistent with the style of the rest of the
document, and not mention Linux-specifics such as the API
pinctrl_request_gpio(); DT binding documents should be OS independant
where at all possible.

This change also removes any mention of the #gpio-range-cells property.
Such properties are useful when one node references a second node, and
that second node dictates the format of the reference. However, that is
not the case here; the definition of gpio-ranges itself always dictates
its format entirely, and hence the value #gpio-range-cells must always
be 3, and hence there is no point requiring any referenced node to
include this property.

Signed-off-by: Stephen Warren <redacted>
---
Patches 2-6 need to be applied in the same branch, since they all build
upon each-other.
Very nice. If I can just get the OF maintainers to ACK the OF
patches I can carry this stuff in pinctrl or gpio alike.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help