mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface
@ 2024-09-16 16:29 Alper Nebi Yasak
  2024-09-18  6:59 ` Pin-yen Lin
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alper Nebi Yasak @ 2024-09-16 16:29 UTC (permalink / raw)
  To: linux-mediatek, devicetree
  Cc: Pi-Hsun Shih, linux-arm-kernel, Chen-Yu Tsai, Fabien Parent,
	Krzysztof Kozlowski, Jitao Shi, AngeloGioacchino Del Regno,
	Matthias Brugger, Pin-yen Lin, linux-kernel, Rob Herring,
	Conor Dooley, Alper Nebi Yasak

Commit 009d855a26fd ("arm64: dts: mt8183: add dpi node to mt8183") adds
a device-tree node for the DPI display interface that feeds the external
display pipeline, to enable HDMI support on the Pumpkin board.

However, the external display is not fully described on Chrome devices,
blocked by further work on DP / USB-C muxing graph bindings. This
incomplete description currently breaks internal display at least on the
Cozmo board. The same issue was found and fixed on MT8186 devices with
commit 3079fb09ddac ("arm64: dts: mediatek: mt8186-corsola: Disable DPI
display interface"), but the MT8183 change wasn't merged until then.

Disable the external display interface for the Kukui device family until
the necessary work is done, like in the MT8186 Corsola case.

Fixes: 009d855a26fd ("arm64: dts: mt8183: add dpi node to mt8183")
Link: https://lore.kernel.org/linux-mediatek/20240821042836.2631815-1-wenst@chromium.org/
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
---

 arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
index 22924f61ec9e..07ae3c8e897b 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
@@ -290,6 +290,11 @@ dsi_out: endpoint {
 	};
 };
 
+&dpi0 {
+	/* TODO Re-enable after DP to Type-C port muxing can be described */
+	status = "disabled";
+};
+
 &gic {
 	mediatek,broken-save-restore-fw;
 };

base-commit: 7083504315d64199a329de322fce989e1e10f4f7
-- 
2.45.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface
  2024-09-16 16:29 [PATCH] arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface Alper Nebi Yasak
@ 2024-09-18  6:59 ` Pin-yen Lin
  2024-09-19 13:14 ` AngeloGioacchino Del Regno
  2024-10-02  9:33 ` AngeloGioacchino Del Regno
  2 siblings, 0 replies; 4+ messages in thread
From: Pin-yen Lin @ 2024-09-18  6:59 UTC (permalink / raw)
  To: Alper Nebi Yasak
  Cc: linux-mediatek, devicetree, Pi-Hsun Shih, linux-arm-kernel,
	Chen-Yu Tsai, Fabien Parent, Krzysztof Kozlowski, Jitao Shi,
	AngeloGioacchino Del Regno, Matthias Brugger, linux-kernel,
	Rob Herring, Conor Dooley

On Tue, Sep 17, 2024 at 12:30 AM Alper Nebi Yasak
<alpernebiyasak@gmail.com> wrote:
>
> Commit 009d855a26fd ("arm64: dts: mt8183: add dpi node to mt8183") adds
> a device-tree node for the DPI display interface that feeds the external
> display pipeline, to enable HDMI support on the Pumpkin board.
>
> However, the external display is not fully described on Chrome devices,
> blocked by further work on DP / USB-C muxing graph bindings. This
> incomplete description currently breaks internal display at least on the
> Cozmo board. The same issue was found and fixed on MT8186 devices with
> commit 3079fb09ddac ("arm64: dts: mediatek: mt8186-corsola: Disable DPI
> display interface"), but the MT8183 change wasn't merged until then.
>
> Disable the external display interface for the Kukui device family until
> the necessary work is done, like in the MT8186 Corsola case.
>
> Fixes: 009d855a26fd ("arm64: dts: mt8183: add dpi node to mt8183")
> Link: https://lore.kernel.org/linux-mediatek/20240821042836.2631815-1-wenst@chromium.org/
> Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
> ---
>
>  arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> index 22924f61ec9e..07ae3c8e897b 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
> @@ -290,6 +290,11 @@ dsi_out: endpoint {
>         };
>  };
>
> +&dpi0 {
> +       /* TODO Re-enable after DP to Type-C port muxing can be described */
> +       status = "disabled";
> +};
> +
>  &gic {
>         mediatek,broken-save-restore-fw;
>  };
>
> base-commit: 7083504315d64199a329de322fce989e1e10f4f7
> --
> 2.45.2
>
Reviewed-by: Pin-yen Lin <treapking@chromium.org>

