From: Tomi Valkeinen Date: Tue, 21 Aug 2012 12:35:42 +0000 (+0300) Subject: OMAPDSS: Add DT support to DSI X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6274a619780e62610edcec12cead023053767a6f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git OMAPDSS: Add DT support to DSI Add the code to make the DSI driver work with device tree on OMAP3 and OMAP4. A minor hack is needed at the moment in the DSI driver: the DSS driver needs to know the ID number of a DSI device, as clocks are routed in different ways to the DSI devices. At the moment we don't have any proper way to manage this, so this patchs adds a simple lookup table that is used to deduce the ID from the DSI device's base address. Signed-off-by: Tomi Valkeinen Reviewed-by: Archit Taneja --- diff --git a/drivers/video/omap2/dss/dsi.c b/drivers/video/omap2/dss/dsi.c index 782e8989fcfb..efb24b377d04 100644 --- a/drivers/video/omap2/dss/dsi.c +++ b/drivers/video/omap2/dss/dsi.c @@ -38,6 +38,8 @@ #include #include #include +#include +#include #include