Skip to content

Commit

Permalink
Merge remote-tracking branches 'asoc/topic/tlv320aic31xx', 'asoc/topi…
Browse files Browse the repository at this point in the history
…c/tlv320aic32x4', 'asoc/topic/tlv320aic3x', 'asoc/topic/tlv320dac33' and 'asoc/topic/ts3a227e' into asoc-next
  • Loading branch information
Mark Brown committed Jan 12, 2018
6 parents ced9541 + 0ce918c + 9245f64 + 025f844 + c4305af + af0f6c5 commit d7502f7
Show file tree
Hide file tree
Showing 10 changed files with 617 additions and 603 deletions.
9 changes: 8 additions & 1 deletion Documentation/devicetree/bindings/sound/tlv320aic31xx.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,18 @@ Required properties:

Optional properties:

- gpio-reset - gpio pin number used for codec reset
- reset-gpios - GPIO specification for the active low RESET input.
- ai31xx-micbias-vg - MicBias Voltage setting
1 or MICBIAS_2_0V - MICBIAS output is powered to 2.0V
2 or MICBIAS_2_5V - MICBIAS output is powered to 2.5V
3 or MICBIAS_AVDD - MICBIAS output is connected to AVDD
If this node is not mentioned or if the value is unknown, then
micbias is set to 2.0V.

Deprecated properties:

- gpio-reset - gpio pin number used for codec reset

CODEC output pins:
* HPL
* HPR
Expand All @@ -48,6 +52,7 @@ CODEC input pins:
The pins can be used in referring sound node's audio-routing property.

Example:
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/sound/tlv320aic31xx-micbias.h>

tlv320aic31xx: tlv320aic31xx@18 {
Expand All @@ -56,6 +61,8 @@ tlv320aic31xx: tlv320aic31xx@18 {

ai31xx-micbias-vg = <MICBIAS_OFF>;

reset-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;

HPVDD-supply = <&regulator>;
SPRVDD-supply = <&regulator>;
SPLVDD-supply = <&regulator>;
Expand Down
10 changes: 9 additions & 1 deletion Documentation/devicetree/bindings/sound/tlv320aic3x.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Required properties:

Optional properties:

- gpio-reset - gpio pin number used for codec reset
- reset-gpios - GPIO specification for the active low RESET input.
- ai3x-gpio-func - <array of 2 int> - AIC3X_GPIO1 & AIC3X_GPIO2 Functionality
- Not supported on tlv320aic3104
- ai3x-micbias-vg - MicBias Voltage required.
Expand All @@ -34,6 +34,10 @@ Optional properties:
- AVDD-supply, IOVDD-supply, DRVDD-supply, DVDD-supply : power supplies for the
device as covered in Documentation/devicetree/bindings/regulator/regulator.txt

Deprecated properties:

- gpio-reset - gpio pin number used for codec reset

CODEC output pins:
* LLOUT
* RLOUT
Expand Down Expand Up @@ -61,10 +65,14 @@ The pins can be used in referring sound node's audio-routing property.

Example:

#include <dt-bindings/gpio/gpio.h>

tlv320aic3x: tlv320aic3x@1b {
compatible = "ti,tlv320aic3x";
reg = <0x1b>;

reset-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;

AVDD-supply = <&regulator>;
IOVDD-supply = <&regulator>;
DRVDD-supply = <&regulator>;
Expand Down
4 changes: 2 additions & 2 deletions sound/soc/codecs/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -939,12 +939,12 @@ config SND_SOC_TLV320AIC32X4
tristate

config SND_SOC_TLV320AIC32X4_I2C
tristate
tristate "Texas Instruments TLV320AIC32x4 audio CODECs - I2C"
depends on I2C
select SND_SOC_TLV320AIC32X4

config SND_SOC_TLV320AIC32X4_SPI
tristate
tristate "Texas Instruments TLV320AIC32x4 audio CODECs - SPI"
depends on SPI_MASTER
select SND_SOC_TLV320AIC32X4

Expand Down
Loading

0 comments on commit d7502f7

Please sign in to comment.