From 99767548b128dae8eb46b7039958b2b6a5483c66 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Fri, 4 Jul 2014 13:38:27 +0530 Subject: OMAPDSS: Add Video PLLs for DRA7xx DRA7xx SoCs have one (DRA72x) or two (DRA74x) video PLLs. They are basically the same as DSI PLLs on OMAPs, but without the rest of the DSI hardware. The video PLLs also require some configuration via the CONTROL module. Signed-off-by: Tomi Valkeinen --- drivers/video/fbdev/omap2/dss/Makefile | 2 +- drivers/video/fbdev/omap2/dss/dss.c | 58 +++++++- drivers/video/fbdev/omap2/dss/dss.h | 8 ++ drivers/video/fbdev/omap2/dss/video-pll.c | 211 ++++++++++++++++++++++++++++++ 4 files changed, 273 insertions(+), 6 deletions(-) create mode 100644 drivers/video/fbdev/omap2/dss/video-pll.c (limited to 'drivers/video/fbdev') diff --git a/drivers/video/fbdev/omap2/dss/Makefile b/drivers/video/fbdev/omap2/dss/Makefile index 2ea9d38..b5136d3 100644 --- a/drivers/video/fbdev/omap2/dss/Makefile +++ b/drivers/video/fbdev/omap2/dss/Makefile @@ -2,7 +2,7 @@ obj-$(CONFIG_OMAP2_DSS_INIT) += omapdss-boot-init.o obj-$(CONFIG_OMAP2_DSS) += omapdss.o # Core DSS files omapdss-y := core.o dss.o dss_features.o dispc.o dispc_coefs.o display.o \ - output.o dss-of.o pll.o + output.o dss-of.o pll.o video-pll.o # DSS compat layer files omapdss-y += manager.o manager-sysfs.o overlay.o overlay-sysfs.o apply.o \ dispc-compat.o display-sysfs.o diff --git a/drivers/video/fbdev/omap2/dss/dss.c b/drivers/video/fbdev/omap2/dss/dss.c index d75238f..a6d10d4 100644 --- a/drivers/video/fbdev/omap2/dss/dss.c +++ b/drivers/video/fbdev/omap2/dss/dss.c @@ -37,6 +37,7 @@ #include #include #include +#include #include