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

Commit 0406707c authored by jinjiawu's avatar jinjiawu Committed by Bharath
Browse files

Add Audio drivers for FP3 [2/4]

Enable config and add drivers for 'tas2557' codec.

Issue: FP3-A11#202
Change-Id: I9b9ea4f13ac2432fd3e2104438ff7362406a1428
(cherry picked from commit 55d13014376b9950ada458d4e16b26a6a28f67f9)
(cherry picked from commit bde46d69)
parent 233056c9
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -69,6 +69,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";
	};
};

&sdhc_1 {
+4 −0
Original line number Diff line number Diff line
@@ -685,3 +685,7 @@ CONFIG_CRYPTO_CRC32_ARM64=y
CONFIG_QMI_ENCDEC=y
CONFIG_ELAN_FINGERPRINT=y
CONFIG_SND_SMARTPA_AW8898=y
CONFIG_SND_SOC_TAS2557=y
CONFIG_TAS2557_REGMAP=y
CONFIG_TAS2557_CODEC=y
CONFIG_TAS2557_MISC=y
+4 −0
Original line number Diff line number Diff line
@@ -749,3 +749,7 @@ CONFIG_CRYPTO_CRC32_ARM64=y
CONFIG_QMI_ENCDEC=y
CONFIG_ELAN_FINGERPRINT=y
CONFIG_SND_SMARTPA_AW8898=y
CONFIG_SND_SOC_TAS2557=y
CONFIG_TAS2557_REGMAP=y
CONFIG_TAS2557_CODEC=y
CONFIG_TAS2557_MISC=y
+2 −0
Original line number Diff line number Diff line
@@ -1103,6 +1103,8 @@ config SND_SMARTPA_AW8898
	help
	  This option enables support for aw8898 series Smart PA.

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
@@ -449,3 +449,4 @@ obj-$(CONFIG_SND_SOC_AW8896) += snd-soc-aw8896.o
obj-$(CONFIG_SND_SOC_TFA98XX)	+= snd-soc-tfa98xx.o
#for AWINIC AW8898 Smart PA
obj-y += aw/aw8898.o
obj-$(CONFIG_SND_SOC_TAS2557)	+= tas2557/
Loading