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 92A9A606A326 for ; Thu, 26 Nov 2026 13:46:12 +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=kFsvWiHO Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B96CD10E9C5; Thu, 26 Nov 2026 13:46:06 +0000 (UTC) Received: from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254]) by gabe.freedesktop.org (Postfix) with ESMTPS id 56D4F10E992 for ; Thu, 26 Nov 2026 13:45:59 +0000 (UTC) Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by tor.source.kernel.org (Postfix) with ESMTP id B907763443; Thu, 26 Nov 2026 13:45:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2603A1F000C6; Thu, 26 Nov 2026 13:45:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795700757; bh=bsSwYdx+AuYuIkeKuhSejgl7Ua506v/UQfY/79+CdWA=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=kFsvWiHOmnkFaQ/1GS7udvV34DPX0momG05TVGoxABWJ0FH5aF+43PkeaAVkS7wGK Mu8K1xS8e22G05W1+kw8D+Vrc8p7FuD3gB1M/EsnpcGF+/QreQ4gMeRbaKnptiBgxF jq7EfPX5+JIWjveKujPTN6bAcWwnO4CPK/I2ugMFmpZthmzObJ8dU9Zxmzk/52dQzw z7p3dDejVEijhbHUXDWmjNvpum6sp8z3llFyKpsCMIl4Ojmset9uNmbUEpjFROXbeF xT/NNrjdNfJ6xtc6WVZ+VXIWr8SFuUd/02wH1fwGulEgLq9quX8Lnyu21TU7T2+57d GX15x6PrRRH0w== 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 Subject: [PATCH v2 04/10] drm/panel: novatek-nt36672e: Make the AVDD and AVEE supplies optional Date: Thu, 26 Nov 2026 15:45:02 +0200 Message-ID: <20261126134508.320700-5-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 NT36672E panel may generate the bias on the module itself, and be not exposed by the panel modules. Split the supplies into the required VDDI supply and the pair of AVDD and AVEE bias supplies, which are either both described or both absent, and get the bias supplies only if they are described. Signed-off-by: Vladimir Zapolskiy --- .../gpu/drm/panel/panel-novatek-nt36672e.c | 69 +++++++++++++------ 1 file changed, 49 insertions(+), 20 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt36672e.c b/drivers/gpu/drm/panel/panel-novatek-nt36672e.c index 364e0855280f..de070637c208 100644 --- a/drivers/gpu/drm/panel/panel-novatek-nt36672e.c +++ b/drivers/gpu/drm/panel/panel-novatek-nt36672e.c @@ -13,16 +13,13 @@ #include