From patchwork Sun Nov 24 10:00:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maud Spierings via B4 Relay X-Patchwork-Id: 13884026 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7CD28E66894 for ; Sun, 24 Nov 2024 10:01:15 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id ED1C310E1ED; Sun, 24 Nov 2024 10:01:11 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="RIDatEFS"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3F9EE10E200 for ; Sun, 24 Nov 2024 10:01:11 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 931D55C5686; Sun, 24 Nov 2024 10:00:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 6B60FC4CECF; Sun, 24 Nov 2024 10:01:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1732442469; bh=P85kdcuROFc2rILlppJv5y6/+fj45JK+pYOQuVNCxcc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=RIDatEFSGB9iKvqIQmz6AK25Y9TCQyQ3KmIg2TWWPiAOSIkSGY9awYVm2mqNqsOkw PBjz9orAGBrXXpJ3C56oy6CuOxU6rglAl5nxOKniCplOYo2jTQxeVqIOvyJpKGidis tNrbb1URCXTDKunm1S2AZ5x7e0X0N5WIGCECrZ4GQaAdZntlByUZeLww4uAkYJOSk4 y3dOQZh7qJaC2MmGk7+8QE2ov3WJigHgcQrZDT1KFMx1D0dorIL0nX3vGwGpo3d/jQ RrtZArgOAUg04xTmmOX43eRnaCvO8oKoDW2RQIYovywcgk9dZwa5uQjtMmm9Wy291B bPElV+H5PqkKg== 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 579CDE668A5; Sun, 24 Nov 2024 10:01:09 +0000 (UTC) From: Maud Spierings via B4 Relay Date: Sun, 24 Nov 2024 11:00:58 +0100 Subject: [PATCH v3 2/4] arm64: dts: qcom: x1e80100-vivobook-s15: Use the samsung,atna33xc20 panel driver MIME-Version: 1.0 Message-Id: <20241124-asus_qcom_display-v3-2-002b723b1920@hotmail.com> References: <20241124-asus_qcom_display-v3-0-002b723b1920@hotmail.com> In-Reply-To: <20241124-asus_qcom_display-v3-0-002b723b1920@hotmail.com> To: Neil Armstrong , Jessica Zhang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Douglas Anderson , Bjorn Andersson , Konrad Dybcio Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Maud Spierings X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1732442467; l=1388; i=maud_spierings@hotmail.com; s=20241110; h=from:subject:message-id; bh=io+Nj/5iQaZGfv6rQv+gwuuh43FX+z1Sx+z5yfCqbsM=; b=KSdSZkES7yt/5gOpmSg4b7kLuhXg4LBdbIabbS9XE1xUxLvej+SQwg6gJei/8uY/7WcYOhY3v 0BIIMHM8vwzBVUx1rgKoMbYF7MRrA2N99l7QbPM/Y/aqy8Olgh2KNsP X-Developer-Key: i=maud_spierings@hotmail.com; a=ed25519; pk=CeFKVnZvRfX2QjB1DpdiAe2N+MEjwLEB9Yhx/OAcxRc= X-Endpoint-Received: by B4 Relay for maud_spierings@hotmail.com/20241110 with auth_id=273 X-Original-From: Maud Spierings X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: maud_spierings@hotmail.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Maud Spierings The Asus vivobook s15 uses the ATNA56AC03 panel. This panel is controlled by the atna33xc20 driver instead of the generic edp-panel driver Signed-off-by: Maud Spierings --- arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts index f25991b887de3fca0092c5f81c881c5d8bd71aac..dbc85aff50a95bfc2ac11528d1901979ec7b1501 100644 --- a/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts +++ b/arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts @@ -407,9 +407,13 @@ &mdss_dp3 { aux-bus { panel { - compatible = "edp-panel"; + compatible = "samsung,atna56ac03", "samsung,atna33xc20"; + enable-gpios = <&pmc8380_3_gpios 4 GPIO_ACTIVE_HIGH>; power-supply = <&vreg_edp_3p3>; + pinctrl-0 = <&edp_bl_en>; + pinctrl-names = "default"; + port { edp_panel_in: endpoint { remote-endpoint = <&mdss_dp3_out>; @@ -475,6 +479,16 @@ &pcie6a_phy { status = "okay"; }; +&pmc8380_3_gpios { + edp_bl_en: edp-bl-en-state { + pins = "gpio4"; + function = "normal"; + power-source = <0>; + input-disable; + output-enable; + }; +}; + &qupv3_0 { status = "okay"; };