]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83bb0e475023659d8176e90e92242001690b5a77
tree7cf1d705d24807b3c5bea0fd22d45ee8f7227475
parent42033eea855ed2f4e7012db38ef9d78dcca3ed4c
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