Thanks for fixing this!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface
  2024-09-16 16:29 [PATCH] arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface Alper Nebi Yasak
  2024-09-18  6:59 ` Pin-yen Lin
@ 2024-09-19 13:14 ` AngeloGioacchino Del Regno
  2024-10-02  9:33 ` AngeloGioacchino Del Regno
  2 siblings, 0 replies; 4+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-09-19 13:14 UTC (permalink / raw)
  To: Alper Nebi Yasak, linux-mediatek, devicetree
  Cc: Pi-Hsun Shih, linux-arm-kernel, Chen-Yu Tsai, Fabien Parent,
	Krzysztof Kozlowski, Jitao Shi, Matthias Brugger, Pin-yen Lin,
	linux-kernel, Rob Herring, Conor Dooley

Il 16/09/24 18:29, Alper Nebi Yasak ha scritto:
> Commit 009d855a26fd ("arm64: dts: mt8183: add dpi node to mt8183") adds
> a device-tree node for the DPI display interface that feeds the external
> display pipeline, to enable HDMI support on the Pumpkin board.
> 
> However, the external display is not fully described on Chrome devices,
> blocked by further work on DP / USB-C muxing graph bindings. This
> incomplete description currently breaks internal display at least on the
> Cozmo board. The same issue was found and fixed on MT8186 devices with
> commit 3079fb09ddac ("arm64: dts: mediatek: mt8186-corsola: Disable DPI
> display interface"), but the MT8183 change wasn't merged until then.
> 
> Disable the external display interface for the Kukui device family until
> the necessary work is done, like in the MT8186 Corsola case.
> 
> Fixes: 009d855a26fd ("arm64: dts: mt8183: add dpi node to mt8183")
> Link: https://lore.kernel.org/linux-mediatek/20240821042836.2631815-1-wenst@chromium.org/
> Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface
  2024-09-16 16:29 [PATCH] arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface Alper Nebi Yasak
  2024-09-18  6:59 ` Pin-yen Lin
  2024-09-19 13:14 ` AngeloGioacchino Del Regno
@ 2024-10-02  9:33 ` AngeloGioacchino Del Regno
  2 siblings, 0 replies; 4+ messages in thread
From: AngeloGioacchino Del Regno @ 2024-10-02  9:33 UTC (permalink / raw)
  To: linux-mediatek, devicetree, Alper Nebi Yasak
  Cc: Pi-Hsun Shih, linux-arm-kernel, Chen-Yu Tsai, Fabien Parent,
	Krzysztof Kozlowski, Jitao Shi, Matthias Brugger, Pin-yen Lin,
	linux-kernel, Rob Herring, Conor Dooley

On Mon, 16 Sep 2024 19:29:32 +0300, Alper Nebi Yasak wrote:
> Commit 009d855a26fd ("arm64: dts: mt8183: add dpi node to mt8183") adds
> a device-tree node for the DPI display interface that feeds the external
> display pipeline, to enable HDMI support on the Pumpkin board.
> 
> However, the external display is not fully described on Chrome devices,
> blocked by further work on DP / USB-C muxing graph bindings. This
> incomplete description currently breaks internal display at least on the
> Cozmo board. The same issue was found and fixed on MT8186 devices with
> commit 3079fb09ddac ("arm64: dts: mediatek: mt8186-corsola: Disable DPI
> display interface"), but the MT8183 change wasn't merged until then.
> 
> [...]

Applied to v6.12-next/dts64, thanks!

[1/1] arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface
      https://git.kernel.org/mediatek/c/377548f0

Cheers,
Angelo



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-02  9:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-16 16:29 [PATCH] arm64: dts: mediatek: mt8183-kukui: Disable DPI display interface Alper Nebi Yasak
2024-09-18  6:59 ` Pin-yen Lin
2024-09-19 13:14 ` AngeloGioacchino Del Regno
2024-10-02  9:33 ` AngeloGioacchino Del Regno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®