|
【Android】
AIO-Rk3399Pro-JD4 为什么LVDS VCC电压一直为0
发表于 2022-3-13 15:42:43
浏览:5246
|
回复:3
打印
只看该作者
[复制链接]
楼主
本帖最后由 RobinXu 于 2022-3-13 15:55 编辑
DTS文件:rk3399pro-firefly-aiojd4-lvds.dts
- /dts-v1/;
- #include "rk3399pro-firefly-aiojd4.dtsi"
- / {
- model = "AIO-RK3399pro-JD4 8.0 inch lvds (Android 9.0)";
- compatible = "rockchip,rk3399pro-firefly-aiojd4-lvds", "rockchip,rk3399pro";
- };
- &backlight {
- status = "okay";
- pwms = <&pwm0 0 25000 1>;
- brightness-levels = <
- 0 1 2 3 4 5 6 7
- 8 9 10 11 12 13 14 15
- 16 17 18 19 20 21 22 23
- 24 25 26 27 28 29 30 31
- 32 33 34 35 36 37 38 39
- 40 41 42 43 44 45 46 47
- 48 49 50 51 52 53 54 55
- 56 57 58 59 60 61 62 63
- 64 65 66 67 68 69 70 71
- 72 73 74 75 76 77 78 79
- 80 81 82 83 84 85 86 87
- 88 89 90 91 92 93 94 95
- 96 97 98 99 100 101 102 103
- 104 105 106 107 108 109 110 111
- 112 113 114 115 116 117 118 119
- 120 121 122 123 124 125 126 127
- 128 129 130 131 132 133 134 135
- 136 137 138 139 140 141 142 143
- 144 145 146 147 148 149 150 151
- 152 153 154 155 156 157 158 159
- 160 161 162 163 164 165 166 167
- 168 169 170 171 172 173 174 175
- 176 177 178 179 180 181 182 183
- 184 185 186 187 188 189 190 191
- 192 193 194 195 196 197 198 199
- 200 201 202 203 204 205 206 207
- 208 209 210 211 212 213 214 215
- 216 217 218 219 220 221 222 223
- 224 225 226 227 228 229 230 231
- 232 233 234 235 236 237 238 239
- 240 241 242 243 244 245 246 247
- 248 249 250 251 252 253 254 255
- >;
- default-brightness-level = <10>;
- enable-gpios = <&gpio1 RK_PC5 GPIO_ACTIVE_HIGH>;
- };
- &dsi {
- status = "okay";
- rockchip,lane-rate = <864>;
- panel@0 {
- compatible ="simple-panel-dsi";
- reg = <0>;
- backlight = <&backlight>;
- enable-gpios = <&gpio4 RK_PD6 GPIO_ACTIVE_HIGH>; // LCD_EN
- //enable-tc-gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>; // MIPI power enable
- reset-gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>; // LCD_Reset
-
- dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
- MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>;
- dsi,format = <MIPI_DSI_FMT_RGB888>;
- bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;
- dsi,lanes = <4>;
- //dsi,channel = <0>;
- reset-delay-ms = <20>;
- init-delay-ms = <20>;
- enable-delay-ms = <120>;
- prepare-delay-ms = <120>;
- //unprepare-delay-ms = <0>;
- //disable-delay-ms = <20>;
- //size,width = <120>;
- //size,height = <170>;
- status = "okay";
- panel-init-sequence = [
- 29 02 06 3C 01 03 00 02 00
- 29 02 06 14 01 02 00 00 00
- 29 02 06 64 01 02 00 00 00
- 29 02 06 68 01 02 00 00 00
- 29 02 06 6C 01 02 00 00 00
- 29 02 06 70 01 02 00 00 00
- 29 02 06 34 01 1F 00 00 00
- 29 02 06 10 02 1F 00 00 00
- 29 02 06 04 01 01 00 00 00
- 29 02 06 04 02 01 00 00 00
- 29 02 06 50 04 20 01 F0 03
- 29 02 06 54 04 14 00 96 00
- 29 02 06 58 04 00 04 96 00
- 29 02 06 5C 04 05 00 0F 00
- 29 02 06 60 04 58 02 0F 00
- 29 02 06 64 04 01 00 00 00
- 29 02 06 A0 04 2D 80 44 00
- 29 02 06 A0 04 2D 80 04 00
- 29 02 06 04 05 04 00 00 00
- 29 02 06 9C 04 31 00 00 00
- ];
- panel-exit-sequence = [
- 05 05 01 28
- 05 78 01 10
- ];
- display-timings {
- native-mode = <&timing0>;
- compatible = "rockchip,display-timings";
- timing0: timing0 {
- clock-frequency = <51200000>;
- hactive = <1024>;
- vactive = <600>;
-
- hback-porch = <160>;
- hfront-porch = <150>;
- hsync-len = <10>;
-
- vback-porch = <16>;
- vfront-porch = <14>;
- vsync-len = <5>;
-
- hsync-active = <0>;
- vsync-active = <0>;
- de-active = <0>;
- pixelclk-active = <0>;
- };
- };
- };
- };
- /* kernel启动时logo显示 */
- &route_dsi {
- status = "okay";
- logo,mode = "center";
- charge_logo,mode = "center";
- logo,uboot = "logo.bmp";
- logo,kernel = "logo_kernel.bmp";
- connect = <&vopb_out_dsi>;
- };
- &route_hdmi {
- status = "okay";
- logo,mode = "center";
- };
- //Uboot fb DSI
- &vopb_out_dsi {
- status = "okay";
- };
- &vopl_out_dsi {
- status = "disabled";
- };
- &dsi_in_vopl {
- status = "disabled";
- };
- &dsi_in_vopb {
- status = "okay";
- };
- &pwm0 {
- status = "okay";
- };
- &hdmi {
- status = "okay";
- rockchip,phy-table =
- <74250000 0x8009 0x0004 0x0272>,
- <165000000 0x802b 0x0004 0x0209>,
- <297000000 0x8039 0x0005 0x028d>,
- <594000000 0x8039 0x0000 0x00f6>,
- <000000000 0x0000 0x0000 0x0000>;
- };
- &hdmi_dp_sound {
- status = "okay";
- };
- &hdmi_in_vopb {
- status = "disabled";
- };
- &hdmi_in_vopl {
- status = "okay";
- };
- &dp_in_vopb {
- status = "disabled";
- };
- &vopb {
- assigned-clocks = <&cru DCLK_VOP0_DIV>;
- assigned-clock-parents = <&cru PLL_CPLL>;
- };
- &vopl {
- assigned-clocks = <&cru DCLK_VOP1_DIV>;
- assigned-clock-parents = <&cru PLL_VPLL>;
- };
- &i2c4 {
- status = "okay";
- i2c-scl-rising-time-ns = <345>;
- i2c-scl-falling-time-ns = <11>;
- gslx680: gslx680@41 {
- status = "okay";
- compatible = "gslX680";
- reg = <0x41>;
- screen_max_x = <1024>;
- screen_max_y = <600>;
- touch-gpio = <&gpio4 RK_PD5 IRQ_TYPE_LEVEL_LOW>;
- reset-gpio = <&gpio4 RK_PD4 GPIO_ACTIVE_HIGH>;
- flip-x = <1>;
- flip-y = <0>;
- swap-xy = <0>;
- gsl,fw = <1>;
- };
- };
复制代码
板子启动信息:
……
……
Model: AIO-RK3399pro-JD4 8.0 inch lvds (Android 9.0)
Rockchip UBOOT DRM driver version: v1.0.1
Using display timing dts
Detailed mode clock 51200 kHz, flags[a]
H: 1024 1174 1184 1344
V: 0600 0614 0619 0635
bus_format: 100a
final DSI-Link bandwidth: 864 Mbps x 4
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 24000 KHz, init 24000 KHz, kernel 0N/A)
……
……
屏信息:
|
|