aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Semwal <sumit.semwal@linaro.org>2019-10-16 22:16:51 +0530
committerVinod Koul <vkoul@kernel.org>2019-12-10 09:59:54 +0530
commit56ef524f7d8b4059a3cc61dfd152b011c11118c9 (patch)
tree29c0978c414426dcb96bd8da1e6291f3e6ac8155
parente6b155d95b058ee68c1a0906b8b617f5c7bbb11d (diff)
lg-sw43408: some fixups.
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org> Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845-blueline.dts4
-rw-r--r--drivers/gpu/drm/panel/panel-lg-sw43408.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845-blueline.dts b/arch/arm64/boot/dts/qcom/sdm845-blueline.dts
index de1f8a91ed6c..dad0a89ed1ba 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-blueline.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-blueline.dts
@@ -672,3 +672,7 @@
&mdss_mdp {
status = "okay";
};
+
+&labibb {
+ status = "okay";
+};
diff --git a/drivers/gpu/drm/panel/panel-lg-sw43408.c b/drivers/gpu/drm/panel/panel-lg-sw43408.c
index c8be7a81e90d..0f9c0f3f22c2 100644
--- a/drivers/gpu/drm/panel/panel-lg-sw43408.c
+++ b/drivers/gpu/drm/panel/panel-lg-sw43408.c
@@ -293,7 +293,7 @@ static int lg_panel_prepare(struct drm_panel *panel)
msleep(135);
/* Set DCS_COMPRESSION_MODE */
- err = mipi_dsi_dcs_write(pinfo->link, MIPI_DSI_DCS_COMPRESSION_MODE, (u8[]){ 0x11 }, 1);
+ err = mipi_dsi_dcs_write(pinfo->link, MIPI_DSI_DCS_COMPRESSION_MODE, (u8[]){ 0x11 }, 0);
if (err < 0) {
DRM_DEV_ERROR(panel->dev,
"failed to set compression mode: %d\n", err);
@@ -470,7 +470,7 @@ static const struct panel_cmd lg_sw43408_on_cmds_2[] = {
0x01),
_INIT_CMD(0x00, 0x55, 0x04, 0x61, 0xDB, 0x04, 0x70, 0xDB),
_INIT_CMD(0x00, 0xB0, 0xCA),
- _INIT_CMD(0x00, 0x29),
+// _INIT_CMD(0x00, 0x29),
{},
};