|
@@ -43,8 +43,6 @@
|
|
#define GRF_SOC_CON9 0x6224
|
|
#define GRF_SOC_CON9 0x6224
|
|
#define DP_SEL_VOP_LIT BIT(12)
|
|
#define DP_SEL_VOP_LIT BIT(12)
|
|
#define GRF_SOC_CON26 0x6268
|
|
#define GRF_SOC_CON26 0x6268
|
|
-#define UPHY_SEL_BIT 3
|
|
|
|
-#define UPHY_SEL_MASK BIT(19)
|
|
|
|
#define DPTX_HPD_SEL (3 << 12)
|
|
#define DPTX_HPD_SEL (3 << 12)
|
|
#define DPTX_HPD_DEL (2 << 12)
|
|
#define DPTX_HPD_DEL (2 << 12)
|
|
#define DPTX_HPD_SEL_MASK (3 << 28)
|
|
#define DPTX_HPD_SEL_MASK (3 << 28)
|
|
@@ -394,11 +392,6 @@ static int cdn_dp_enable_phy(struct cdn_dp_device *dp, struct cdn_dp_port *port)
|
|
union extcon_property_value property;
|
|
union extcon_property_value property;
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
- ret = cdn_dp_grf_write(dp, GRF_SOC_CON26,
|
|
|
|
- (port->id << UPHY_SEL_BIT) | UPHY_SEL_MASK);
|
|
|
|
- if (ret)
|
|
|
|
- return ret;
|
|
|
|
-
|
|
|
|
if (!port->phy_enabled) {
|
|
if (!port->phy_enabled) {
|
|
ret = phy_power_on(port->phy);
|
|
ret = phy_power_on(port->phy);
|
|
if (ret) {
|
|
if (ret) {
|