drm/i915/glk: Add new bit fields in MIPI CTRL register
authorDeepak M <m.deepak@intel.com>
Thu, 15 Dec 2016 09:01:32 +0000 (14:31 +0530)
committerJani Nikula <jani.nikula@intel.com>
Wed, 21 Dec 2016 11:45:05 +0000 (13:45 +0200)
v2: Addressed Jani's Review comments (renamed bit field macros)

Signed-off-by: Deepak M <m.deepak@intel.com>
Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1481792500-30863-2-git-send-email-madhav.chauhan@intel.com
drivers/gpu/drm/i915/i915_reg.h

index 90685d235410212dd7b148d74f964676a6e6c34c..8e47b5926c6c9501c5b3d86ef82e888bbfe82568 100644 (file)
@@ -8672,6 +8672,21 @@ enum {
 #define  BXT_PIPE_SELECT_SHIFT                         7
 #define  BXT_PIPE_SELECT_MASK                          (7 << 7)
 #define  BXT_PIPE_SELECT(pipe)                         ((pipe) << 7)
+#define  GLK_PHY_STATUS_PORT_READY                     (1 << 31) /* RO */
+#define  GLK_ULPS_NOT_ACTIVE                           (1 << 30) /* RO */
+#define  GLK_MIPIIO_RESET_RELEASED                     (1 << 28)
+#define  GLK_CLOCK_LANE_STOP_STATE                     (1 << 27) /* RO */
+#define  GLK_DATA_LANE_STOP_STATE                      (1 << 26) /* RO */
+#define  GLK_LP_WAKE                                   (1 << 22)
+#define  GLK_LP11_LOW_PWR_MODE                         (1 << 21)
+#define  GLK_LP00_LOW_PWR_MODE                         (1 << 20)
+#define  GLK_FIREWALL_ENABLE                           (1 << 16)
+#define  BXT_PIXEL_OVERLAP_CNT_MASK                    (0xf << 10)
+#define  BXT_PIXEL_OVERLAP_CNT_SHIFT                   10
+#define  BXT_DSC_ENABLE                                        (1 << 3)
+#define  BXT_RGB_FLIP                                  (1 << 2)
+#define  GLK_MIPIIO_PORT_POWERED                       (1 << 1) /* RO */
+#define  GLK_MIPIIO_ENABLE                             (1 << 0)
 
 #define _MIPIA_DATA_ADDRESS            (dev_priv->mipi_mmio_base + 0xb108)
 #define _MIPIC_DATA_ADDRESS            (dev_priv->mipi_mmio_base + 0xb908)