[PATCH/RFC 1/7] drm: omapdrm: Add OMAP revision to omapdss platform data

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Dec 13 23:38:20 UTC 2016


The revision is passed from platform code to the omapdrm driver through
the omapdrm platform device's platform data. This is the last reason to
create a virtual omapdrm platform device that we have otherwise no need
for. By passing the revision through the omapdss platform data we will
be able to remote the omapdrm device.

Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
 include/linux/platform_data/omapdss.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/platform_data/omapdss.h b/include/linux/platform_data/omapdss.h
index 679177929045..e71bb1d1b7ba 100644
--- a/include/linux/platform_data/omapdss.h
+++ b/include/linux/platform_data/omapdss.h
@@ -32,6 +32,7 @@ struct omap_dss_board_info {
 	void (*dsi_disable_pads)(int dsi_id, unsigned int lane_mask);
 	int (*set_min_bus_tput)(struct device *dev, unsigned long r);
 	enum omapdss_version version;
+	u32 omaprev;
 };
 
 #endif /* __OMAPDSS_PDATA_H */
-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list