ASoC: tlv320aic31xx: Rename property for reset GPIO
authorAndrew F. Davis <afd@ti.com>
Wed, 29 Nov 2017 17:13:52 +0000 (11:13 -0600)
committerMark Brown <broonie@kernel.org>
Thu, 30 Nov 2017 12:22:07 +0000 (12:22 +0000)
commitf00e0030bcbf49936d265330f6e0b8c739ad90c3
treeabd90c9b35f5f548f09c7c0265d8d2cad3931acb
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ASoC: tlv320aic31xx: 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 the title & first paragraph of the commit message for clarity
-- broonie]

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