Commit cdacc761 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Mark Brown

ASoC: pcm3168a: Document optional RST gpio

On boards where the RST line is not pulled up, but it is connected to a
GPIO line this property must present in order to be able to enable the
codec.
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20191113124734.27984-2-peter.ujfalusi@ti.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent b1176bbb
...@@ -25,6 +25,12 @@ Required properties: ...@@ -25,6 +25,12 @@ Required properties:
For required properties on SPI/I2C, consult SPI/I2C device tree documentation For required properties on SPI/I2C, consult SPI/I2C device tree documentation
Optional properties:
- rst-gpios : Optional RST gpio line for the codec
RST = low: device power-down
RST = high: device is enabled
Examples: Examples:
i2c0: i2c0@0 { i2c0: i2c0@0 {
...@@ -34,6 +40,7 @@ i2c0: i2c0@0 { ...@@ -34,6 +40,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>;
clocks = <&clk_core CLK_AUDIO>; clocks = <&clk_core CLK_AUDIO>;
clock-names = "scki"; clock-names = "scki";
VDD1-supply = <&supply3v3>; VDD1-supply = <&supply3v3>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment