adv7511.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Analog Devices ADV7511 HDMI Transmitter Device Driver
  3. *
  4. * Copyright 2013 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
  5. *
  6. * This program is free software; you may redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; version 2 of the License.
  9. *
  10. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  11. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  12. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  13. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
  14. * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  15. * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  16. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  17. * SOFTWARE.
  18. */
  19. #ifndef ADV7511_H
  20. #define ADV7511_H
  21. /* notify events */
  22. #define ADV7511_MONITOR_DETECT 0
  23. #define ADV7511_EDID_DETECT 1
  24. struct adv7511_monitor_detect {
  25. int present;
  26. };
  27. struct adv7511_edid_detect {
  28. int present;
  29. int segment;
  30. };
  31. struct adv7511_cec_arg {
  32. void *arg;
  33. u32 f_flags;
  34. };
  35. struct adv7511_platform_data {
  36. u8 i2c_edid;
  37. u8 i2c_cec;
  38. u8 i2c_pktmem;
  39. u32 cec_clk;
  40. };
  41. #endif