Skip to content

Commit 4148d4e

Browse files
RooGhz720vbajs
authored andcommitted
arm64: adapt 90hz configurasi and recalculate lower brightness
Signed-off-by: RooGhz720 <rooghz720@gmail.com> Signed-off-by: Yahya Wessam <yahyawessam2002@gmail.com>
1 parent 95b6628 commit 4148d4e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

arch/arm64/boot/dts/qcom/xiaomi/sweet/dsi-panel-k6-38-0c-0a-fhd-dsc-video.dtsi

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,13 @@
177177
39 00 00 00 00 00 02 F7 0B
178178
39 01 00 00 00 00 03 F0 A5 A5];
179179
qcom,mdss-dsi-dispparam-bc-120hz-command-state = "dsi_lp_mode";
180+
qcom,mdss-dsi-dispparam-bc-90hz-command = [
181+
/* Brightness Control - Freq Setting */
182+
39 00 00 00 00 00 03 F0 5A 5A
183+
39 00 00 00 00 00 02 60 01
184+
39 00 00 00 00 00 02 F7 0B
185+
39 01 00 00 00 00 03 F0 A5 A5];
186+
qcom,mdss-dsi-dispparam-bc-90hz-command-state = "dsi_lp_mode";
180187
qcom,mdss-dsi-dispparam-bc-60hz-command = [
181188
/* Brightness Control - Freq Setting */
182189
39 00 00 00 00 00 03 F0 5A 5A
@@ -204,6 +211,16 @@
204211
39 01 00 00 00 00 03 51 01 E8
205212
];
206213
qcom,mdss-dsi-dispparam-60hz-dc-crc-setting-command-state = "dsi_lp_mode";
214+
qcom,mdss-dsi-dispparam-90hz-dc-crc-setting-command = [
215+
39 01 00 00 00 00 03 F0 5A 5A
216+
39 00 00 00 00 00 02 80 05
217+
39 00 00 00 00 00 02 B1 00
218+
39 00 00 00 00 00 04 B0 00 01 B1
219+
39 00 00 00 00 00 16 B1 01 00 00 00 01 00 00 00 01 00 01 01 01 00 01 01 01 00 01 01 01
220+
39 00 00 00 00 00 03 F0 A5 A5
221+
39 00 00 00 00 00 03 51 01 E8
222+
];
223+
qcom,mdss-dsi-dispparam-90hz-dc-crc-setting-command-state = "dsi_lp_mode";
207224
qcom,mdss-dsi-dispparam-120hz-dc-crc-setting-command = [
208225
39 01 00 00 00 00 03 F0 5A 5A
209226
39 00 00 00 00 00 02 80 05

0 commit comments

Comments
 (0)