diff options
author | Danny Nold <dannynold@freescale.com> | 2010-08-17 15:25:29 -0500 |
---|---|---|
committer | Alan Tull <r80115@freescale.com> | 2010-09-25 09:51:09 -0500 |
commit | 76a2f53966b45ca049e301b34e95826efc9b0981 (patch) | |
tree | 0246e83610f434efe0e79b8ad4865c521fc077b6 /include | |
parent | e3397609077d68b145fc2e6d62b6b40f7701ef55 (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')
-rw-r--r-- | include/linux/mxcfb.h | 4 |
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__ |