diff options
author | Daniel Mack <zonque@gmail.com> | 2012-07-25 09:28:35 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-08-03 18:03:59 -0400 |
commit | 02286190f3ec86f03025a60c4d3f747ff1047248 (patch) | |
tree | 7cf1d705d24807b3c5bea0fd22d45ee8f7227475 /Documentation | |
parent | 85d07e4d625d6511934799f7df93e9111ac2c88b (diff) |
ASoC: Add reset-gpio DT property to cs4270 driver
In the process of moving over from static board files to the device
tree, reset pins of peripheral reset pins should be handled by their
corresponding drivers.
Add a reset-gpio DT property to the cs4270 driver, and de-assert it
before probing the chip. The logic could be augmented some day to
re-assert it when codec is put to suspend.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/cs4270.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/cs4270.txt b/Documentation/devicetree/bindings/sound/cs4270.txt index 7f0bfd84d3fc..6b222f9b8ef5 100644 --- a/Documentation/devicetree/bindings/sound/cs4270.txt +++ b/Documentation/devicetree/bindings/sound/cs4270.txt | |||
@@ -8,6 +8,11 @@ Required properties: | |||
8 | 8 | ||
9 | - reg : the I2C address of the device for I2C | 9 | - reg : the I2C address of the device for I2C |
10 | 10 | ||
11 | Optional properties: | ||
12 | |||
13 | - reset-gpio : a GPIO spec for the reset pin. If specified, it will be | ||
14 | deasserted before communication to the codec starts. | ||
15 | |||
11 | Example: | 16 | Example: |
12 | 17 | ||
13 | codec: cs4270@48 { | 18 | codec: cs4270@48 { |