summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDanny Nold <dannynold@freescale.com>2010-08-17 15:25:29 -0500
committerJustin Waters <justin.waters@timesys.com>2010-12-13 16:09:44 -0500
commit9f27f0b15032d8303617573cdb037caa2e63f957 (patch)
tree0246e83610f434efe0e79b8ad4865c521fc077b6 /include/linux
parent0bbe0fc84b4983e29a9d5f8b675aa910da88d527 (diff)
ENGR00126213 - EPDC fb: Add ioctl to control powerdown delay
Ability added to control the delay between all updates being complete and the EPDC powering down. This provides user space control over how frequently the EPDC is undertaking a time-consuming enable/disable process. Signed-off-by: Danny Nold <dannynold@freescale.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mxcfb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mxcfb.h b/include/linux/mxcfb.h
index 4105bc9c4385..7549851daff2 100644
--- a/include/linux/mxcfb.h
+++ b/include/linux/mxcfb.h
@@ -78,6 +78,8 @@ struct mxcfb_rect {
#define TEMP_USE_AMBIENT 0x1000
+#define FB_POWERDOWN_DISABLE -1
+
struct mxcfb_alt_buffer_data {
__u32 phys_addr;
__u32 width; /* width of entire buffer */
@@ -126,6 +128,8 @@ struct mxcfb_waveform_modes {
#define MXCFB_SET_AUTO_UPDATE_MODE _IOW('F', 0x2D, __u32)
#define MXCFB_SEND_UPDATE _IOW('F', 0x2E, struct mxcfb_update_data)
#define MXCFB_WAIT_FOR_UPDATE_COMPLETE _IOW('F', 0x2F, __u32)
+#define MXCFB_SET_PWRDOWN_DELAY _IOW('F', 0x30, int32_t)
+#define MXCFB_GET_PWRDOWN_DELAY _IOR('F', 0x31, int32_t)
#ifdef __KERNEL__