From b77993bb67450d225d46b1ea7c9d8478e9b9df72 Mon Sep 17 00:00:00 2001 From: Asha Talambedu Date: Mon, 7 Sep 2020 12:24:32 +0530 Subject: [PATCH] common: overlay: Add fe-pi Line In/Out support - FE-PI Audio V1 and Z V2 have Line In and Line Out jacks. On V1, Line In and Line out are realised with the help of 2 RCA jacks for Input and 2 RCA jacks for output. on Z V2, they are realised with 3.5mm stereo jacks Added relevant DAPM widgets to support audio on these jacks Bug 2827043 Change-Id: If346f0748ea5208db08fd36bff427d1ce78e2510 Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2371097 (cherry picked from commit 6a1f8e33a424b7afc84d2479672724fada606778) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/platform/tegra/common/+/2409602 Tested-by: Asha Talambedu Tested-by: mobile promotions Reviewed-by: Asha Talambedu Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Viswanath L Reviewed-by: Bharat Nihalani Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit --- overlay/jetson-fe-pi-audio.dtsi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/overlay/jetson-fe-pi-audio.dtsi b/overlay/jetson-fe-pi-audio.dtsi index 18ab210..ad26692 100644 --- a/overlay/jetson-fe-pi-audio.dtsi +++ b/overlay/jetson-fe-pi-audio.dtsi @@ -64,12 +64,16 @@ __overlay__ { nvidia-audio-card,widgets = "Headphone", "H40-SGTL Headphone", - "Microphone", "H40-SGTL Mic"; + "Microphone", "H40-SGTL Mic", + "Line", "H40-SGTL Line In", + "Line", "H40-SGTL Line Out"; nvidia-audio-card,routing = "H40-SGTL Headphone", "H40-SGTL HP_OUT", "H40-SGTL MIC_IN", "H40-SGTL Mic", - "H40-SGTL ADC", "H40-SGTL Mic Bias"; + "H40-SGTL ADC", "H40-SGTL Mic Bias", + "H40-SGTL LINE_IN", "H40-SGTL Line In", + "H40-SGTL Line Out", "H40-SGTL LINE_OUT"; }; };