armada_slave.h 609 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) 2012 Russell King
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef ARMADA_SLAVE_H
  9. #define ARMADA_SLAVE_H
  10. #include <linux/i2c.h>
  11. #include <drm/drmP.h>
  12. struct armada_drm_slave_config {
  13. int i2c_adapter_id;
  14. uint32_t crtcs;
  15. uint8_t polled;
  16. bool interlace_allowed;
  17. bool doublescan_allowed;
  18. struct i2c_board_info info;
  19. };
  20. int armada_drm_connector_slave_create(struct drm_device *dev,
  21. const struct armada_drm_slave_config *);
  22. #endif