Patch "arm64: dts: qcom: acer-aspire1: Correct audio codec definition" has been added to the 6.7-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    arm64: dts: qcom: acer-aspire1: Correct audio codec definition

to the 6.7-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm64-dts-qcom-acer-aspire1-correct-audio-codec-defi.patch
and it can be found in the queue-6.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit a8eb37975638c0758b8853a4659b3a3121c56886
Author: Nikita Travkin <nikita@xxxxxxx>
Date:   Tue Dec 5 16:48:11 2023 +0500

    arm64: dts: qcom: acer-aspire1: Correct audio codec definition
    
    [ Upstream commit feec9f0add432a867f23e29afcd2f7088889b8e2 ]
    
    When initially added, a mistake was made in the definition of the codec.
    
    Despite the fact that the DMIC line is connected on the side of the
    codec chip, and relevant passive components, including 0-ohm resistors
    connecting the dmics, are present, the dmic line is still cut in
    another place on the board, which was overlooked.
    
    Correct this by replacing the dmic configuration with a comment
    describing this hardware detail.
    
    While at it, also add missing regulators definitions. This is not a
    functional change as all the relevant regulators were already added via
    the other rail supplies.
    
    Fixes: 4a9f8f8f2ada ("arm64: dts: qcom: Add Acer Aspire 1")
    Signed-off-by: Nikita Travkin <nikita@xxxxxxx>
    Link: https://lore.kernel.org/r/20231205-aspire1-sound-v2-2-443b7ac0a06f@xxxxxxx
    Signed-off-by: Bjorn Andersson <andersson@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts b/arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts
index dbb48934d499..3342cb048038 100644
--- a/arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts
+++ b/arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts
@@ -209,9 +209,22 @@ alc5682: codec@1a {
 		AVDD-supply = <&vreg_l15a_1p8>;
 		MICVDD-supply = <&reg_codec_3p3>;
 		VBAT-supply = <&reg_codec_3p3>;
+		DBVDD-supply = <&vreg_l15a_1p8>;
+		LDO1-IN-supply = <&vreg_l15a_1p8>;
+
+		/*
+		 * NOTE: The board has a path from this codec to the
+		 * DMIC microphones in the lid, however some of the option
+		 * resistors are absent and the microphones are connected
+		 * to the SoC instead.
+		 *
+		 * If the resistors were to be changed by the user to
+		 * connect the codec, the following could be used:
+		 *
+		 * realtek,dmic1-data-pin = <1>;
+		 * realtek,dmic1-clk-pin = <1>;
+		 */
 
-		realtek,dmic1-data-pin = <1>;
-		realtek,dmic1-clk-pin = <1>;
 		realtek,jd-src = <1>;
 	};
 };




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux