On Wed, Sep 4, 2019 at 3:28 PM Laurent Pinchart laurent.pinchart@ideasonboard.com wrote:
Add a type field to the drm_panel structure to report the panel type, using DRM_MODE_CONNECTOR_* macros (the values that make sense are LVDS, eDP, DSI and DPI). This will be used to initialise the corresponding connector type.
Update all panel drivers accordingly. The panel-simple driver only specifies the type for the known to be LVDS panels, while all other panels are left as unknown and will be converted on a case-by-case basis as they all need to be carefully reviewed.
Signed-off-by: Laurent Pinchart laurent.pinchart@ideasonboard.com Reviewed-by: Boris Brezillon boris.brezillon@collabora.com
Changes since v2:
Checked the panels I've worked on and they all seem correct so: Reviewed-by: Linus Walleij linus.walleij@linaro.org
Yours, Linus Walleij