File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -410,7 +410,9 @@ EXPORT_SYMBOL_GPL(drm_of_lvds_get_dual_link_pixel_order);
410
410
* Return:
411
411
* * MEDIA_BUS_FMT_RGB666_1X7X3_SPWG - data-mapping is "jeida-18"
412
412
* * MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA - data-mapping is "jeida-24"
413
+ * * MEDIA_BUS_FMT_RGB101010_1X7X5_JEIDA - data-mapping is "jeida-30"
413
414
* * MEDIA_BUS_FMT_RGB888_1X7X4_SPWG - data-mapping is "vesa-24"
415
+ * * MEDIA_BUS_FMT_RGB101010_1X7X5_SPWG - data-mapping is "vesa-30"
414
416
* * -EINVAL - the "data-mapping" property is unsupported
415
417
* * -ENODEV - the "data-mapping" property is missing
416
418
*/
@@ -427,8 +429,12 @@ int drm_of_lvds_get_data_mapping(const struct device_node *port)
427
429
return MEDIA_BUS_FMT_RGB666_1X7X3_SPWG ;
428
430
if (!strcmp (mapping , "jeida-24" ))
429
431
return MEDIA_BUS_FMT_RGB888_1X7X4_JEIDA ;
432
+ if (!strcmp (mapping , "jeida-30" ))
433
+ return MEDIA_BUS_FMT_RGB101010_1X7X5_JEIDA ;
430
434
if (!strcmp (mapping , "vesa-24" ))
431
435
return MEDIA_BUS_FMT_RGB888_1X7X4_SPWG ;
436
+ if (!strcmp (mapping , "vesa-30" ))
437
+ return MEDIA_BUS_FMT_RGB101010_1X7X5_SPWG ;
432
438
433
439
return - EINVAL ;
434
440
}
You can’t perform that action at this time.
0 commit comments