Re: [PATCH 2/3] arm64: dts: qcom: acer-aspire1: Correct audio codec definition

From: Konrad Dybcio
Date: Mon Oct 30 2023 - 17:48:11 EST


On 27.10.2023 16:42, Nikita Travkin wrote:
> 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>
> ---
> arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts | 17 +++++++++++++++--
> 1 file changed, 15 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts b/arch/arm64/boot/dts/qcom/sc7180-acer-aspire1.dts
> index cfde8cd47107..00b442696618 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.
Would that not also require more DT changes and maybe UCM?

Konrad