]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic3x: Rename property for reset GPIO
authorAndrew F. Davis <afd@ti.com>
Wed, 29 Nov 2017 17:13:53 +0000 (11:13 -0600)
committerMark Brown <broonie@kernel.org>
Thu, 30 Nov 2017 12:26:33 +0000 (12:26 +0000)
commit943293232ca45988ba0aa693b51025c58e1189ca
tree5dd80612d8e06e12a2395f3e00226e04d488aa85
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ASoC: tlv320aic3x: Rename property for reset GPIO

The property used to specify a GPIO intended for reset is "reset-gpios",
but this binding uses "gpio-reset".  It is not compatible with newer
methods used to fetch GPIO pins and to prevent the spread of this error
to other bindings let's rename to be more standard.

We also standardize the pin as active-low, different device trees have
marked the GPIO different ways, luckily the driver currently uses the
low-level GPIO set function which does not respect the active-low flag,
but future changes may change this. This is an active-low reset, mark
it as such.

Lastly, add an example of use for this property.

[Rewrote title & first paragraph for clarity & accuracy -- broonie]

Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/tlv320aic3x.txt