diff mbox series

ARM: dts: am335x-evmsk: Use drm simple-panel instead of tilcdc-panel

Message ID 20191204105554.14212-1-jsarha@ti.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: am335x-evmsk: Use drm simple-panel instead of tilcdc-panel | expand

Commit Message

Jyri Sarha Dec. 4, 2019, 10:55 a.m. UTC
Move to use the new drm panel support in tilcdc together with added
"newhaven,nhd-4.3-480272ef-atxl"-panel support in drm panel-simple.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
---
 arch/arm/boot/dts/am335x-evmsk.dts | 38 ++++++++++--------------------
 1 file changed, 12 insertions(+), 26 deletions(-)

Comments

Peter Ujfalusi Dec. 4, 2019, 11:26 a.m. UTC | #1
On 04/12/2019 12.55, Jyri Sarha wrote:
> Move to use the new drm panel support in tilcdc together with added
> "newhaven,nhd-4.3-480272ef-atxl"-panel support in drm panel-simple.

Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>

> Signed-off-by: Jyri Sarha <jsarha@ti.com>
> ---
>  arch/arm/boot/dts/am335x-evmsk.dts | 38 ++++++++++--------------------
>  1 file changed, 12 insertions(+), 26 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
> index e28a5b82fdf3..b149e48520b4 100644
> --- a/arch/arm/boot/dts/am335x-evmsk.dts
> +++ b/arch/arm/boot/dts/am335x-evmsk.dts
> @@ -183,36 +183,16 @@
>  	};
>  
>  	panel {
> -		compatible = "ti,tilcdc,panel";
> +		compatible = "newhaven,nhd-4.3-480272ef-atxl";
> +
>  		pinctrl-names = "default", "sleep";
>  		pinctrl-0 = <&lcd_pins_default>;
>  		pinctrl-1 = <&lcd_pins_sleep>;
>  		backlight = <&lcd_bl>;
> -		status = "okay";
> -		panel-info {
> -			ac-bias		= <255>;
> -			ac-bias-intrpt	= <0>;
> -			dma-burst-sz	= <16>;
> -			bpp		= <32>;
> -			fdd		= <0x80>;
> -			sync-edge	= <0>;
> -			sync-ctrl	= <1>;
> -			raster-order	= <0>;
> -			fifo-th		= <0>;
> -		};
> -		display-timings {
> -			480x272 {
> -				hactive		= <480>;
> -				vactive		= <272>;
> -				hback-porch	= <43>;
> -				hfront-porch	= <8>;
> -				hsync-len	= <4>;
> -				vback-porch	= <12>;
> -				vfront-porch	= <4>;
> -				vsync-len	= <10>;
> -				clock-frequency = <9000000>;
> -				hsync-active	= <0>;
> -				vsync-active	= <0>;
> +
> +		port {
> +			panel_0: endpoint@0 {
> +				remote-endpoint = <&lcdc_0>;
>  			};
>  		};
>  	};
> @@ -750,6 +730,12 @@
>  	status = "okay";
>  
>  	blue-and-red-wiring = "crossed";
> +
> +	port {
> +		lcdc_0: endpoint@0 {
> +			remote-endpoint = <&panel_0>;
> +		};
> +	};
>  };
>  
>  &rtc {
> 

- Péter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Tony Lindgren Dec. 12, 2019, 5:34 p.m. UTC | #2
* Peter Ujfalusi <peter.ujfalusi@ti.com> [191204 11:26]:
> 
> 
> On 04/12/2019 12.55, Jyri Sarha wrote:
> > Move to use the new drm panel support in tilcdc together with added
> > "newhaven,nhd-4.3-480272ef-atxl"-panel support in drm panel-simple.
> 
> Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>

Thanks applying into omap-for-v5.6/dt.

Tony
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index e28a5b82fdf3..b149e48520b4 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -183,36 +183,16 @@ 
 	};
 
 	panel {
-		compatible = "ti,tilcdc,panel";
+		compatible = "newhaven,nhd-4.3-480272ef-atxl";
+
 		pinctrl-names = "default", "sleep";
 		pinctrl-0 = <&lcd_pins_default>;
 		pinctrl-1 = <&lcd_pins_sleep>;
 		backlight = <&lcd_bl>;
-		status = "okay";
-		panel-info {
-			ac-bias		= <255>;
-			ac-bias-intrpt	= <0>;
-			dma-burst-sz	= <16>;
-			bpp		= <32>;
-			fdd		= <0x80>;
-			sync-edge	= <0>;
-			sync-ctrl	= <1>;
-			raster-order	= <0>;
-			fifo-th		= <0>;
-		};
-		display-timings {
-			480x272 {
-				hactive		= <480>;
-				vactive		= <272>;
-				hback-porch	= <43>;
-				hfront-porch	= <8>;
-				hsync-len	= <4>;
-				vback-porch	= <12>;
-				vfront-porch	= <4>;
-				vsync-len	= <10>;
-				clock-frequency = <9000000>;
-				hsync-active	= <0>;
-				vsync-active	= <0>;
+
+		port {
+			panel_0: endpoint@0 {
+				remote-endpoint = <&lcdc_0>;
 			};
 		};
 	};
@@ -750,6 +730,12 @@ 
 	status = "okay";
 
 	blue-and-red-wiring = "crossed";
+
+	port {
+		lcdc_0: endpoint@0 {
+			remote-endpoint = <&panel_0>;
+		};
+	};
 };
 
 &rtc {