drm/rockchip: lvds: mipi_lvds_ctl set to mipi dsi controller base address
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / drm / rockchip / rockchip_lvds.h
index 28ac030effec5751df54dd3ff82daf50a1b5a49b..62772d51f0406699cae5d030c4cf06108d82dafa 100644 (file)
 #define v_LANE1_EN(x)          BITS_MASK(x, 1, 6)
 #define v_LANE0_EN(x)          BITS_MASK(x, 1, 7)
 
+/* MIPI DSI Controller register */
+#define MIPIC_PHY_RSTZ         0x00a0
+#define m_PHY_ENABLE_CLK       BIT(2)
+#define MIPIC_PHY_STATUS       0x00b0
+#define m_PHY_LOCK_STATUS      BIT(0)
+
 #define v_RK336X_LVDS_OUTPUT_FORMAT(x) (BITS_MASK(x, 3, 13) | BITS_EN(3, 13))
 #define v_RK336X_LVDS_MSBSEL(x)                (BITS_MASK(x, 1, 11) | BITS_EN(1, 11))
 #define v_RK336X_LVDSMODE_EN(x)                (BITS_MASK(x, 1, 12) | BITS_EN(1, 12))