diff mbox series

arm64: dts: mt8183: jacuzzi: Move panel under aux-bus

Message ID 20221228113204.1551180-1-hsinyi@chromium.org (mailing list archive)
State New, archived
Headers show
Series arm64: dts: mt8183: jacuzzi: Move panel under aux-bus | expand

Commit Message

Hsin-Yi Wang Dec. 28, 2022, 11:32 a.m. UTC
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 <hsinyi@chromium.org>
---
 .../dts/mediatek/mt8183-kukui-jacuzzi.dtsi    | 26 ++++++++++---------
 1 file changed, 14 insertions(+), 12 deletions(-)

Comments

Matthias Brugger Jan. 19, 2023, 6:26 p.m. UTC | #1
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 <hsinyi@chromium.org>

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>;
> +					};
> +				};
> +			};
> +		};
>   	};
>   };
>
diff mbox series

Patch

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>;
+					};
+				};
+			};
+		};
 	};
 };