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 <marijn.suij...@somainline.org>
---
 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 {

-- 
2.40.1

Reply via email to