]> 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)
commitb94e6e936d415fc815c326d9b8674af610429172
tree1c0d3bd857f847b4d756eacf440c62045af87ef3
parent9e44fbe733ce92962033b64ecdf93b78ec709baa
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:

85ea5ffd1532 ("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