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

Commit 97251fc7 authored by jinjiawu's avatar jinjiawu Committed by Rohit Sekhar
Browse files

dts,codecs: Import Fairphone changes for audio (tas2557) [2/4]

- Add drivers for 'tas2557' codec.

Issue: FP3-A11#202
Change-Id: I9b9ea4f13ac2432fd3e2104438ff7362406a1428
(cherry picked from commit 55d13014376b9950ada458d4e16b26a6a28f67f9)
(cherry picked from commit bde46d69)
parent 2ac359a6
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 {
+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/
+15 −0
Original line number Diff line number Diff line

menuconfig SND_SOC_TAS2557
    tristate "Texas Instruments TAS2557 SmartAmp(R)"

if SND_SOC_TAS2557
config TAS2557_REGMAP
    bool "Use of RegMap API"

config TAS2557_CODEC
    bool "Codec Driver support"

config TAS2557_MISC
    bool "Misc Driver support"

endif # SND_SOC_TAS2557
+2 −0
Original line number Diff line number Diff line
snd-soc-tas2557-objs := tas2557-core.o tas2557-regmap.o tas2557-codec.o tas2557-misc.o tiload.o
obj-$(CONFIG_SND_SOC_TAS2557) += snd-soc-tas2557.o
Loading