From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f66.google.com (mail-ej1-f66.google.com [209.85.218.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A316D378D8F for ; Thu, 29 Jan 2026 08:32:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.66 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769675577; cv=none; b=G5IATzpv1YakFHzko4E/DhY+jT9QUeyNOd+4bIM8WngIt8nDKyWRTOHxcpBcRaMCT0crDFOsy8D7Mo9Hlr8w6i3BfWop279Ic+P/Szl86hd1jXg8upVhVCRN8J+NSejimy0Hf/mWdnYxsa7OAwRs/Ol6C8PPUE+0izMJ88TnHyU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769675577; c=relaxed/simple; bh=f1GxHtLA5dSfXy2NJ+XkS6cb4bnCDot1iUR59DpR9nI=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=HrD/IqnFP6GVCBn1+Qt6ye4ZrEQ1tx2uOO2Gfhs2J7rq3hfWw2V/f+Uc+4t6W9DXVWqfjvMOFXGDq3bJJORUeP5rLmyJ3N5V4tBTTY1hlrbl7Eg81wxbY+W3Et9gWDhVdO2Cue24o8UiGrg1FakeEM29d/zn2YkgiNyFKeGIUm8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fairphone.com; spf=pass smtp.mailfrom=fairphone.com; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b=nibbBz65; arc=none smtp.client-ip=209.85.218.66 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=fairphone.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=fairphone.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=fairphone.com header.i=@fairphone.com header.b="nibbBz65" Received: by mail-ej1-f66.google.com with SMTP id a640c23a62f3a-b884a84e622so104370066b.1 for ; Thu, 29 Jan 2026 00:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1769675570; x=1770280370; darn=vger.kernel.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XaxUdD0qwQbZkk4erIr/YJtf7yeY/WCaddsKbD6XYuw=; b=nibbBz656o83NmT6mrloXtlpnlyhz3DhmOQ8fConLPwk8TOVQukpZaFQaQU3JJZg2/ UKkHK7gwneRZzHFW3P99sFMCngSpJEV7SbiePeMN4fwfGgrTlHggmni6DKUS2eGLdVF5 KpDxwwgb8n9OuhEWwQ3KllJUX33AwiC90xms756MwU5ul+9o90R+wxHQP6D7CW+dvvDV 9M6rliQV5lIbBakyN2pqk1yI/E7mfJ6cqGgANiJS+WuNxGwAo9aMpTe36l5lyzdgTnuF iKlOcSSEfpw5DNfVrssJo3sS/td1Xa3tRJjvtlmXVwdtVKTB7IqSjCljZP8V8E8aWKOz k73g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769675570; x=1770280370; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=XaxUdD0qwQbZkk4erIr/YJtf7yeY/WCaddsKbD6XYuw=; b=WVvKcP7NeTXXp4gOW3w2UeD+RX52gtrNK8oQNamYFZWxoBO1qFKgIagw/S/Wo/btq9 5n5+IvwQ21O+Y6FbBGB0g4c12oY5XWymVRVOY4S+Fo/rx8YipvgmM73Gc59P1RGBE45u t2HCby+LGwWzABIAQ9WKefuwk1fNpLu6Fi90oHGReGj7YHtZUyjkAmfYTKS2b1GGEPq+ Gs9Ldoch4ZlqFPOsy+QhOu7ZDg9x78NASTdAPgtyZumozc/zD6iE/R3wlnhZVNj5lG9c jKTey+ZQnURbZHmlC/QZtewNS7OcZQF/rnUMSTPHEoCpO3uYTAUdQ3exc6N0Mw97sld5 pFEQ== X-Forwarded-Encrypted: i=1; AJvYcCX17/muqOOvuUYhAH6kKeMmuUoXTp6XgR2k8jlk6Ym1JfSdfUCbWiKzRnCj1Ri7rZtezsF87zXzsYq3@vger.kernel.org X-Gm-Message-State: AOJu0YwBikqhUpD+PoUbWAUQlnxthl6I7V8DAlgKgZjpaLR1EtLA2tJH Qn7qJNJAZkS7UkE8yapeBR4DQbzg0e58cHX4+PzgsF59JOhl9zwsRGZgC09Qrfa7VkM= X-Gm-Gg: AZuq6aIennxSBwZHYz19m129xHs8vAg1ddKeZqD80dYavp+kwOcmV+39DqFV2PH9mtD GERkFu/PnCMJnefATMAkSDDkxc/BDCdpP3w/4XxxI8VsnIO0fGgl5U2RVh02E83LJIecLytO6PI NN7vEx4Es7e/bNjovnqOqBGtrOooU98yiTDDtyIgq72Ky0Ol1/eApeGL8/atzaC/1YSe41MiFdU yY0MbT5SqAlqsTnfm3fkwh8AQp/PRd3kRuVdq4r3CDTRMeM3E/99SirhCeqcI6USVIESAbJ31Go S6aIAxcrTKh05fbtOcHkt4QI++NqJHXOIDP/ofK4bsGa0OqX4P4B2WULZvLItPVmCIcI/aovV7m bvQPkyn+/T1UsoqgNirlLhzHfL5JqiivaKGIX0XX69LoH9tzLK9yfsuR6SE4P4C0nAWkatTLJFB ySpGEFxfn8LgQOroov4Rpiy6wV2EnofEM2LjPMC221wtJ6qjFtMDNqKOKP X-Received: by 2002:a17:906:c10d:b0:b84:2fe8:b5d8 with SMTP id a640c23a62f3a-b8dab2d6bb6mr578618466b.14.1769675569833; Thu, 29 Jan 2026 00:32:49 -0800 (PST) Received: from localhost (144-178-202-139.static.ef-service.nl. [144.178.202.139]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8dbf183cbesm224977466b.38.2026.01.29.00.32.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Jan 2026 00:32:49 -0800 (PST) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 29 Jan 2026 09:32:49 +0100 Message-Id: Cc: "Bjorn Andersson" , "Linus Walleij" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Konrad Dybcio" , <~postmarketos/upstreaming@lists.sr.ht>, , , , , Subject: Re: [PATCH 4/5] arm64: dts: qcom: sm6350: add LPASS LPI pin controller From: "Luca Weiss" To: "Dmitry Baryshkov" , "Luca Weiss" X-Mailer: aerc 0.21.0-0-g5549850facc2 References: <20260128-sm6350-lpi-tlmm-v1-0-36583f2a2a2a@fairphone.com> <20260128-sm6350-lpi-tlmm-v1-4-36583f2a2a2a@fairphone.com> In-Reply-To: On Wed Jan 28, 2026 at 11:16 PM CET, Dmitry Baryshkov wrote: > On Wed, Jan 28, 2026 at 01:26:52PM +0100, Luca Weiss wrote: >> Add LPASS LPI pinctrl node required for audio functionality on SM6350. >>=20 >> Signed-off-by: Luca Weiss >> --- >> arch/arm64/boot/dts/qcom/sm6350.dtsi | 66 +++++++++++++++++++++++++++++= +++++++ >> 1 file changed, 66 insertions(+) >>=20 >> diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/= qcom/sm6350.dtsi >> index 9f9b9f9af0da..b1fb6c812da7 100644 >> --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi >> +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi >> @@ -1448,6 +1448,72 @@ compute-cb@5 { >> }; >> }; >> =20 >> + lpass_tlmm: pinctrl@33c0000 { >> + compatible =3D "qcom,sm6350-lpass-lpi-pinctrl"; >> + reg =3D <0x0 0x033c0000 0x0 0x20000>, >> + <0x0 0x03550000 0x0 0x10000>; >> + gpio-controller; >> + #gpio-cells =3D <2>; >> + gpio-ranges =3D <&lpass_tlmm 0 0 15>; >> + >> + clocks =3D <&q6afecc LPASS_HW_MACRO_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_= NO>, >> + <&q6afecc LPASS_HW_DCODEC_VOTE LPASS_CLK_ATTRIBUTE_COUPLE_NO>; >> + clock-names =3D "core", >> + "audio"; >> + >> + i2s1_active: i2s1-active-state { >> + clk-pins { >> + pins =3D "gpio6"; >> + function =3D "i2s1_clk"; >> + drive-strength =3D <8>; >> + bias-disable; >> + output-high; > > This looks suspicious for the clock pin. > >> + }; >> + >> + ws-pins { >> + pins =3D "gpio7"; >> + function =3D "i2s1_ws"; >> + drive-strength =3D <8>; >> + bias-disable; >> + output-high; > > The same > >> + }; >> + >> + data-pins { >> + pins =3D "gpio8", "gpio9"; >> + function =3D "i2s1_data"; >> + drive-strength =3D <8>; >> + bias-disable; >> + output-high; > > And here. I've taken this pinctrl from downstream lagoon-lpi.dtsi. There the active config for these pins have "output-high;" set. And fwiw this pinctrl works fine at runtime for driving the speaker. Regards Luca > >> + }; >> + }; >> + >> + i2s1_sleep: i2s1-sleep-state { >> + clk-pins { >> + pins =3D "gpio6"; >> + function =3D "i2s1_clk"; >> + drive-strength =3D <2>; >> + bias-pull-down; >> + input-enable; >> + }; >> + >> + ws-pins { >> + pins =3D "gpio7"; >> + function =3D "i2s1_ws"; >> + drive-strength =3D <2>; >> + bias-pull-down; >> + input-enable; >> + }; >> + >> + data-pins { >> + pins =3D "gpio8", "gpio9"; >> + function =3D "i2s1_data"; >> + drive-strength =3D <2>; >> + bias-pull-down; >> + input-enable; >> + }; >> + }; >> + }; >> + >> gpu: gpu@3d00000 { >> compatible =3D "qcom,adreno-619.0", "qcom,adreno"; >> reg =3D <0x0 0x03d00000 0x0 0x40000>, >>=20 >> --=20 >> 2.52.0 >>=20