summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/board-lager.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-08-27 00:42:56 +0200
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>2014-09-15 10:55:47 +0200
commit1d46fea7d091f9dc2d4fd3fcb9f0117ca288f9a5 (patch)
tree03074e1371f28dfffbc461b35dd4364702cc58f4 /arch/arm/mach-shmobile/board-lager.c
parentvideo: Add DT bindings for the R-Car Display Unit (diff)
downloadlinux-1d46fea7d091f9dc2d4fd3fcb9f0117ca288f9a5.tar.xz
linux-1d46fea7d091f9dc2d4fd3fcb9f0117ca288f9a5.zip
drm/rcar-du: Use struct videomode in platform data
In preparation for DT support where panel timings will be described by a DRM-agnostic video mode, replace the struct drm_mode_modeinfo instance in the panel platform data with a struct videomode. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'arch/arm/mach-shmobile/board-lager.c')
-rw-r--r--arch/arm/mach-shmobile/board-lager.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/arch/arm/mach-shmobile/board-lager.c b/arch/arm/mach-shmobile/board-lager.c
index e1d8215da0b0..80576c2ee668 100644
--- a/arch/arm/mach-shmobile/board-lager.c
+++ b/arch/arm/mach-shmobile/board-lager.c
@@ -99,16 +99,15 @@ static struct rcar_du_encoder_data lager_du_encoders[] = {
.width_mm = 210,
.height_mm = 158,
.mode = {
- .clock = 65000,
- .hdisplay = 1024,
- .hsync_start = 1048,
- .hsync_end = 1184,
- .htotal = 1344,
- .vdisplay = 768,
- .vsync_start = 771,
- .vsync_end = 777,
- .vtotal = 806,
- .flags = 0,
+ .pixelclock = 65000000,
+ .hactive = 1024,
+ .hfront_porch = 20,
+ .hback_porch = 160,
+ .hsync_len = 136,
+ .vactive = 768,
+ .vfront_porch = 3,
+ .vback_porch = 29,
+ .vsync_len = 6,
},
},
},