summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Semwal <sumit.semwal@linaro.org>2019-07-30 19:20:13 +0530
committerSumit Semwal <sumit.semwal@linaro.org>2019-09-03 20:27:16 +0530
commit7d25d081212cce676a792db02e7dc17adfbea436 (patch)
tree13dc593f59029ff5fd83c9d1e79da12289d55233
parentc6287e60acf6555a15280c5e2c54416a25af7682 (diff)
panel: sw43408: enable lab regulator, and keep ldo28 on
-rw-r--r--arch/arm64/boot/dts/qcom/sdm845-blueline.dts1
-rw-r--r--drivers/gpu/drm/panel/panel-lg-sw43408.c6
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm64/boot/dts/qcom/sdm845-blueline.dts b/arch/arm64/boot/dts/qcom/sdm845-blueline.dts
index 9a81042ea66b..f49d1d1b46a0 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-blueline.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-blueline.dts
@@ -330,6 +330,7 @@
regulator-min-microvolt = <2856000>;
regulator-max-microvolt = <3008000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-boot-on;
};
};
diff --git a/drivers/gpu/drm/panel/panel-lg-sw43408.c b/drivers/gpu/drm/panel/panel-lg-sw43408.c
index 27462811630f..5b6d3d22212b 100644
--- a/drivers/gpu/drm/panel/panel-lg-sw43408.c
+++ b/drivers/gpu/drm/panel/panel-lg-sw43408.c
@@ -39,19 +39,19 @@ struct panel_cmd {
static const char * const regulator_names[] = {
"vddi",
"vpnl",
-// "lab", // Validate the name
+ "lab_reg", // Validate the name
};
static unsigned long const regulator_enable_loads[] = {
62000,
857000,
-// 0, // Confirm this value
+ 100000, // Confirm this value
};
static unsigned long const regulator_disable_loads[] = {
80,
0,
-// 0, // confirm this value
+ 100, // confirm this value
};
struct panel_desc {