From nobody Tue Feb 10 04:16:42 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 45D0828D8F1; Wed, 8 Oct 2025 14:05:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759932331; cv=none; b=Uw+iX54U4ctPNXHB9fgsDEaYeenumN8FUcbLUSFhiUhRvj9XOeNoM7/72DuAdQguV4zAKUrDEJOV/4DDkMdZrl2BDAYqt0dll+caeDqKnnh/tYtbAvw72rRsms837BjdpZop8EGueb2O6FN6dyH8OoXybIyVchsjnprbUB7idEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759932331; c=relaxed/simple; bh=fAswzPV9nMqsv7sYEBsIdB1TES3apuonI/p0V1BpQPw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=lH3Y0pGKdUx8ZkSjDILBLgECkqoKB7NorXuDxV1qIhWMOhD8GX8oQJBjMn3okPbRK7s0yFlImoYTaUAmjAhBmkpmIhntdu1Mdh9vPoGR0gib7JZ0FiHUMA0lhjdKDDOpHIwm9tRK/D0vvI3dUjp5ptd706QNFQWLsM7IfbsSA3M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e407VxQ0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e407VxQ0" Received: by smtp.kernel.org (Postfix) with ESMTPS id B3D90C4CEF4; Wed, 8 Oct 2025 14:05:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1759932330; bh=fAswzPV9nMqsv7sYEBsIdB1TES3apuonI/p0V1BpQPw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=e407VxQ0oaLWTQenTBVvoskctGhibB8j/T7lwWStZo24tU/7Rs21olM4ZTsO9Xrfc i7XxEqGG3bsPHVk6jW9f3rcQUBek6GBvYkKiLQWuaISOHvWhNpWbZHqgPap3CJLrlJ pCkaUX+IWTEtnT//FzCuS4iPNUefx+gQ5miLeFkuEm7kHroTReP+YXNRYeVsT/DkR5 PRq00bQPKPz5G5E6ZmC4vDmhaKRojAtSQpuq5W+WXwzVSnOiB41S97OEM7d1QFsz58 14/tHdI/MNlQqDwX+Ywnd6A++U697bXo1Q/MDEayo5aBecE1pJNzXv3ZIfkWSPqM7y UvLVFu446TMRA== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AAC5CCCD183; Wed, 8 Oct 2025 14:05:30 +0000 (UTC) From: David Heidelberg via B4 Relay Date: Wed, 08 Oct 2025 16:05:29 +0200 Subject: [PATCH v2 2/7] arm64: dts: qcom: sdm845-oneplus: Describe panel vci and poc supplies Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251008-s6e3fc2x01-v2-2-21eca1d5c289@ixit.cz> References: <20251008-s6e3fc2x01-v2-0-21eca1d5c289@ixit.cz> In-Reply-To: <20251008-s6e3fc2x01-v2-0-21eca1d5c289@ixit.cz> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thierry Reding , Sam Ravnborg , Bjorn Andersson , Konrad Dybcio , Casey Connolly Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, phone-devel@vger.kernel.org, David Heidelberg X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=2735; i=david@ixit.cz; h=from:subject:message-id; bh=wyoU9d3slp1a80oxXbHjL+liib53t7o67lGGsu4UofI=; b=owEBbQKS/ZANAwAIAWACP8TTSSByAcsmYgBo5m+o/N70RMmKbpya5C49r3Zhi+XRA9f3ThwXQ xw4DfoQ1XOJAjMEAAEIAB0WIQTXegnP7twrvVOnBHRgAj/E00kgcgUCaOZvqAAKCRBgAj/E00kg cm4oD/9veQ1Fva2ST9eui0bvKdUa3yIQjbTIlupsMfsYRwVRJiy+AMQVlXeTmb5s5Clc4Kqw2VR mhZ8TFW9bwbX69RbbC5QiSloR8cb/NEULUatLEmL3+OT0bFBCy4LRxKRRarJFuAxTDEYvadOKsk /Xl/mFNx8L6gBiuMiRhSq15eHnG0F9Ava5jbv2DEKBPDdVQcrspodv0bMOqOhLmWhWcmutF4J/9 Tm4yPSodpBAEorQO48ZAR+MYnn0YuQrCyNBFW73QGGEip7A32TZeo6+UgUSCssMUT1O6hIE6cMe EzJKUwG/4+ujeglV+1f8ntdJU9KTu/GJS8HnTUHzArGJlz/Dy9+RqGDTOBNElrYZ+Oh3apJpcyC dxOna3pBwP/f0I+kcox1DnL3m1Zy+cUYAUtJL0/cNbiWPGz1YwOx78f2ZUGfju5ZYqPhpm5wnzU QFV9uHjEf7eTADmViz+jbRuHR9gifNqVsn5L7kRw0SbzPnhYz67WRBMuW/7QsTPoj/EBtsW/8l2 Cd43rbRGc85bvz150fB1xY0h9NTugM7CN3B++69JDhHnyik7N9dvFXbxmTxbKQSGmIDSykqlwTz 7ud14j7J+zw36PYfBQsy6WhAYgIEVtoTqoGbn6mLc3C+wC1ARfX2CLJy00mm4mG0PYIQjA7q44p cOGmjhf1xYDpJ3A== X-Developer-Key: i=david@ixit.cz; a=openpgp; fpr=D77A09CFEEDC2BBD53A7047460023FC4D3492072 X-Endpoint-Received: by B4 Relay for david@ixit.cz/default with auth_id=355 X-Original-From: David Heidelberg Reply-To: david@ixit.cz From: Casey Connolly There are two additional supplies used by the panel, both are GPIO controlled and are left enabled by the bootloader for continuous splash. Previously these were (incorrectly) modelled as pinctrl. Describe them properly so that the panel can control them. Fixes: 288ef8a42612 ("arm64: dts: sdm845: add oneplus6/6t devices") Signed-off-by: Casey Connolly Co-developed-by: David Heidelberg Signed-off-by: David Heidelberg --- .../arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi | 46 ++++++++++++++++++= +++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm= 64/boot/dts/qcom/sdm845-oneplus-common.dtsi index dcfffb271fcf3..1cf03047dd7ae 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -162,6 +162,34 @@ ts_1p8_supply: ts-1p8-regulator { enable-active-high; regulator-boot-on; }; + + panel_vci_3v3: panel-vci-3v3-regulator { + compatible =3D "regulator-fixed"; + regulator-name =3D "LCD_VCI_3V"; + + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + + gpio =3D <&tlmm 26 GPIO_ACTIVE_HIGH>; + enable-active-high; + pinctrl-0 =3D <&panel_vci_default>; + pinctrl-names =3D "default"; + regulator-boot-on; + }; + + panel_vddi_poc_1p8: panel-vddi-poc-regulator { + compatible =3D "regulator-fixed"; + regulator-name =3D "VDDI_POC"; + + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + + gpio =3D <&tlmm 25 GPIO_ACTIVE_HIGH>; + enable-active-high; + pinctrl-0 =3D <&panel_poc_default>; + pinctrl-names =3D "default"; + regulator-boot-on; + }; }; =20 &adsp_pas { @@ -429,6 +457,8 @@ display_panel: panel@0 { reg =3D <0>; =20 vddio-supply =3D <&vreg_l14a_1p88>; + vci-supply =3D <&panel_vci_3v3>; + poc-supply =3D <&panel_vddi_poc_1p8>; =20 reset-gpios =3D <&tlmm 6 GPIO_ACTIVE_LOW>; =20 @@ -803,6 +833,20 @@ hall_sensor_default: hall-sensor-default-state { bias-disable; }; =20 + panel_vci_default: vci-state { + pins =3D "gpio26"; + function =3D "gpio"; + drive-strength =3D <8>; + bias-disable; + }; + + panel_poc_default: poc-state { + pins =3D "gpio25"; + function =3D "gpio"; + drive-strength =3D <8>; + bias-disable; + }; + tri_state_key_default: tri-state-key-default-state { pins =3D "gpio40", "gpio42", "gpio26"; function =3D "gpio"; @@ -818,7 +862,7 @@ ts_default_pins: ts-int-state { }; =20 panel_reset_pins: panel-reset-state { - pins =3D "gpio6", "gpio25", "gpio26"; + pins =3D "gpio6"; function =3D "gpio"; drive-strength =3D <8>; bias-disable; --=20 2.51.0