* [PATCH] ARM: dts: am335x-evmsk: Use drm simple-panel instead of tilcdc-panel
@ 2019-12-04 10:55 Jyri Sarha
2019-12-04 11:26 ` Peter Ujfalusi
0 siblings, 1 reply; 3+ messages in thread
From: Jyri Sarha @ 2019-12-04 10:55 UTC (permalink / raw)
To: dri-devel, tony, bcousson, devicetree, linux-omap
Cc: tomi.valkeinen, laurent.pinchart, peter.ujfalusi, bparrot
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(-)
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 {
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: am335x-evmsk: Use drm simple-panel instead of tilcdc-panel
2019-12-04 10:55 [PATCH] ARM: dts: am335x-evmsk: Use drm simple-panel instead of tilcdc-panel Jyri Sarha
@ 2019-12-04 11:26 ` Peter Ujfalusi
2019-12-12 17:34 ` Tony Lindgren
0 siblings, 1 reply; 3+ messages in thread
From: Peter Ujfalusi @ 2019-12-04 11:26 UTC (permalink / raw)
To: Jyri Sarha, dri-devel, tony, bcousson, devicetree, linux-omap
Cc: tomi.valkeinen, laurent.pinchart, bparrot
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: dts: am335x-evmsk: Use drm simple-panel instead of tilcdc-panel
2019-12-04 11:26 ` Peter Ujfalusi
@ 2019-12-12 17:34 ` Tony Lindgren
0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2019-12-12 17:34 UTC (permalink / raw)
To: Peter Ujfalusi
Cc: Jyri Sarha, dri-devel, bcousson, devicetree, linux-omap,
tomi.valkeinen, laurent.pinchart, bparrot
* 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-12 17:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-04 10:55 [PATCH] ARM: dts: am335x-evmsk: Use drm simple-panel instead of tilcdc-panel Jyri Sarha
2019-12-04 11:26 ` Peter Ujfalusi
2019-12-12 17:34 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).