dim2_hdm.h 713 B

123456789101112131415161718192021222324252627
  1. /*
  2. * dim2_hdm.h - MediaLB DIM2 HDM Header
  3. *
  4. * Copyright (C) 2015, Microchip Technology Germany II GmbH & Co. KG
  5. *
  6. * This program is distributed in the hope that it will be useful,
  7. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  9. * GNU General Public License for more details.
  10. *
  11. * This file is licensed under GPLv2.
  12. */
  13. #ifndef DIM2_HDM_H
  14. #define DIM2_HDM_H
  15. struct device;
  16. /* platform dependent data for dim2 interface */
  17. struct dim2_platform_data {
  18. int (*init)(struct dim2_platform_data *pd, void *io_base,
  19. int clk_speed);
  20. void (*destroy)(struct dim2_platform_data *pd);
  21. void *priv;
  22. };
  23. #endif /* DIM2_HDM_H */