From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D424D606A31C for ; Thu, 26 Nov 2026 13:46:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=SclfHFcH Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 051B1112420; Thu, 26 Nov 2026 13:46:37 +0000 (UTC) Received: from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id C3EE311241D for ; Thu, 26 Nov 2026 13:46:26 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id AB6F6462B0; Thu, 26 Nov 2026 13:46:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92B741F000C0; Thu, 26 Nov 2026 13:46:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795700786; bh=hyA/riIo5Dv1kgHEaVEVBBe3mVUlw+lvFWP4IpryqBc=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SclfHFcHry8wg60OLVtC5midh1mJqR5vBxg/2+Q9fOZZ8cDMELJUJWTp8YO5z2xhr XaXAUf8oxJSLA0/Iape1uacd1uQVecwPAPwgGIfDVkVHEToPkG8IeiZw306BPmDw4t XVRtJMpHwWl73nxhAgjRb4X4Gnb5YPsOEmNr4qDsV4tHSa2gIsnXkEsVzhTXmMMzCT R91N1SqR/Zi/MemimbREwOMPDOzjT/fFCi+fqGqNqFGZHWDvezpd8IOnuN287Plx/X FPRuYuvDTyU/nUQhELG3LsUWz1djxeZBy6SOIKkcvLepdWbxofilRDS76HVf/mVelL rq2P2tf+D59sA== From: Vladimir Zapolskiy To: Neil Armstrong , Jessica Zhang , Ritesh Kumar , Rob Herring , Krzysztof Kozlowski , Bjorn Andersson , Konrad Dybcio Cc: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , dri-devel@lists.freedesktop.org, Conor Dooley , devicetree@vger.kernel.org, Abel Vesa , linux-arm-msm@vger.kernel.org, Konrad Dybcio Subject: [PATCH v2 10/10] arm64: dts: qcom: qcm6490-idp: Describe the panel bias enable GPIO Date: Thu, 26 Nov 2026 15:45:08 +0200 Message-ID: <20261126134508.320700-11-vz@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20261126134508.320700-1-vz@kernel.org> References: <20261126134508.320700-1-vz@kernel.org> X-Archived-By: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "dri-devel" X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 The positive and negative bias supplies of the NT36672E panel on the QCM6490 IDP board are switched on by the PM7250B GPIO2 bias enable signal, which is described as a single fixed regulator supplying both AVDD and AVEE bias supplies of the panel. The fixed regulator does not describe the hardware, it can not supply a positive and a negative voltage at the same time, and apparently bias supplies are generated right on the display panel module. Since the panel binding supports the bias enable GPIO, describe the signal as such, and remove the oddly described and used fixed regulator. Acked-by: Konrad Dybcio Signed-off-by: Vladimir Zapolskiy --- arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts index ca5c868be495..644fa8f68342 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts @@ -50,17 +50,6 @@ chosen { stdout-path = "serial0:115200n8"; }; - lcd_disp_bias: regulator-lcd-disp-bias { - compatible = "regulator-fixed"; - regulator-name = "lcd_disp_bias"; - regulator-min-microvolt = <5500000>; - regulator-max-microvolt = <5500000>; - gpio = <&pm7250b_gpios 2 GPIO_ACTIVE_HIGH>; - enable-active-high; - pinctrl-0 = <&lcd_disp_bias_en>; - pinctrl-names = "default"; - }; - gpio-keys { compatible = "gpio-keys"; @@ -652,14 +641,16 @@ panel@0 { compatible = "novatek,nt36672e"; reg = <0>; + enable-gpios = <&pm7250b_gpios 2 GPIO_ACTIVE_HIGH>; reset-gpios = <&tlmm 44 GPIO_ACTIVE_LOW>; vddi-supply = <&vreg_l8c_1p62>; - avdd-supply = <&lcd_disp_bias>; - avee-supply = <&lcd_disp_bias>; backlight = <&pm8350c_pwm_backlight>; + pinctrl-0 = <&lcd_disp_bias_en>; + pinctrl-names = "default"; + port { panel0_in: endpoint { remote-endpoint = <&mdss_dsi0_out>; -- 2.51.0