ASoC: Add reset-gpio DT property to cs4270 driver
authorDaniel Mack <zonque@gmail.com>
Wed, 25 Jul 2012 13:28:35 +0000 (15:28 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 3 Aug 2012 22:03:59 +0000 (23:03 +0100)
commit02286190f3ec86f03025a60c4d3f747ff1047248
tree7cf1d705d24807b3c5bea0fd22d45ee8f7227475
parent85d07e4d625d6511934799f7df93e9111ac2c88b
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>
Documentation/devicetree/bindings/sound/cs4270.txt
sound/soc/codecs/cs4270.c