| From 5b9d7bde5aa7d353f370c52427fa30d0bc29d39f Mon Sep 17 00:00:00 2001 |
| From: Pin-Yen Lin <treapking@chromium.org> |
| Date: Tue, 21 Jun 2022 17:18:54 +0800 |
| Subject: [PATCH] Reland "FROMLIST: arm64: dts: mt8173: Fix elm panel DT node" |
| |
| This is a reland of commit f6d05ad6348899298d49ca9e9602fffcdb98fec7 |
| |
| Original change's description: |
| > FROMLIST: arm64: dts: mt8173: Fix elm panel DT node |
| > |
| > Move the panel DT node under `aux-bus` node, so it won't use the buggy |
| > `ps8640_bridge_get_edid` to get the display modes. Also, change the |
| > compatible string from "lg,lp120up1" to "edp-panel", so the panel-edp |
| > driver gets the displays modes from the EDID instead of using the |
| > predefined display mode (`lg_lp129qe_mode`) in the driver, which is |
| > actually not working. |
| > |
| > Signed-off-by: Pin-Yen Lin <treapking@chromium.org> |
| > (am from https://patchwork.kernel.org/patch/12888926/) |
| > (also found at https://lore.kernel.org/r/20220621091854.1904372-1-treapking@chromium.org) |
| > |
| > BUG=b:231291555, b:231290214 |
| > TEST=Turn on/off the display with dbus commands |
| > |
| > Change-Id: I08c23ee491099cfa6722b293c82961b55e2075cf |
| > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3849657 |
| > Commit-Queue: Pin-yen Lin <treapking@chromium.org> |
| > Tested-by: Pin-yen Lin <treapking@chromium.org> |
| > Reviewed-by: Sean Paul <sean@poorly.run> |
| > Reviewed-by: Hsin-Yi Wang <hsinyi@chromium.org> |
| |
| BUG=b:231291555, b:231290214, b/245446760 |
| TEST=Turn on/off the display with dbus commands |
| UPSTREAM-TASK=b:254014288 |
| |
| Signed-off-by: Pin-yen Lin <treapking@chromium.org> |
| Change-Id: Idb5fe9a833830de45e93f495035d60e66528d57e |
| Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3951629 |
| Reviewed-by: Sean Paul <sean@poorly.run> |
| Reviewed-by: Hsin-Yi Wang <hsinyi@chromium.org> |
| --- |
| arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi |
| index 23ed1abf408a81f8b252435e5fceb62abc2d018d..d3f21955e39dbd613340a23da1a85f6162d711f6 100644 |
| --- a/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi |
| +++ b/arch/arm64/boot/dts/mediatek/mt8173-elm.dtsi |
| @@ -289,8 +289,8 @@ ps8640_out: endpoint { |
| }; |
| |
| aux-bus { |
| - panel: panel { |
| - compatible = "lg,lp120up1"; |
| + panel { |
| + compatible = "edp-panel"; |
| power-supply = <&panel_fixed_3v3>; |
| backlight = <&backlight>; |
| |
| -- |
| 2.38.3 |
| |