-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branches 'asoc/topic/rt5645', 'asoc/topic/rt567…
…7', 'asoc/topic/samsung', 'asoc/topic/sgtl5000' and 'asoc/topic/sh' into asoc-next
- Loading branch information
Showing
12 changed files
with
339 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
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. | ||
|
||
- 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). | ||
|
||
Optional properties: | ||
|
||
- realtek,pow-ldo2-gpio : The GPIO that controls the CODEC's POW_LDO2 pin. | ||
|
||
- realtek,in1-differential | ||
- realtek,in2-differential | ||
- realtek,lout1-differential | ||
- realtek,lout2-differential | ||
- realtek,lout3-differential | ||
Boolean. Indicate MIC1/2 input and LOUT1/2/3 outputs are differential, | ||
rather than single-ended. | ||
|
||
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>; | ||
|
||
gpio-controller; | ||
#gpio-cells = <2>; | ||
|
||
realtek,pow-ldo2-gpio = | ||
<&gpio TEGRA_GPIO(V, 3) GPIO_ACTIVE_HIGH>; | ||
realtek,in1-differential = "true"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.