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 11 #include <linux/i2c.h> 12 #include <drm/drmP.h> 13 14 struct armada_drm_slave_config { 15 int i2c_adapter_id; 16 uint32_t crtcs; 17 uint8_t polled; 18 bool interlace_allowed; 19 bool doublescan_allowed; 20 struct i2c_board_info info; 21 }; 22 23 int armada_drm_connector_slave_create(struct drm_device *dev, 24 const struct armada_drm_slave_config *); 25 26 #endif 27