mdss_hdmi_mhl.h 980 B

12345678910111213141516171819202122232425262728
  1. /* Copyright (c) 2013, The Linux Foundation. All rights reserved.
  2. *
  3. * This program is free software; you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License version 2 and
  5. * only version 2 as published by the Free Software Foundation.
  6. *
  7. * This program is distributed in the hope that it will be useful,
  8. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. * GNU General Public License for more details.
  11. *
  12. */
  13. #ifndef __MDSS_HDMI_MHL_H__
  14. #define __MDSS_HDMI_MHL_H__
  15. #include <linux/platform_device.h>
  16. struct msm_hdmi_mhl_ops {
  17. u8 (*tmds_enabled)(struct platform_device *pdev);
  18. int (*set_mhl_max_pclk)(struct platform_device *pdev, u32 max_val);
  19. int (*set_upstream_hpd)(struct platform_device *pdev, uint8_t on);
  20. };
  21. int msm_hdmi_register_mhl(struct platform_device *pdev,
  22. struct msm_hdmi_mhl_ops *ops, void *data);
  23. #endif /* __MDSS_HDMI_MHL_H__ */