* [PATCH v2] ARM: dts: am335x-evm: Use drm simple-panel instead of tilcdc-panel
@ 2019-12-03 9:11 Jyri Sarha
2019-12-12 17:33 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Jyri Sarha @ 2019-12-03 9:11 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
"tfc,s9700rtwv43tr-01b"-panel support in drm panel-simple.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
"tfc,s9700rtwv43tr-01b" in panel-simple has been in for some time now
so it is about time to get this in too.
Since first version:
- drop status = "okay";
- blank line before port node
- drop ports node
- drop Tomi's reviewed-by because of above changes
- add Laurent's reviewed-by
arch/arm/boot/dts/am335x-evm.dts | 40 +++++++++++---------------------
1 file changed, 13 insertions(+), 27 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index a00145705c9b..84dfc40af7c5 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -113,7 +113,7 @@
};
};
- backlight {
+ backlight: backlight {
compatible = "pwm-backlight";
pwms = <&ecap0 0 50000 0>;
brightness-levels = <0 51 53 56 62 75 101 152 255>;
@@ -121,35 +121,15 @@
};
panel {
- compatible = "ti,tilcdc,panel";
- status = "okay";
+ compatible = "tfc,s9700rtwv43tr-01b";
+
pinctrl-names = "default";
pinctrl-0 = <&lcd_pins_s0>;
- 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>;
- };
+ backlight = <&backlight>;
- display-timings {
- 800x480p62 {
- clock-frequency = <30000000>;
- hactive = <800>;
- vactive = <480>;
- hfront-porch = <39>;
- hback-porch = <39>;
- hsync-len = <47>;
- vback-porch = <29>;
- vfront-porch = <13>;
- vsync-len = <2>;
- hsync-active = <1>;
- vsync-active = <1>;
+ port {
+ panel_0: endpoint@0 {
+ remote-endpoint = <&lcdc_0>;
};
};
};
@@ -525,6 +505,12 @@
status = "okay";
blue-and-red-wiring = "crossed";
+
+ port {
+ lcdc_0: endpoint@0 {
+ remote-endpoint = <&panel_0>;
+ };
+ };
};
&elm {
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] ARM: dts: am335x-evm: Use drm simple-panel instead of tilcdc-panel
2019-12-03 9:11 [PATCH v2] ARM: dts: am335x-evm: Use drm simple-panel instead of tilcdc-panel Jyri Sarha
@ 2019-12-12 17:33 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2019-12-12 17:33 UTC (permalink / raw)
To: Jyri Sarha
Cc: dri-devel, bcousson, devicetree, linux-omap, tomi.valkeinen,
laurent.pinchart, peter.ujfalusi, bparrot
* Jyri Sarha <jsarha@ti.com> [191203 01:12]:
> Move to use the new drm panel support in tilcdc together with added
> "tfc,s9700rtwv43tr-01b"-panel support in drm panel-simple.
>
> Signed-off-by: Jyri Sarha <jsarha@ti.com>
> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> ---
> "tfc,s9700rtwv43tr-01b" in panel-simple has been in for some time now
> so it is about time to get this in too.
Thanks applying into omap-for-v5.6/dt.
Tony
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-12-12 17:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-03 9:11 [PATCH v2] ARM: dts: am335x-evm: Use drm simple-panel instead of tilcdc-panel Jyri Sarha
2019-12-12 17:33 ` 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).