Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bde46d69 authored by jinjiawu's avatar jinjiawu Committed by jinjiawu(147990)
Browse files

Audio porting for smart amp TAS2557.

Root cause:
Audio porting for smart amp TAS2557.
How to fix:
N/A

Change-Id: I9b9ea4f13ac2432fd3e2104438ff7362406a1428
RiskArea:speaker
(cherry picked from commit 55d13014376b9950ada458d4e16b26a6a28f67f9)
parent 1239677d
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -72,6 +72,17 @@
	        status = "okay";
	    };
	    /* AWINIC AW8898 Smart PA End */

	    tas2557@4c {
		sound-dai-cells = <1>;
		compatible = "ti,tas2557";
		reg = <0x4c>;
		ti,cdc-reset-gpio = <&tlmm 21 0>;
		ti,irq-gpio = <&tlmm 20 0>;
		ti,i2s-bits = <16>;
		ti,bypass-tmax = <0>;
		status = "ok";
	    };
};
//[FairPhone][Audio][jinjia]=2018.11.21=smart amp porting. -e

+6 −0
Original line number Diff line number Diff line
@@ -696,4 +696,10 @@ CONFIG_ELAN_FINGERPRINT=y
#add aw8898 smartpa
CONFIG_SND_SMARTPA_AW8898=y
#[FairPhone][Audio][jinjia]=2018.11.21=smart amp porting. -e
#[FairPhone][Audio][jinjia]=2020.05.19=2nd smart amp porting. -s
CONFIG_SND_SOC_TAS2557=y
CONFIG_TAS2557_REGMAP=y
CONFIG_TAS2557_CODEC=y
CONFIG_TAS2557_MISC=y
#[FairPhone][Audio][jinjia]=2020.05.19=2nd smart amp porting. -e
+6 −0
Original line number Diff line number Diff line
@@ -760,4 +760,10 @@ CONFIG_ELAN_FINGERPRINT=y
#add aw8898 smartpa
CONFIG_SND_SMARTPA_AW8898=y
#[FairPhone][Audio][jinjia]=2018.11.21=smart amp porting. -e
#[FairPhone][Audio][jinjia]=2020.05.19=2nd smart amp porting. -s
CONFIG_SND_SOC_TAS2557=y
CONFIG_TAS2557_REGMAP=y
CONFIG_TAS2557_CODEC=y
CONFIG_TAS2557_MISC=y
#[FairPhone][Audio][jinjia]=2020.05.19=2nd smart amp porting. -e
+2 −0
Original line number Diff line number Diff line
@@ -1105,6 +1105,8 @@ config SND_SMARTPA_AW8898
		This option enables support for aw8898 series Smart PA.
#[FairPhone][Audio][jinjia]=2018.11.21=smart amp porting. -e

source "sound/soc/codecs/tas2557/Kconfig"

config SND_SOC_TFA98XX
	tristate "NXP Semiconductors TFA98XX amplifier"
	depends on I2C
+1 −0
Original line number Diff line number Diff line
@@ -451,3 +451,4 @@ obj-$(CONFIG_SND_SOC_TFA98XX) += snd-soc-tfa98xx.o
#for AWINIC AW8898 Smart PA
obj-y += aw/aw8898.o
#[FairPhone][Audio][jinjia]=2018.11.21=smart amp porting. -e
obj-$(CONFIG_SND_SOC_TAS2557) += tas2557/
Loading