From a400e381d0386c45af839b8058f6f8de542ba807 Mon Sep 17 00:00:00 2001 From: Ray Zhang Date: Sat, 22 Oct 2016 02:15:10 +0800 Subject: msm: mdss: add support to change HDMI PLL PPM Add sysfs and ioctl to adjust HDMI clock rate by certain PPM. This function is required by clock recovery in broadcast in which HDMI PLL should be adjusted in order to reduce the clock drift in broadcast. CRs-Fixed: 1086894 Change-Id: I1df15dd6aec44ae3e78bd4f80dc70d0d04760687 Signed-off-by: Ray Zhang --- include/uapi/linux/msm_mdp_ext.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/msm_mdp_ext.h b/include/uapi/linux/msm_mdp_ext.h index 1a71e860ba48..3a049c1ba69a 100644 --- a/include/uapi/linux/msm_mdp_ext.h +++ b/include/uapi/linux/msm_mdp_ext.h @@ -30,6 +30,12 @@ #define MSMFB_MDP_SET_CFG _IOW(MDP_IOCTL_MAGIC, 130, \ struct mdp_set_cfg) +/* + * Ioctl for setting the PLL PPM. + * PLL PPM is passed by the user space using this IOCTL. + */ +#define MSMFB_MDP_SET_PANEL_PPM _IOW(MDP_IOCTL_MAGIC, 131, int) + /* * To allow proper structure padding for 64bit/32bit target */ -- cgit v1.2.3