2014-09-17 20:14:20 +00:00
|
|
|
RT5677 audio CODEC
|
|
|
|
|
|
|
|
This device supports I2C only.
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
|
|
|
|
- compatible : "realtek,rt5677".
|
|
|
|
|
|
|
|
- reg : The I2C address of the device.
|
|
|
|
|
|
|
|
- interrupts : The CODEC's interrupt output.
|
|
|
|
|
2014-09-24 18:31:58 +00:00
|
|
|
- gpio-controller : Indicates this device is a GPIO controller.
|
|
|
|
|
|
|
|
- #gpio-cells : Should be two. The first cell is the pin number and the
|
|
|
|
second cell is used to specify optional parameters (currently unused).
|
|
|
|
|
2014-09-17 20:14:20 +00:00
|
|
|
Optional properties:
|
|
|
|
|
|
|
|
- realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin.
|
|
|
|
|
|
|
|
Pins on the device (for linking into audio routes):
|
|
|
|
|
|
|
|
* IN1P
|
|
|
|
* IN1N
|
|
|
|
* IN2P
|
|
|
|
* IN2N
|
|
|
|
* MICBIAS1
|
|
|
|
* DMIC1
|
|
|
|
* DMIC2
|
|
|
|
* DMIC3
|
|
|
|
* DMIC4
|
|
|
|
* LOUT1
|
|
|
|
* LOUT2
|
|
|
|
* LOUT3
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
rt5677 {
|
|
|
|
compatible = "realtek,rt5677";
|
|
|
|
reg = <0x2c>;
|
|
|
|
interrupt-parent = <&gpio>;
|
|
|
|
interrupts = <TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>;
|
2014-09-24 18:31:58 +00:00
|
|
|
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
|
2014-09-17 20:14:20 +00:00
|
|
|
realtek,pow-ldo2-gpio =
|
|
|
|
<&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|