summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2017-04-21 16:47:11 +0200
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2017-04-21 16:47:11 +0200
commitb62ea4112ce3746664dcc2f232d03461f0e6f3c7 (patch)
treebf508511f7f5161c2b005b8cfeb6ca025730fea4 /include
parentdrivers/video/fbdev: Fixing coding guidelines in acornfb.c (diff)
downloadlinux-b62ea4112ce3746664dcc2f232d03461f0e6f3c7.tar.xz
linux-b62ea4112ce3746664dcc2f232d03461f0e6f3c7.zip
video: fbdev: imxfb: support AUS mode
Some displays require setting AUS mode in the LDCD AUS Mode Control Register to work with the imxfb driver. Like the value of the Panel Configuration Register, the AUS mode setting depends on the display mode. Allow setting AUS mode from the device tree by adding a boolean property. Make this property optional to keep the DT ABI stable. AUS mode can be set only on imx21 and compatible chipsets. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Cc: Sascha Hauer <kernel@pengutronix.de> Cc: Rob Herring <robh+dt@kernel.org> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/video-imxfb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/video-imxfb.h b/include/linux/platform_data/video-imxfb.h
index a5c0a71ec914..cf9348b376ac 100644
--- a/include/linux/platform_data/video-imxfb.h
+++ b/include/linux/platform_data/video-imxfb.h
@@ -50,6 +50,7 @@
struct imx_fb_videomode {
struct fb_videomode mode;
u32 pcr;
+ bool aus_mode;
unsigned char bpp;
};