diff options
-rw-r--r-- | drivers/video/tegra/Kconfig.display | 6 | ||||
-rw-r--r-- | drivers/video/tegra/dc/Makefile | 1 | ||||
-rw-r--r-- | drivers/video/tegra/dc/ds90ub947-q1.c (renamed from drivers/video/ds90ub947-q1.c) | 3 | ||||
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 4 | ||||
-rw-r--r-- | drivers/video/tegra/dc/dsi.h | 2 |
5 files changed, 11 insertions, 5 deletions
diff --git a/drivers/video/tegra/Kconfig.display b/drivers/video/tegra/Kconfig.display index 4c4f60639..0efaa0693 100644 --- a/drivers/video/tegra/Kconfig.display +++ b/drivers/video/tegra/Kconfig.display | |||
@@ -230,6 +230,12 @@ config TEGRA_DSI2LVDS_SN65DSI85 | |||
230 | help | 230 | help |
231 | Say Y here to enable the DSI2LVDS TI SN65DSI85 adapter. | 231 | Say Y here to enable the DSI2LVDS TI SN65DSI85 adapter. |
232 | 232 | ||
233 | config TEGRA_LVDS2FPDL_DS90UB947 | ||
234 | bool "DS90UB947-Q1 1080p OpenLDS to FPD-Link III Serializer driver" | ||
235 | default n | ||
236 | help | ||
237 | Enable support for TI DS90UB947-Q1 LVDS-to-FPD-Link Serializer driver. | ||
238 | |||
233 | config TEGRA_DP | 239 | config TEGRA_DP |
234 | bool "Enable eDP panel." | 240 | bool "Enable eDP panel." |
235 | default y | 241 | default y |
diff --git a/drivers/video/tegra/dc/Makefile b/drivers/video/tegra/dc/Makefile index ce7045dcc..66b55b9fd 100644 --- a/drivers/video/tegra/dc/Makefile +++ b/drivers/video/tegra/dc/Makefile | |||
@@ -23,6 +23,7 @@ obj-$(CONFIG_TEGRA_HDMI2FPD_DS90UH949) += hdmi2fpd_ds90uh949.o | |||
23 | obj-$(CONFIG_TEGRA_DSI2EDP_TC358767) += tc358767_dsi2edp.o | 23 | obj-$(CONFIG_TEGRA_DSI2EDP_TC358767) += tc358767_dsi2edp.o |
24 | obj-$(CONFIG_TEGRA_DSI2EDP_SN65DSI86) += sn65dsi86_dsi2edp.o | 24 | obj-$(CONFIG_TEGRA_DSI2EDP_SN65DSI86) += sn65dsi86_dsi2edp.o |
25 | obj-$(CONFIG_TEGRA_DSI2LVDS_SN65DSI85) += sn65dsi85_dsi2lvds.o | 25 | obj-$(CONFIG_TEGRA_DSI2LVDS_SN65DSI85) += sn65dsi85_dsi2lvds.o |
26 | obj-$(CONFIG_TEGRA_LVDS2FPDL_DS90UB947) += ds90ub947-q1.o | ||
26 | obj-$(CONFIG_TEGRA_MIPI_CAL) += mipi_cal.o | 27 | obj-$(CONFIG_TEGRA_MIPI_CAL) += mipi_cal.o |
27 | obj-$(CONFIG_TEGRA_NVHDCP) += nvhdcp.o | 28 | obj-$(CONFIG_TEGRA_NVHDCP) += nvhdcp.o |
28 | ifneq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) | 29 | ifneq ($(CONFIG_ARCH_TEGRA_18x_SOC),y) |
diff --git a/drivers/video/ds90ub947-q1.c b/drivers/video/tegra/dc/ds90ub947-q1.c index 700452fc9..6c2463fcb 100644 --- a/drivers/video/ds90ub947-q1.c +++ b/drivers/video/tegra/dc/ds90ub947-q1.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <linux/debugfs.h> | 25 | #include <linux/debugfs.h> |
26 | #include <linux/mutex.h> | 26 | #include <linux/mutex.h> |
27 | #include <linux/delay.h> | 27 | #include <linux/delay.h> |
28 | #include "../../../display/drivers/video/tegra/dc/dsi.h" | 28 | #include "dsi.h" |
29 | 29 | ||
30 | #define DEV_NAME "ds90ub947-q1" | 30 | #define DEV_NAME "ds90ub947-q1" |
31 | #define DS90UB947_GENERAL_STATUS 0x0C | 31 | #define DS90UB947_GENERAL_STATUS 0x0C |
@@ -111,7 +111,6 @@ static int ds90ub947_init(struct ds90ub947_data *data) | |||
111 | } | 111 | } |
112 | } | 112 | } |
113 | mutex_unlock(&data->lock); | 113 | mutex_unlock(&data->lock); |
114 | pr_info("%s: returning %d\n", __func__, ret); | ||
115 | return ret; | 114 | return ret; |
116 | } | 115 | } |
117 | 116 | ||
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index a2c815ec3..1b1f15df6 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c | |||
@@ -5880,13 +5880,13 @@ bool tegra_dc_dsi_detect(struct tegra_dc *dc) | |||
5880 | { | 5880 | { |
5881 | bool result = true; | 5881 | bool result = true; |
5882 | 5882 | ||
5883 | #if defined(CONFIG_DS90UB947) | 5883 | #if defined(CONFIG_TEGRA_LVDS2FPDL_DS90UB947) |
5884 | /* DrivePX2: DSI->sn65dsi85(LVDS)->ds90ub947(FPDLink) */ | 5884 | /* DrivePX2: DSI->sn65dsi85(LVDS)->ds90ub947(FPDLink) */ |
5885 | struct tegra_dc_dsi_data *dsi = tegra_dc_get_outdata(dc); | 5885 | struct tegra_dc_dsi_data *dsi = tegra_dc_get_outdata(dc); |
5886 | 5886 | ||
5887 | if (dsi->info.dsi2lvds_bridge_enable) | 5887 | if (dsi->info.dsi2lvds_bridge_enable) |
5888 | result = ds90ub947_lvds2fpdlink3_detect(dc); | 5888 | result = ds90ub947_lvds2fpdlink3_detect(dc); |
5889 | #endif /*defined(CONFIG_DS90UB947)*/ | 5889 | #endif /*defined(CONFIG_TEGRA_LVDS2FPDL_DS90UB947)*/ |
5890 | return result; | 5890 | return result; |
5891 | } | 5891 | } |
5892 | 5892 | ||
diff --git a/drivers/video/tegra/dc/dsi.h b/drivers/video/tegra/dc/dsi.h index f2476daea..c812aacca 100644 --- a/drivers/video/tegra/dc/dsi.h +++ b/drivers/video/tegra/dc/dsi.h | |||
@@ -485,7 +485,7 @@ extern struct tegra_dsi_out_ops tegra_dsi2lvds_ops; | |||
485 | #define tegra_dsi2lvds_ops (*(struct tegra_dsi_out_ops *)NULL) | 485 | #define tegra_dsi2lvds_ops (*(struct tegra_dsi_out_ops *)NULL) |
486 | #endif | 486 | #endif |
487 | 487 | ||
488 | #if defined(CONFIG_DS90UB947) | 488 | #if defined(CONFIG_TEGRA_LVDS2FPDL_DS90UB947) |
489 | extern bool ds90ub947_lvds2fpdlink3_detect(struct tegra_dc *dc); | 489 | extern bool ds90ub947_lvds2fpdlink3_detect(struct tegra_dc *dc); |
490 | #endif | 490 | #endif |
491 | 491 | ||