From nobody Fri Jun 26 16:02:27 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 003A7C4332F for ; Tue, 22 Feb 2022 01:48:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238689AbiBVBsh (ORCPT ); Mon, 21 Feb 2022 20:48:37 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:36758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238663AbiBVBsg (ORCPT ); Mon, 21 Feb 2022 20:48:36 -0500 Received: from relay06.th.seeweb.it (relay06.th.seeweb.it [IPv6:2001:4b7a:2000:18::167]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 45EAF25586; Mon, 21 Feb 2022 17:48:12 -0800 (PST) Received: from localhost.localdomain (abxh33.neoplus.adsl.tpnet.pl [83.9.1.33]) by m-r2.th.seeweb.it (Postfix) with ESMTPA id 31C5E3F424; Tue, 22 Feb 2022 02:48:10 +0100 (CET) From: Konrad Dybcio To: ~postmarketos/upstreaming@lists.sr.ht Cc: martin.botka@somainline.org, angelogioacchino.delregno@somainline.org, marijn.suijten@somainline.org, jamipkettunen@somainline.org, Konrad Dybcio , Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: sm8250-edo: Add dual CS35L41 amps Date: Tue, 22 Feb 2022 02:48:05 +0100 Message-Id: <20220222014806.22446-1-konrad.dybcio@somainline.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add nodes for dual Cirrus Logic CS35L41 audio amps connected via I2C. Signed-off-by: Konrad Dybcio --- .../boot/dts/qcom/sm8250-sony-xperia-edo.dtsi | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi b/arch/ar= m64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi index 82d9d09a3d09..96eab8ccf222 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250-sony-xperia-edo.dtsi @@ -470,7 +470,35 @@ &i2c2 { status =3D "okay"; clock-frequency =3D <1000000>; =20 - /* Dual Cirrus Logic CS35L41 amps @ 40, 41 */ + cs35l41_l: cs35l41@40 { + compatible =3D "cirrus,cs35l41"; + reg =3D <0x40>; + interrupt-parent =3D <&tlmm>; + interrupts =3D <11 IRQ_TYPE_LEVEL_LOW>; + reset-gpios =3D <&tlmm 10 GPIO_ACTIVE_HIGH>; + cirrus,boost-peak-milliamp =3D <4000>; + cirrus,boost-ind-nanohenry =3D <1000>; + cirrus,boost-cap-microfarad =3D <15>; + cirrus,asp-sdout-hiz =3D <3>; + cirrus,gpio2-src-select =3D <2>; + cirrus,gpio2-output-enable; + #sound-dai-cells =3D <1>; + }; + + cs35l41_r: cs35l41@41 { + compatible =3D "cirrus,cs35l41"; + reg =3D <0x41>; + interrupt-parent =3D <&tlmm>; + interrupts =3D <11 IRQ_TYPE_LEVEL_LOW>; + reset-gpios =3D <&tlmm 10 GPIO_ACTIVE_HIGH>; + cirrus,boost-peak-milliamp =3D <4000>; + cirrus,boost-ind-nanohenry =3D <1000>; + cirrus,boost-cap-microfarad =3D <15>; + cirrus,asp-sdout-hiz =3D <3>; + cirrus,gpio2-src-select =3D <2>; + cirrus,gpio2-output-enable; + #sound-dai-cells =3D <1>; + }; }; =20 &i2c5 { --=20 2.35.1