2022-12-28 12:01:54

by Hsin-Yi Wang

[permalink] [raw]
Subject: [PATCH] arm64: dts: mt8183: jacuzzi: Move panel under aux-bus

Read edp panel edid through aux bus, which is a more preferred way. Also
use a more generic compatible since each jacuzzi models use different
panels.

Signed-off-by: Hsin-Yi Wang <[email protected]>
---
.../dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 26 ++++++++++---------
1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi
index 3ac83be53627..543286ce9cea 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi
@@ -6,18 +6,6 @@
#include "mt8183-kukui.dtsi"

/ {
- panel: panel {
- compatible = "auo,b116xw03";
- power-supply = <&pp3300_panel>;
- backlight = <&backlight_lcd0>;
-
- port {
- panel_in: endpoint {
- remote-endpoint = <&anx7625_out>;
- };
- };
- };
-
pp1200_mipibrdg: pp1200-mipibrdg {
compatible = "regulator-fixed";
regulator-name = "pp1200_mipibrdg";
@@ -181,6 +169,20 @@ anx7625_out: endpoint {
remote-endpoint = <&panel_in>;
};
};
+
+ aux-bus {
+ panel: panel {
+ compatible = "edp-panel";
+ power-supply = <&pp3300_panel>;
+ backlight = <&backlight_lcd0>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&anx7625_out>;
+ };
+ };
+ };
+ };
};
};

--
2.39.0.314.g84b9a713c41-goog


2023-01-19 19:10:44

by Matthias Brugger

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: mt8183: jacuzzi: Move panel under aux-bus



On 28/12/2022 12:32, Hsin-Yi Wang wrote:
> Read edp panel edid through aux bus, which is a more preferred way. Also
> use a more generic compatible since each jacuzzi models use different
> panels.
>
> Signed-off-by: Hsin-Yi Wang <[email protected]>

Applied, thanks.

> ---
> .../dts/mediatek/mt8183-kukui-jacuzzi.dtsi | 26 ++++++++++---------
> 1 file changed, 14 insertions(+), 12 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi
> index 3ac83be53627..543286ce9cea 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui-jacuzzi.dtsi
> @@ -6,18 +6,6 @@
> #include "mt8183-kukui.dtsi"
>
> / {
> - panel: panel {
> - compatible = "auo,b116xw03";
> - power-supply = <&pp3300_panel>;
> - backlight = <&backlight_lcd0>;
> -
> - port {
> - panel_in: endpoint {
> - remote-endpoint = <&anx7625_out>;
> - };
> - };
> - };
> -
> pp1200_mipibrdg: pp1200-mipibrdg {
> compatible = "regulator-fixed";
> regulator-name = "pp1200_mipibrdg";
> @@ -181,6 +169,20 @@ anx7625_out: endpoint {
> remote-endpoint = <&panel_in>;
> };
> };
> +
> + aux-bus {
> + panel: panel {
> + compatible = "edp-panel";
> + power-supply = <&pp3300_panel>;
> + backlight = <&backlight_lcd0>;
> +
> + port {
> + panel_in: endpoint {
> + remote-endpoint = <&anx7625_out>;
> + };
> + };
> + };
> + };
> };
> };
>