]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mention in DT binding doc that <name>-gpio is deprecated
authorJavier Martinez Canillas <javier@osg.samsung.com>
Mon, 21 Sep 2015 12:57:25 +0000 (14:57 +0200)
committerRob Herring <robh@kernel.org>
Thu, 24 Sep 2015 22:55:30 +0000 (17:55 -0500)
commit4cf3fd49346766f080107ac33be2c96bd525a0c8
tree1c0d3bd857f847b4d756eacf440c62045af87ef3
parent3c4e2725cb2707e3460a5f99807bdbc682af22ff
gpio: mention in DT binding doc that <name>-gpio is deprecated

The gpiolib supports parsing DT properties of the form <name>-gpio but it
was only added for compatibility with older DT bindings that got it wrong
and should not be used in newer bindings.

The commit that added support for this was:

c45763055a96 ("gpio: of: Allow -gpio suffix for property names")

but didn't update the documentation to explain this so it's been a source
of confusion. So let's make this clear in the GPIO DT binding doc.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/gpio/gpio.txt