Re: [PATCH v3 3/3] drm/panel-simple: allow LVDS format override

2023-07-28 Thread Johannes Zink
Hi Dan, thanks for your feedback. On 7/28/23 14:03, Dan Carpenter wrote: On Fri, Jul 28, 2023 at 01:54:40PM +0200, Johannes Zink wrote: @@ -556,7 +602,7 @@ static int panel_simple_probe(struct device *dev, const struct panel_desc *desc) struct device_node *ddc; int connector_t

Re: [PATCH v3 3/3] drm/panel-simple: allow LVDS format override

2023-07-28 Thread Dan Carpenter
On Fri, Jul 28, 2023 at 01:54:40PM +0200, Johannes Zink wrote: > @@ -556,7 +602,7 @@ static int panel_simple_probe(struct device *dev, const > struct panel_desc *desc) > struct device_node *ddc; > int connector_type; > u32 bus_flags; > - int err; > + int err, ret; I don'

[PATCH v3 3/3] drm/panel-simple: allow LVDS format override

2023-07-28 Thread Johannes Zink
Some panels support multiple LVDS data mapping formats, which can be used e.g. run displays on jeida-18 format when only 3 LVDS lanes are available. Add parsing of an optional data-mapping devicetree property, which also touches up the bits per color to match the bus format. Signed-off-by: Johann