M7350/kernel/arch/arm/boot/dts/qcom/dsi-panel-hx8379a-fwvga-video.dtsi
2024-09-09 08:57:42 +00:00

119 lines
3.3 KiB
Plaintext

/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
&mdss_mdp {
dsi_hx8379a_fwvga_video: qcom,mdss_dsi_hx8379a_fwvga_video {
qcom,mdss-dsi-panel-name = "HX8379A fwvga video mode dsi panel";
qcom,mdss-dsi-panel-type = "dsi_video_mode";
qcom,mdss-dsi-panel-framerate = <60>;
qcom,mdss-dsi-virtual-channel-id = <0>;
qcom,mdss-dsi-stream = <0>;
qcom,mdss-dsi-panel-width = <480>;
qcom,mdss-dsi-panel-height = <854>;
qcom,mdss-dsi-h-front-porch = <100>;
qcom,mdss-dsi-h-back-porch = <94>;
qcom,mdss-dsi-h-pulse-width = <40>;
qcom,mdss-dsi-h-sync-skew = <0>;
qcom,mdss-dsi-v-back-porch = <4>;
qcom,mdss-dsi-v-front-porch = <6>;
qcom,mdss-dsi-v-pulse-width = <6>;
qcom,mdss-dsi-h-left-border = <0>;
qcom,mdss-dsi-h-right-border = <0>;
qcom,mdss-dsi-v-top-border = <0>;
qcom,mdss-dsi-v-bottom-border = <0>;
qcom,mdss-dsi-bpp = <24>;
qcom,mdss-dsi-color-order = "rgb_swap_rgb";
qcom,mdss-dsi-underflow-color = <0xff>;
qcom,mdss-dsi-border-color = <0>;
qcom,mdss-dsi-on-command = [
39 01 00 00 00 00 04
B9 FF 83 79
39 01 00 00 00 00 03
BA 51 93
39 01 00 00 00 00 14
B1 00 50 24
EA 51 08 11
10 F0 27 2F
9A 1A 42 0B
7A F1 00 E6
39 01 00 00 00 00 0E
B2 00 00 FE
07 03 19 44
00 FF 07 03
19 20
39 01 00 00 00 00 20
B4 82 08 00
32 10 03 32
13 70 32 10
08 37 01 28
07 37 08 3C
08 3E 3E 08
00 40 08 28
08 30 30 04
23 01 00 00 00 00 02
cc 02
39 01 00 00 00 00 30
D5 00 00 0A
00 01 05 00
03 00 88 88
88 88 23 01
67 45 02 13
88 88 88 88
88 88 88 88
88 88 54 76
10 32 31 20
88 88 88 88
88 88 00 00
00 00 00 00
39 01 00 00 00 00 24
E0 79 00 0F
14 22 22 39
2F 43 04 0A
12 14 17 15
16 12 16 00
0F 14 22 22
39 2F 43 04
0A 12 14 17
15 16 12 16
39 01 00 00 00 00 05
B6 00 9C 00
9C
05 01 00 00 96 00 02
11 00
05 01 00 00 0A 00 02
29 00
];
qcom,mdss-dsi-off-command = [05 01 00 00 32 00 02 28 00
05 01 00 00 78 00 02 10 00];
qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
qcom,mdss-dsi-h-sync-pulse = <1>;
qcom,mdss-dsi-traffic-mode = "burst_mode";
qcom,mdss-dsi-bllp-eof-power-mode;
qcom,mdss-dsi-bllp-power-mode;
qcom,mdss-dsi-lane-0-state;
qcom,mdss-dsi-lane-1-state;
qcom,mdss-dsi-panel-timings = [8B 1f 14 00 45 4A 19 23 23 03 04 00];
qcom,mdss-dsi-t-clk-post = <0x04>;
qcom,mdss-dsi-t-clk-pre = <0x1D>;
qcom,mdss-dsi-bl-min-level = <1>;
qcom,mdss-dsi-bl-max-level = <255>;
qcom,mdss-dsi-dma-trigger = "trigger_sw";
qcom,mdss-dsi-mdp-trigger = "none";
qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm";
qcom,mdss-dsi-bl-pmic-pwm-frequency = <30>;
qcom,mdss-dsi-bl-pmic-bank-select = <0>;
qcom,mdss-dsi-pwm-gpio = <&pm8916_mpps 4 0>;
qcom,mdss-dsi-reset-sequence = <1 20>, <0 2>, <1 20>;
};
};