mirror of
https://github.com/torvalds/linux.git
synced 2024-12-18 17:12:55 +00:00
02286190f3
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>
22 lines
412 B
Plaintext
22 lines
412 B
Plaintext
CS4270 audio CODEC
|
|
|
|
The driver for this device currently only supports I2C.
|
|
|
|
Required properties:
|
|
|
|
- compatible : "cirrus,cs4270"
|
|
|
|
- reg : the I2C address of the device for I2C
|
|
|
|
Optional properties:
|
|
|
|
- reset-gpio : a GPIO spec for the reset pin. If specified, it will be
|
|
deasserted before communication to the codec starts.
|
|
|
|
Example:
|
|
|
|
codec: cs4270@48 {
|
|
compatible = "cirrus,cs4270";
|
|
reg = <0x48>;
|
|
};
|