ASoC: dt-bindings: pcm3168a: Update the optional RST gpio for clarity

Use the standard name for the gpion in DT: reset-gpios

Document that the RST line is low active and update the example
accordingly.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20191120131753.6831-2-peter.ujfalusi@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Peter Ujfalusi 2019-11-20 15:17:52 +02:00 committed by Mark Brown
parent fb51267783
commit 103e5d734a
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 5 additions and 4 deletions

View File

@ -27,9 +27,10 @@ For required properties on SPI/I2C, consult SPI/I2C device tree documentation
Optional properties: Optional properties:
- rst-gpios : Optional RST gpio line for the codec - reset-gpios : Optional reset gpio line connected to RST pin of the codec.
RST = low: device power-down The RST line is low active:
RST = high: device is enabled RST = low: device power-down
RST = high: device is enabled
Examples: Examples:
@ -40,7 +41,7 @@ i2c0: i2c0@0 {
pcm3168a: audio-codec@44 { pcm3168a: audio-codec@44 {
compatible = "ti,pcm3168a"; compatible = "ti,pcm3168a";
reg = <0x44>; reg = <0x44>;
rst-gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; reset-gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
clocks = <&clk_core CLK_AUDIO>; clocks = <&clk_core CLK_AUDIO>;
clock-names = "scki"; clock-names = "scki";
VDD1-supply = <&supply3v3>; VDD1-supply = <&supply3v3>;