Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp222255rdb; Tue, 5 Dec 2023 03:49:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFINBJlXbC8Q050T23j3H1VizhS9s4A50kVWiG8bLimrix/fWoJfg80cs8TJSVTSBIhkPeK X-Received: by 2002:a05:6a21:3386:b0:18f:97c:975e with SMTP id yy6-20020a056a21338600b0018f097c975emr7375359pzb.70.1701776981102; Tue, 05 Dec 2023 03:49:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701776981; cv=none; d=google.com; s=arc-20160816; b=J2yKJoTDomLVCJ+3VlA2bC7JYd0Zntld88ExsJNkJEmJPgjMuoNJd37Ft74SaSUNDc V5EXaa8a+rNMzhtq7kCfk7Ra5BfpljS8sNV8vz+rhAfawNluyC7b4xZ2QRyHReFTuP8y Jshp0jrbwwT+PoWcVDV+VlFJR9fabo+WR82H0DjBwXKGiK4HamRnr1+mN/unmbQTVuFI 4lRiFbkBcxluLa10P1V5T8KG88kQtkfT3uUB5WSDxPJs5z7LHGEDlbv/Ij4gYqInWjY4 Nvi2rP6WkMROexhy44yil07n2G/TJNDbEXAbl8U6IpODJt6kQv/1myhvfwo1t/xTgEud Ac0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=eHEvBgTWeVAROpbQI8GcKANx2LNrngD91+0TnhkR+WA=; fh=DWQ2Wn++nCPTn9t2adbobvcLGK04hHpyc6wXSNOnLbM=; b=EV39TRkyVeyx8GJd5fk5wJV87HVGmUz1+GtHhnX9aVPoRmVThEmU0BE8hf8g4wyrSh u2BjCKaMoh3RP3pDNLa+urCh+nHoDTZkb5D3S0z0bOr4ZeybSVqhSaDOdXN1t+j97kDn buDYBEfV6argiz8aiEFOjIvq9HYf2Jv6yJyWpJoLYkYdHcK0KeHPj2AQzLwCkrpdAlu9 PJ5E2FArXz2HK38OTOcCxs7wjgVwsYUMssEfFGt/2p+SISbKmfk4SXuSUEFNnCPvgD9L +8Lw4/xS8o6KK4gTreYyDz8VjSot7RWHeLu8+o4ZFVTAQxEw3nCG4MXpXrJTzTdXSc2u 2VPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=hva7JQy0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id ei2-20020a056a0080c200b006ce4050b6b6si4352074pfb.39.2023.12.05.03.49.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 03:49:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=hva7JQy0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 24DDD8052BCD; Tue, 5 Dec 2023 03:49:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442231AbjLELtO (ORCPT + 99 others); Tue, 5 Dec 2023 06:49:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347031AbjLELtG (ORCPT ); Tue, 5 Dec 2023 06:49:06 -0500 Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBCF8124; Tue, 5 Dec 2023 03:49:09 -0800 (PST) Received: from authenticated-user (box.trvn.ru [194.87.146.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.trvn.ru (Postfix) with ESMTPSA id BC35542C11; Tue, 5 Dec 2023 16:49:01 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1701776942; bh=klIZaoAZP1LXpjvWGp96cEtTX+I+CVrhwj9/P+dUqeA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=hva7JQy02IWM6x1OlNryEV6veaXoMT8XgOLWffAy9+PQLNuojkPKeiRwYpDyV+0bi kbEtIM1m4L+NaA+HJ8wd460dgl49I7s3L+fTAzSuIiBz39IPbnGuxqpqEwGvfqx9z6 uXup3xAJ8qFxAYtC6RVA+kUPjoQxB8K6++eErPat5oXgxdJ1ngtwkEJ0ug69Yu/7lO l6uxKxfMB9JHGzXndZab795LIqZss3tqOp5bu2cD0Zd9Jsc4urMMvm6+5zyXM0p8LC zjEmxD/SB6/gASR8U2zwAS3v6iERvlM9PjjMT1FekS1/dFjhoJZbPysM4fygjUSz9m h5WX8rV8uvG8A== From: Nikita Travkin Date: Tue, 05 Dec 2023 16:48:11 +0500 Subject: [PATCH v2 2/3] arm64: dts: qcom: acer-aspire1: Correct audio codec definition MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231205-aspire1-sound-v2-2-443b7ac0a06f@trvn.ru> References: <20231205-aspire1-sound-v2-0-443b7ac0a06f@trvn.ru> In-Reply-To: <20231205-aspire1-sound-v2-0-443b7ac0a06f@trvn.ru> To: cros-qcom-dts-watchers@chromium.org, Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Nikita Travkin X-Developer-Signature: v=1; a=openpgp-sha256; l=1892; i=nikita@trvn.ru; h=from:subject:message-id; bh=klIZaoAZP1LXpjvWGp96cEtTX+I+CVrhwj9/P+dUqeA=; b=owEBbQKS/ZANAwAIAUMc7O4oGb91AcsmYgBlbw4sQls74ZADWbGnuP5X240mfL7fqEM5jdghH D6lZXn8RmeJAjMEAAEIAB0WIQTAhK9UUj+qg34uxUdDHOzuKBm/dQUCZW8OLAAKCRBDHOzuKBm/ dTo5D/4wg325rlcmHi77aGiTItdoBWq3rGWMJHxqeCHgVffwfyFYoasSlattyZO/sxnZFi2a00O xZXNECENS7FZHSUnk/oqiPlhpoothzE/KnRegBOF1DLoJXHBfJdz46g13GrAxMDEt8q5249eanX cEwFxuTvGv1fknH7yR4N9lZ4HnnJV5AViQtLBMeEFPsgDgFGs67nHabNNvqO3lUCk40gmNjXO5g kmXYZjVuyIW37O5U8YrB8LCEyy54xOxoPcfsWkxQGttWSNhqdc5eyPv6YEiScqL7G4r2/Q6fwS0 D2XwdnVaJExpS5wftsVQVU3Ocv6us9kXNcTnnObdjIEVxkSj5+refPw5TCq+RSGwPpj84/hZ6CI /jDMKdtza0pkcQqT9o8/pOmn8pgUtUmcY8DZkQE/xupRERY7lO02cdse4SZ8MWnhDJtPmxlpCUw Z05Fab+8LK+nwrTU2wV/zm3tP/r/FD1w8RIPZN2YjkA+XljMCiGGPqY04ZQypJePhdoHJrWv6uu zD2FDod6mIogbjYeDuDfaD978eeJ2EQOL5bxOZTROTjbOTnRKpdUNUmFWPSx2rX8bqQJ98D9QnE OQZe97ekpClJ1I55ah490SI8t5rYwbi7bX5tWmislsKc1Zs1uFTmU/XMBYhVwDdsCDNGGa53Qmn 55pBHAMPf3dVI4A== X-Developer-Key: i=nikita@trvn.ru; a=openpgp; fpr=C084AF54523FAA837E2EC547431CECEE2819BF75 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 05 Dec 2023 03:49:37 -0800 (PST) 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 --- 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 = <®_codec_3p3>; VBAT-supply = <®_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>; }; }; -- 2.43.0