From patchwork Sun May 21 21:23:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marijn Suijten X-Patchwork-Id: 13249572 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 956B8C7EE31 for ; Sun, 21 May 2023 21:23:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231245AbjEUVXY (ORCPT ); Sun, 21 May 2023 17:23:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbjEUVXU (ORCPT ); Sun, 21 May 2023 17:23:20 -0400 Received: from relay06.th.seeweb.it (relay06.th.seeweb.it [5.144.164.167]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59B69EB for ; Sun, 21 May 2023 14:23:15 -0700 (PDT) Received: from Marijn-Arch-PC.localdomain (94-211-6-86.cable.dynamic.v4.ziggo.nl [94.211.6.86]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by m-r2.th.seeweb.it (Postfix) with ESMTPSA id E52B23F34E; Sun, 21 May 2023 23:23:12 +0200 (CEST) From: Marijn Suijten Date: Sun, 21 May 2023 23:23:06 +0200 Subject: [PATCH RFC 04/10] arm64: dts: qcom: sdm845-akatsuki: Configure OLED panel MIME-Version: 1.0 Message-Id: <20230521-drm-panels-sony-v1-4-541c341d6bee@somainline.org> References: <20230521-drm-panels-sony-v1-0-541c341d6bee@somainline.org> In-Reply-To: <20230521-drm-panels-sony-v1-0-541c341d6bee@somainline.org> To: Neil Armstrong , Sam Ravnborg , David Airlie , Daniel Vetter , Caleb Connolly , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Gross , Bjorn Andersson Cc: ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Jami Kettunen , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, Dmitry Baryshkov , Abhinav Kumar , Kuogee Hsieh , Jessica Zhang , Marijn Suijten X-Mailer: b4 0.12.2 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Set the right compatible and reset-gpios for the LG Display 1440x2880 OLED panel found on the Xperia XZ3. All other properties (e.g. vddio regulator and pinctrl) remain the valid from the base DTSI. Signed-off-by: Marijn Suijten --- arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts index 5d2052a0ff69f..87095520d5842 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts @@ -37,11 +37,20 @@ &lab { }; &panel { + compatible = "sony,akatsuki-lgd"; + /* Akatsuki uses an OLED panel. */ /delete-property/ backlight; /delete-property/ vsp-supply; /delete-property/ vsn-supply; /delete-property/ touch-reset-gpios; + + /* + * Correct misnamed property in board DTSI, which cannot be + * renamed for backwards compatibility with sony,td4353-jdi. + */ + /delete-property/ panel-reset-gpios; + reset-gpios = <&tlmm 6 GPIO_ACTIVE_HIGH>; }; &pmi8998_wled {