drm/rockchip: find connector by device node
[firefly-linux-kernel-4.4.55.git] / include / drm / drm_crtc.h
index 9c37e6bd301c8ddcf92066fabb06ca4eca43dda3..0fc87d4cf31cfe7c94aa29585252a3ec995990b5 100644 (file)
@@ -610,6 +610,7 @@ struct drm_encoder {
 /**
  * struct drm_connector - central DRM connector control structure
  * @dev: parent DRM device
+ * @port: OF node used by find connector by node.
  * @kdev: kernel device for sysfs attributes
  * @attr: sysfs attributes
  * @head: list management
@@ -664,6 +665,7 @@ struct drm_encoder {
  */
 struct drm_connector {
        struct drm_device *dev;
+       struct device_node *port;
        struct device *kdev;
        struct device_attribute *attr;
        struct list_head head;