hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
add dts config
6 files modified
1171 ■■■■■ changed files
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi 95 ●●●● patch | view | raw | blame | history
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi 983 ●●●●● patch | view | raw | blame | history
kernel/arch/arm64/boot/dts/rockchip/rk3568.dtsi 8 ●●●● patch | view | raw | blame | history
kernel/arch/arm64/configs/rockchip_linux_defconfig 77 ●●●●● patch | view | raw | blame | history
kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c 4 ●●● patch | view | raw | blame | history
mk-rootfs.sh 4 ●●●● patch | view | raw | blame | history
kernel/arch/arm64/boot/dts/rockchip/NK-R36S0.dtsi
....@@ -69,7 +69,9 @@
6969 regulator-name = "vcc3v3_pcie";
7070 regulator-min-microvolt = <3300000>;
7171 regulator-max-microvolt = <3300000>;
72
+ regulator-always-on;
7273 enable-active-high;
74
+ regulator-boot-on;
7375 gpio = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>;
7476 startup-delay-us = <5000>;
7577 vin-supply = <&dc_12v>;
....@@ -148,17 +150,10 @@
148150 gpio_function = <0>;
149151 };
150152
151
- usb_ogt {
152
- gpio_num = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>; //OTG_EN_OC_GPIO0_C2
153
+ wifi_power_en {
154
+ gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>; //WIFI_PWREN_GPIO3_C6_1V8
153155 gpio_function = <0>;
154156 };
155
-
156
- m2_wifi_pwr {
157
- gpio_num = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>;//WIFI_PWREN_GPIO3_C6_1V8
158
- gpio_function = <0>;
159
- };
160
-
161
-
162157 #if 0
163158 do1 {
164159 gpio_num = <&gpio1 RK_PD0 GPIO_ACTIVE_LOW>;
....@@ -225,8 +220,9 @@
225220 compatible = "simple-panel";
226221 backlight = <&backlight>;
227222 power-supply = <&vcc3v3_lcd0_n>;
228
- enable-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>; //LCD0_VDD_H_GPIO2_D4
229
- edp-bl-gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; //LCD0_PWBLK_H_GPIO0_B7
223
+ enable-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>; //LCD0_VDD_H_GPIO2_D4
224
+ reset-gpios = <&gpio3 RK_PD1 GPIO_ACTIVE_LOW>; //7511_RST_GPIO3_D1
225
+ edp-bl-gpios = <&gpio0 RK_PB7 GPIO_ACTIVE_HIGH>; //LCD0_BKLT_EN_3V3
230226 edp-bl-en = <&gpio0 RK_PB0 GPIO_ACTIVE_HIGH>; //LCD0_BKLT_EN_3V3
231227 bus-format = <MEDIA_BUS_FMT_RGB888_1X24>;
232228 bpc = <8>;
....@@ -239,8 +235,8 @@
239235 nodka-lvds = <15>;
240236
241237 display-timings {
242
- native-mode = <&timing>;
243
- timing: timing {
238
+ native-mode = <&timing0>;
239
+ timing0: timing0 {
244240 clock-frequency = <72500000>;
245241 hactive = <1280>;
246242 vactive = <800>;
....@@ -256,9 +252,9 @@
256252 pixelclk-active = <0>;
257253 };
258254 };
259
- port {
260
- panel_in_lvds: endpoint {
261
- remote-endpoint = <&lvds_out>;
255
+ ports {
256
+ panel_in: endpoint {
257
+ remote-endpoint = <&edp_out>;
262258 };
263259 };
264260 };
....@@ -348,6 +344,10 @@
348344 * video_phy1 needs to be enabled
349345 * when dsi1 is enabled
350346 */
347
+
348
+&video_phy1 {
349
+ status = "okay";
350
+};
351351 &dsi1 {
352352 status = "disabled";
353353 };
....@@ -357,39 +357,40 @@
357357 };
358358
359359 &dsi1_in_vp1 {
360
- status = "disabled";
360
+ status = "okay";
361361 };
362362
363363 &dsi1_panel {
364
- power-supply = <&vcc3v3_lcd1_n>;
364
+ power-supply = <&vcc3v3_lcd1_n>; //MIPI_3V3EN_GPIO3_A3_d_3V3
365
+ vddio-mipi = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>; //MIPI_EN_1V8_GPIO3_A4_d_3V3
366
+ reset-gpios = <&gpio3 RK_PC7 GPIO_ACTIVE_LOW>; //MIPI_RST_L_GPIO3_C7
367
+ vcc-5v-gpio = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; //VCC5_IO_EN_GPIO1_A4_3V3
368
+ pinctrl-names = "default";
369
+ pinctrl-0 = <&lcd1_rst_gpio>;
365370 };
371
+
372
+&route_dsi1 {
373
+ status = "disabled";
374
+ connect = <&vp1_out_dsi1>;
375
+};
376
+
377
+
378
+/*
379
+* edp_start
380
+*/
366381
367382 &edp {
368
- //hpd-gpios = <&gpio0 RK_PC2 GPIO_ACTIVE_HIGH>;
369383 force-hpd;
370384 status = "okay";
371
-};
372
-
373
-&lvds {
374
- status = "disabled";
375385 ports {
376386 port@1 {
377387 reg = <1>;
378
- lvds_out: endpoint {
379
- remote-endpoint = <&panel_in_lvds>;
388
+ edp_out: endpoint {
389
+ remote-endpoint = <&panel_in>;
380390 };
381391 };
382392
383393 };
384
-};
385
-
386
-&route_lvds{
387
- status = "disabled";
388
- connect = <&vp2_out_lvds>;
389
-};
390
-
391
-&lvds_in_vp2 {
392
- status = "disabled";
393394 };
394395
395396 &edp_phy {
....@@ -410,7 +411,9 @@
410411 connect = <&vp1_out_edp>;
411412 };
412413
413
-
414
+&route_edp {
415
+ status = "okay";
416
+};
414417 /*
415418 * edp_end
416419 */
....@@ -625,20 +628,14 @@
625628 };
626629 };
627630
628
-&video_phy0 {
629
- status = "okay";
630
-};
631631
632
-&video_phy1 {
633
- status = "disabled";
634
-};
635632
636633 &pcie30phy {
637634 status = "okay";
638635 };
639636
640
-&pcie3x2 {
641
- reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
637
+&pcie2x1 {
638
+ reset-gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
642639 vpcie3v3-supply = <&vcc3v3_pcie>;
643640 status = "okay";
644641 };
....@@ -694,10 +691,6 @@
694691 <3 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>,
695692 <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,
696693 <3 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>,
697
- <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>, //12
698
- <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>, //13
699
- <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>, //16
700
- <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>, //17
701694 <2 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>,//93 SPI2_CS0_M1_3V3
702695 <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>,//94 SPI2_MOSI_M1_3V3
703696 <2 RK_PD7 RK_FUNC_GPIO &pcfg_pull_none>,//95 SPI2_MISO_M1_3V3
....@@ -799,13 +792,13 @@
799792 };
800793
801794 &uart0 {
802
- status = "disabled";
795
+ status = "okay";
803796 };
804797
805798 &uart1 {
806799 pinctrl-names = "default";
807800 pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>;
808
- status = "disabled";
801
+ status = "okay";
809802 };
810803
811804 &uart3 {
....@@ -824,11 +817,11 @@
824817 };
825818
826819 &uart7 {
827
- status = "disabled";
820
+ status = "okay";
828821 pinctrl-0 = <&uart7m1_xfer>;
829822 };
830823
831824 &uart9 {
832
- status = "disabled";
825
+ status = "okay";
833826 pinctrl-0 = <&uart9m1_xfer>;
834827 };
kernel/arch/arm64/boot/dts/rockchip/rk3568-evb.dtsi
old mode 100644new mode 100755
....@@ -361,7 +361,6 @@
361361 compatible = "wlan-platdata";
362362 rockchip,grf = <&grf>;
363363 wifi_chip_type = "ap6398s";
364
- WIFI,poweren_gpio = <&gpio3 RK_PC6 GPIO_ACTIVE_HIGH>;
365364 status = "okay";
366365 };
367366
....@@ -422,267 +421,198 @@
422421 dsi,format = <MIPI_DSI_FMT_RGB888>;
423422 dsi,lanes = <4>;
424423 panel-init-sequence = [
425
- 23 00 02 FE 21
426
- 23 00 02 04 00
427
- 23 00 02 00 64
428
- 23 00 02 2A 00
429
- 23 00 02 26 64
430
- 23 00 02 54 00
431
- 23 00 02 50 64
432
- 23 00 02 7B 00
433
- 23 00 02 77 64
434
- 23 00 02 A2 00
435
- 23 00 02 9D 64
436
- 23 00 02 C9 00
437
- 23 00 02 C5 64
438
- 23 00 02 01 71
439
- 23 00 02 27 71
440
- 23 00 02 51 71
441
- 23 00 02 78 71
442
- 23 00 02 9E 71
443
- 23 00 02 C6 71
444
- 23 00 02 02 89
445
- 23 00 02 28 89
446
- 23 00 02 52 89
447
- 23 00 02 79 89
448
- 23 00 02 9F 89
449
- 23 00 02 C7 89
450
- 23 00 02 03 9E
451
- 23 00 02 29 9E
452
- 23 00 02 53 9E
453
- 23 00 02 7A 9E
454
- 23 00 02 A0 9E
455
- 23 00 02 C8 9E
456
- 23 00 02 09 00
457
- 23 00 02 05 B0
458
- 23 00 02 31 00
459
- 23 00 02 2B B0
460
- 23 00 02 5A 00
461
- 23 00 02 55 B0
462
- 23 00 02 80 00
463
- 23 00 02 7C B0
464
- 23 00 02 A7 00
465
- 23 00 02 A3 B0
466
- 23 00 02 CE 00
467
- 23 00 02 CA B0
468
- 23 00 02 06 C0
469
- 23 00 02 2D C0
470
- 23 00 02 56 C0
471
- 23 00 02 7D C0
472
- 23 00 02 A4 C0
473
- 23 00 02 CB C0
474
- 23 00 02 07 CF
475
- 23 00 02 2F CF
476
- 23 00 02 58 CF
477
- 23 00 02 7E CF
478
- 23 00 02 A5 CF
479
- 23 00 02 CC CF
480
- 23 00 02 08 DD
481
- 23 00 02 30 DD
482
- 23 00 02 59 DD
483
- 23 00 02 7F DD
484
- 23 00 02 A6 DD
485
- 23 00 02 CD DD
486
- 23 00 02 0E 15
487
- 23 00 02 0A E9
488
- 23 00 02 36 15
489
- 23 00 02 32 E9
490
- 23 00 02 5F 15
491
- 23 00 02 5B E9
492
- 23 00 02 85 15
493
- 23 00 02 81 E9
494
- 23 00 02 AD 15
495
- 23 00 02 A9 E9
496
- 23 00 02 D3 15
497
- 23 00 02 CF E9
498
- 23 00 02 0B 14
499
- 23 00 02 33 14
500
- 23 00 02 5C 14
501
- 23 00 02 82 14
502
- 23 00 02 AA 14
503
- 23 00 02 D0 14
504
- 23 00 02 0C 36
505
- 23 00 02 34 36
506
- 23 00 02 5D 36
507
- 23 00 02 83 36
508
- 23 00 02 AB 36
509
- 23 00 02 D1 36
510
- 23 00 02 0D 6B
511
- 23 00 02 35 6B
512
- 23 00 02 5E 6B
513
- 23 00 02 84 6B
514
- 23 00 02 AC 6B
515
- 23 00 02 D2 6B
516
- 23 00 02 13 5A
517
- 23 00 02 0F 94
518
- 23 00 02 3B 5A
519
- 23 00 02 37 94
520
- 23 00 02 64 5A
521
- 23 00 02 60 94
522
- 23 00 02 8A 5A
523
- 23 00 02 86 94
524
- 23 00 02 B2 5A
525
- 23 00 02 AE 94
526
- 23 00 02 D8 5A
527
- 23 00 02 D4 94
528
- 23 00 02 10 D1
529
- 23 00 02 38 D1
530
- 23 00 02 61 D1
531
- 23 00 02 87 D1
532
- 23 00 02 AF D1
533
- 23 00 02 D5 D1
534
- 23 00 02 11 04
535
- 23 00 02 39 04
536
- 23 00 02 62 04
537
- 23 00 02 88 04
538
- 23 00 02 B0 04
539
- 23 00 02 D6 04
540
- 23 00 02 12 05
541
- 23 00 02 3A 05
542
- 23 00 02 63 05
543
- 23 00 02 89 05
544
- 23 00 02 B1 05
545
- 23 00 02 D7 05
546
- 23 00 02 18 AA
547
- 23 00 02 14 36
548
- 23 00 02 42 AA
549
- 23 00 02 3D 36
550
- 23 00 02 69 AA
551
- 23 00 02 65 36
552
- 23 00 02 8F AA
553
- 23 00 02 8B 36
554
- 23 00 02 B7 AA
555
- 23 00 02 B3 36
556
- 23 00 02 DD AA
557
- 23 00 02 D9 36
558
- 23 00 02 15 74
559
- 23 00 02 3F 74
560
- 23 00 02 66 74
561
- 23 00 02 8C 74
562
- 23 00 02 B4 74
563
- 23 00 02 DA 74
564
- 23 00 02 16 9F
565
- 23 00 02 40 9F
566
- 23 00 02 67 9F
567
- 23 00 02 8D 9F
568
- 23 00 02 B5 9F
569
- 23 00 02 DB 9F
570
- 23 00 02 17 DC
571
- 23 00 02 41 DC
572
- 23 00 02 68 DC
573
- 23 00 02 8E DC
574
- 23 00 02 B6 DC
575
- 23 00 02 DC DC
576
- 23 00 02 1D FF
577
- 23 00 02 19 03
578
- 23 00 02 47 FF
579
- 23 00 02 43 03
580
- 23 00 02 6E FF
581
- 23 00 02 6A 03
582
- 23 00 02 94 FF
583
- 23 00 02 90 03
584
- 23 00 02 BC FF
585
- 23 00 02 B8 03
586
- 23 00 02 E2 FF
587
- 23 00 02 DE 03
588
- 23 00 02 1A 35
589
- 23 00 02 44 35
590
- 23 00 02 6B 35
591
- 23 00 02 91 35
592
- 23 00 02 B9 35
593
- 23 00 02 DF 35
594
- 23 00 02 1B 45
595
- 23 00 02 45 45
596
- 23 00 02 6C 45
597
- 23 00 02 92 45
598
- 23 00 02 BA 45
599
- 23 00 02 E0 45
600
- 23 00 02 1C 55
601
- 23 00 02 46 55
602
- 23 00 02 6D 55
603
- 23 00 02 93 55
604
- 23 00 02 BB 55
605
- 23 00 02 E1 55
606
- 23 00 02 22 FF
607
- 23 00 02 1E 68
608
- 23 00 02 4C FF
609
- 23 00 02 48 68
610
- 23 00 02 73 FF
611
- 23 00 02 6F 68
612
- 23 00 02 99 FF
613
- 23 00 02 95 68
614
- 23 00 02 C1 FF
615
- 23 00 02 BD 68
616
- 23 00 02 E7 FF
617
- 23 00 02 E3 68
618
- 23 00 02 1F 7E
619
- 23 00 02 49 7E
620
- 23 00 02 70 7E
621
- 23 00 02 96 7E
622
- 23 00 02 BE 7E
623
- 23 00 02 E4 7E
624
- 23 00 02 20 97
625
- 23 00 02 4A 97
626
- 23 00 02 71 97
627
- 23 00 02 97 97
628
- 23 00 02 BF 97
629
- 23 00 02 E5 97
630
- 23 00 02 21 B5
631
- 23 00 02 4B B5
632
- 23 00 02 72 B5
633
- 23 00 02 98 B5
634
- 23 00 02 C0 B5
635
- 23 00 02 E6 B5
636
- 23 00 02 25 F0
637
- 23 00 02 23 E8
638
- 23 00 02 4F F0
639
- 23 00 02 4D E8
640
- 23 00 02 76 F0
641
- 23 00 02 74 E8
642
- 23 00 02 9C F0
643
- 23 00 02 9A E8
644
- 23 00 02 C4 F0
645
- 23 00 02 C2 E8
646
- 23 00 02 EA F0
647
- 23 00 02 E8 E8
648
- 23 00 02 24 FF
649
- 23 00 02 4E FF
650
- 23 00 02 75 FF
651
- 23 00 02 9B FF
652
- 23 00 02 C3 FF
653
- 23 00 02 E9 FF
654
- 23 00 02 FE 3D
655
- 23 00 02 00 04
656
- 23 00 02 FE 23
657
- 23 00 02 08 82
658
- 23 00 02 0A 00
659
- 23 00 02 0B 00
660
- 23 00 02 0C 01
661
- 23 00 02 16 00
662
- 23 00 02 18 02
663
- 23 00 02 1B 04
664
- 23 00 02 19 04
665
- 23 00 02 1C 81
666
- 23 00 02 1F 00
667
- 23 00 02 20 03
668
- 23 00 02 23 04
669
- 23 00 02 21 01
670
- 23 00 02 54 63
671
- 23 00 02 55 54
672
- 23 00 02 6E 45
673
- 23 00 02 6D 36
674
- 23 00 02 FE 3D
675
- 23 00 02 55 78
676
- 23 00 02 FE 20
677
- 23 00 02 26 30
678
- 23 00 02 FE 3D
679
- 23 00 02 20 71
680
- 23 00 02 50 8F
681
- 23 00 02 51 8F
682
- 23 00 02 FE 00
683
- 23 00 02 35 00
684
- 05 78 01 11
685
- 05 1E 01 29
424
+ 39 00 05 FF 03 98 81 03
425
+ 39 00 03 01 01 00
426
+ 39 00 03 02 01 00
427
+ 39 00 03 03 01 53
428
+ 39 00 03 04 01 D3
429
+ 39 00 03 05 01 00
430
+ 39 00 03 06 01 0D
431
+ 39 00 03 07 01 08
432
+ 39 00 03 08 01 00
433
+ 39 00 03 09 01 00
434
+ 39 00 03 0a 01 00
435
+ 39 00 03 0b 01 00
436
+ 39 00 03 0c 01 00
437
+ 39 00 03 0d 01 00
438
+ 39 00 03 0e 01 00
439
+ 39 00 03 0f 01 28
440
+ 39 00 03 10 01 28
441
+ 39 00 03 11 01 00
442
+ 39 00 03 12 01 00
443
+ 39 00 03 13 01 00
444
+ 39 00 03 14 01 00
445
+ 39 00 03 15 01 00
446
+ 39 00 03 16 01 00
447
+ 39 00 03 17 01 00
448
+ 39 00 03 18 01 00
449
+ 39 00 03 19 01 00
450
+ 39 00 03 1a 01 00
451
+ 39 00 03 1b 01 00
452
+ 39 00 03 1c 01 00
453
+ 39 00 03 1d 01 00
454
+ 39 00 03 1e 01 40
455
+ 39 00 03 1f 01 80
456
+ 39 00 03 20 01 06
457
+ 39 00 03 21 01 01
458
+ 39 00 03 22 01 00
459
+ 39 00 03 23 01 00
460
+ 39 00 03 24 01 00
461
+ 39 00 03 25 01 00
462
+ 39 00 03 26 01 00
463
+ 39 00 03 27 01 00
464
+ 39 00 03 28 01 33
465
+ 39 00 03 29 01 33
466
+ 39 00 03 2a 01 00
467
+ 39 00 03 2b 01 00
468
+ 39 00 03 2c 01 00
469
+ 39 00 03 2d 01 00
470
+ 39 00 03 2e 01 00
471
+ 39 00 03 2f 01 00
472
+ 39 00 03 30 01 00
473
+ 39 00 03 31 01 00
474
+ 39 00 03 32 01 00
475
+ 39 00 03 33 01 00
476
+ 39 00 03 34 01 03
477
+ 39 00 03 35 01 00
478
+ 39 00 03 36 01 00
479
+ 39 00 03 37 01 00
480
+ 39 00 03 38 01 96
481
+ 39 00 03 39 01 00
482
+ 39 00 03 3a 01 00
483
+ 39 00 03 3b 01 00
484
+ 39 00 03 3c 01 00
485
+ 39 00 03 3d 01 00
486
+ 39 00 03 3e 01 00
487
+ 39 00 03 3f 01 00
488
+ 39 00 03 40 01 00
489
+ 39 00 03 41 01 00
490
+ 39 00 03 42 01 00
491
+ 39 00 03 43 01 00
492
+ 39 00 03 44 01 00
493
+ 39 00 03 50 01 00
494
+ 39 00 03 51 01 23
495
+ 39 00 03 52 01 45
496
+ 39 00 03 53 01 67
497
+ 39 00 03 54 01 89
498
+ 39 00 03 55 01 AB
499
+ 39 00 03 56 01 01
500
+ 39 00 03 57 01 23
501
+ 39 00 03 58 01 45
502
+ 39 00 03 59 01 67
503
+ 39 00 03 5a 01 89
504
+ 39 00 03 5b 01 AB
505
+ 39 00 03 5c 01 CD
506
+ 39 00 03 5d 01 EF
507
+ 39 00 03 5e 01 00
508
+ 39 00 03 5f 01 08
509
+ 39 00 03 60 01 08
510
+ 39 00 03 61 01 06
511
+ 39 00 03 62 01 06
512
+ 39 00 03 63 01 01
513
+ 39 00 03 64 01 01
514
+ 39 00 03 65 01 00
515
+ 39 00 03 66 01 00
516
+ 39 00 03 67 01 02
517
+ 39 00 03 68 01 15
518
+ 39 00 03 69 01 15
519
+ 39 00 03 6a 01 14
520
+ 39 00 03 6b 01 14
521
+ 39 00 03 6c 01 0D
522
+ 39 00 03 6d 01 0D
523
+ 39 00 03 6e 01 0C
524
+ 39 00 03 6f 01 0C
525
+ 39 00 03 70 01 0F
526
+ 39 00 03 71 01 0F
527
+ 39 00 03 72 01 0E
528
+ 39 00 03 73 01 0E
529
+ 39 00 03 74 01 02
530
+ 39 00 03 75 01 08
531
+ 39 00 03 76 01 08
532
+ 39 00 03 77 01 06
533
+ 39 00 03 78 01 06
534
+ 39 00 03 79 01 01
535
+ 39 00 03 7a 01 01
536
+ 39 00 03 7b 01 00
537
+ 39 00 03 7c 01 00
538
+ 39 00 03 7d 01 02
539
+ 39 00 03 7e 01 15
540
+ 39 00 03 7f 01 15
541
+ 39 00 03 80 01 14
542
+ 39 00 03 81 01 14
543
+ 39 00 03 82 01 0D
544
+ 39 00 03 83 01 0D
545
+ 39 00 03 84 01 0C
546
+ 39 00 03 85 01 0C
547
+ 39 00 03 86 01 0F
548
+ 39 00 03 87 01 0F
549
+ 39 00 03 88 01 0E
550
+ 39 00 03 89 01 0E
551
+ 39 00 03 8A 01 02
552
+ 39 00 05 FF 03 98 81 04
553
+ 39 00 03 C5 01 3A
554
+ 39 00 03 6E 01 2B
555
+ 39 00 03 6F 01 37
556
+ 39 00 03 3A 01 24
557
+ 39 00 03 8D 01 1A
558
+ 39 00 03 87 01 BA
559
+ 39 00 03 B2 01 D1
560
+ 39 00 03 88 01 0B
561
+ 39 00 03 38 01 01
562
+ 39 00 03 39 01 00
563
+ 39 00 03 B5 01 02
564
+ 39 00 03 31 01 25
565
+ 39 00 03 3B 01 98
566
+ 39 00 05 FF 03 98 81 01
567
+ 39 00 03 22 01 0A
568
+ 39 00 03 31 01 00
569
+ 39 00 03 53 01 3D
570
+ 39 00 03 55 01 3D
571
+ 39 00 03 50 01 85
572
+ 39 00 03 51 01 80
573
+ 39 00 03 60 01 06
574
+ 39 00 03 62 01 20
575
+ 39 00 03 A0 01 00
576
+ 39 00 03 A1 01 21
577
+ 39 00 03 A2 01 35
578
+ 39 00 03 A3 01 19
579
+ 39 00 03 A4 01 1E
580
+ 39 00 03 A5 01 33
581
+ 39 00 03 A6 01 27
582
+ 39 00 03 A7 01 26
583
+ 39 00 03 A8 01 AF
584
+ 39 00 03 A9 01 1B
585
+ 39 00 03 AA 01 27
586
+ 39 00 03 AB 01 8D
587
+ 39 00 03 AC 01 1A
588
+ 39 00 03 AD 01 1B
589
+ 39 00 03 AE 01 50
590
+ 39 00 03 AF 01 26
591
+ 39 00 03 B0 01 2B
592
+ 39 00 03 B1 01 54
593
+ 39 00 03 B2 01 5E
594
+ 39 00 03 B3 01 23
595
+ 39 00 03 C0 01 00
596
+ 39 00 03 C1 01 21
597
+ 39 00 03 C2 01 35
598
+ 39 00 03 C3 01 19
599
+ 39 00 03 C4 01 1E
600
+ 39 00 03 C5 01 33
601
+ 39 00 03 C6 01 27
602
+ 39 00 03 C7 01 26
603
+ 39 00 03 C8 01 AF
604
+ 39 00 03 C9 01 1B
605
+ 39 00 03 CA 01 27
606
+ 39 00 03 CB 01 8D
607
+ 39 00 03 CC 01 1A
608
+ 39 00 03 CD 01 1B
609
+ 39 00 03 CE 01 50
610
+ 39 00 03 CF 01 26
611
+ 39 00 03 D0 01 2B
612
+ 39 00 03 D1 01 54
613
+ 39 00 03 D2 01 5E
614
+ 39 00 03 D3 01 23
615
+ 39 00 05 FF 03 98 81 00
686616 ];
687617
688618 panel-exit-sequence = [
....@@ -743,303 +673,242 @@
743673 status = "okay";
744674 compatible = "simple-panel-dsi";
745675 reg = <0>;
746
- backlight = <&backlight1>;
747
- reset-delay-ms = <60>;
748
- enable-delay-ms = <60>;
749
- prepare-delay-ms = <60>;
750
- unprepare-delay-ms = <60>;
751
- disable-delay-ms = <60>;
752
- dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
753
- MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>;
754
- dsi,format = <MIPI_DSI_FMT_RGB888>;
755
- dsi,lanes = <4>;
756
- panel-init-sequence = [
757
- 23 00 02 FE 21
758
- 23 00 02 04 00
759
- 23 00 02 00 64
760
- 23 00 02 2A 00
761
- 23 00 02 26 64
762
- 23 00 02 54 00
763
- 23 00 02 50 64
764
- 23 00 02 7B 00
765
- 23 00 02 77 64
766
- 23 00 02 A2 00
767
- 23 00 02 9D 64
768
- 23 00 02 C9 00
769
- 23 00 02 C5 64
770
- 23 00 02 01 71
771
- 23 00 02 27 71
772
- 23 00 02 51 71
773
- 23 00 02 78 71
774
- 23 00 02 9E 71
775
- 23 00 02 C6 71
776
- 23 00 02 02 89
777
- 23 00 02 28 89
778
- 23 00 02 52 89
779
- 23 00 02 79 89
780
- 23 00 02 9F 89
781
- 23 00 02 C7 89
782
- 23 00 02 03 9E
783
- 23 00 02 29 9E
784
- 23 00 02 53 9E
785
- 23 00 02 7A 9E
786
- 23 00 02 A0 9E
787
- 23 00 02 C8 9E
788
- 23 00 02 09 00
789
- 23 00 02 05 B0
790
- 23 00 02 31 00
791
- 23 00 02 2B B0
792
- 23 00 02 5A 00
793
- 23 00 02 55 B0
794
- 23 00 02 80 00
795
- 23 00 02 7C B0
796
- 23 00 02 A7 00
797
- 23 00 02 A3 B0
798
- 23 00 02 CE 00
799
- 23 00 02 CA B0
800
- 23 00 02 06 C0
801
- 23 00 02 2D C0
802
- 23 00 02 56 C0
803
- 23 00 02 7D C0
804
- 23 00 02 A4 C0
805
- 23 00 02 CB C0
806
- 23 00 02 07 CF
807
- 23 00 02 2F CF
808
- 23 00 02 58 CF
809
- 23 00 02 7E CF
810
- 23 00 02 A5 CF
811
- 23 00 02 CC CF
812
- 23 00 02 08 DD
813
- 23 00 02 30 DD
814
- 23 00 02 59 DD
815
- 23 00 02 7F DD
816
- 23 00 02 A6 DD
817
- 23 00 02 CD DD
818
- 23 00 02 0E 15
819
- 23 00 02 0A E9
820
- 23 00 02 36 15
821
- 23 00 02 32 E9
822
- 23 00 02 5F 15
823
- 23 00 02 5B E9
824
- 23 00 02 85 15
825
- 23 00 02 81 E9
826
- 23 00 02 AD 15
827
- 23 00 02 A9 E9
828
- 23 00 02 D3 15
829
- 23 00 02 CF E9
830
- 23 00 02 0B 14
831
- 23 00 02 33 14
832
- 23 00 02 5C 14
833
- 23 00 02 82 14
834
- 23 00 02 AA 14
835
- 23 00 02 D0 14
836
- 23 00 02 0C 36
837
- 23 00 02 34 36
838
- 23 00 02 5D 36
839
- 23 00 02 83 36
840
- 23 00 02 AB 36
841
- 23 00 02 D1 36
842
- 23 00 02 0D 6B
843
- 23 00 02 35 6B
844
- 23 00 02 5E 6B
845
- 23 00 02 84 6B
846
- 23 00 02 AC 6B
847
- 23 00 02 D2 6B
848
- 23 00 02 13 5A
849
- 23 00 02 0F 94
850
- 23 00 02 3B 5A
851
- 23 00 02 37 94
852
- 23 00 02 64 5A
853
- 23 00 02 60 94
854
- 23 00 02 8A 5A
855
- 23 00 02 86 94
856
- 23 00 02 B2 5A
857
- 23 00 02 AE 94
858
- 23 00 02 D8 5A
859
- 23 00 02 D4 94
860
- 23 00 02 10 D1
861
- 23 00 02 38 D1
862
- 23 00 02 61 D1
863
- 23 00 02 87 D1
864
- 23 00 02 AF D1
865
- 23 00 02 D5 D1
866
- 23 00 02 11 04
867
- 23 00 02 39 04
868
- 23 00 02 62 04
869
- 23 00 02 88 04
870
- 23 00 02 B0 04
871
- 23 00 02 D6 04
872
- 23 00 02 12 05
873
- 23 00 02 3A 05
874
- 23 00 02 63 05
875
- 23 00 02 89 05
876
- 23 00 02 B1 05
877
- 23 00 02 D7 05
878
- 23 00 02 18 AA
879
- 23 00 02 14 36
880
- 23 00 02 42 AA
881
- 23 00 02 3D 36
882
- 23 00 02 69 AA
883
- 23 00 02 65 36
884
- 23 00 02 8F AA
885
- 23 00 02 8B 36
886
- 23 00 02 B7 AA
887
- 23 00 02 B3 36
888
- 23 00 02 DD AA
889
- 23 00 02 D9 36
890
- 23 00 02 15 74
891
- 23 00 02 3F 74
892
- 23 00 02 66 74
893
- 23 00 02 8C 74
894
- 23 00 02 B4 74
895
- 23 00 02 DA 74
896
- 23 00 02 16 9F
897
- 23 00 02 40 9F
898
- 23 00 02 67 9F
899
- 23 00 02 8D 9F
900
- 23 00 02 B5 9F
901
- 23 00 02 DB 9F
902
- 23 00 02 17 DC
903
- 23 00 02 41 DC
904
- 23 00 02 68 DC
905
- 23 00 02 8E DC
906
- 23 00 02 B6 DC
907
- 23 00 02 DC DC
908
- 23 00 02 1D FF
909
- 23 00 02 19 03
910
- 23 00 02 47 FF
911
- 23 00 02 43 03
912
- 23 00 02 6E FF
913
- 23 00 02 6A 03
914
- 23 00 02 94 FF
915
- 23 00 02 90 03
916
- 23 00 02 BC FF
917
- 23 00 02 B8 03
918
- 23 00 02 E2 FF
919
- 23 00 02 DE 03
920
- 23 00 02 1A 35
921
- 23 00 02 44 35
922
- 23 00 02 6B 35
923
- 23 00 02 91 35
924
- 23 00 02 B9 35
925
- 23 00 02 DF 35
926
- 23 00 02 1B 45
927
- 23 00 02 45 45
928
- 23 00 02 6C 45
929
- 23 00 02 92 45
930
- 23 00 02 BA 45
931
- 23 00 02 E0 45
932
- 23 00 02 1C 55
933
- 23 00 02 46 55
934
- 23 00 02 6D 55
935
- 23 00 02 93 55
936
- 23 00 02 BB 55
937
- 23 00 02 E1 55
938
- 23 00 02 22 FF
939
- 23 00 02 1E 68
940
- 23 00 02 4C FF
941
- 23 00 02 48 68
942
- 23 00 02 73 FF
943
- 23 00 02 6F 68
944
- 23 00 02 99 FF
945
- 23 00 02 95 68
946
- 23 00 02 C1 FF
947
- 23 00 02 BD 68
948
- 23 00 02 E7 FF
949
- 23 00 02 E3 68
950
- 23 00 02 1F 7E
951
- 23 00 02 49 7E
952
- 23 00 02 70 7E
953
- 23 00 02 96 7E
954
- 23 00 02 BE 7E
955
- 23 00 02 E4 7E
956
- 23 00 02 20 97
957
- 23 00 02 4A 97
958
- 23 00 02 71 97
959
- 23 00 02 97 97
960
- 23 00 02 BF 97
961
- 23 00 02 E5 97
962
- 23 00 02 21 B5
963
- 23 00 02 4B B5
964
- 23 00 02 72 B5
965
- 23 00 02 98 B5
966
- 23 00 02 C0 B5
967
- 23 00 02 E6 B5
968
- 23 00 02 25 F0
969
- 23 00 02 23 E8
970
- 23 00 02 4F F0
971
- 23 00 02 4D E8
972
- 23 00 02 76 F0
973
- 23 00 02 74 E8
974
- 23 00 02 9C F0
975
- 23 00 02 9A E8
976
- 23 00 02 C4 F0
977
- 23 00 02 C2 E8
978
- 23 00 02 EA F0
979
- 23 00 02 E8 E8
980
- 23 00 02 24 FF
981
- 23 00 02 4E FF
982
- 23 00 02 75 FF
983
- 23 00 02 9B FF
984
- 23 00 02 C3 FF
985
- 23 00 02 E9 FF
986
- 23 00 02 FE 3D
987
- 23 00 02 00 04
988
- 23 00 02 FE 23
989
- 23 00 02 08 82
990
- 23 00 02 0A 00
991
- 23 00 02 0B 00
992
- 23 00 02 0C 01
993
- 23 00 02 16 00
994
- 23 00 02 18 02
995
- 23 00 02 1B 04
996
- 23 00 02 19 04
997
- 23 00 02 1C 81
998
- 23 00 02 1F 00
999
- 23 00 02 20 03
1000
- 23 00 02 23 04
1001
- 23 00 02 21 01
1002
- 23 00 02 54 63
1003
- 23 00 02 55 54
1004
- 23 00 02 6E 45
1005
- 23 00 02 6D 36
1006
- 23 00 02 FE 3D
1007
- 23 00 02 55 78
1008
- 23 00 02 FE 20
1009
- 23 00 02 26 30
1010
- 23 00 02 FE 3D
1011
- 23 00 02 20 71
1012
- 23 00 02 50 8F
1013
- 23 00 02 51 8F
1014
- 23 00 02 FE 00
1015
- 23 00 02 35 00
1016
- 05 78 01 11
1017
- 05 1E 01 29
1018
- ];
676
+ power-supply = <&vcc3v3_lcd1_n>; //MIPI_3V3EN_GPIO3_A3_d_3V3
677
+ vddio-mipi = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>; //MIPI_EN_1V8_GPIO3_A4_d_3V3
678
+ reset-gpios = <&gpio3 RK_PC7 GPIO_ACTIVE_LOW>; //MIPI_RST_L_GPIO3_C7
679
+ vcc-5v-gpio = <&gpio1 RK_PA4 GPIO_ACTIVE_HIGH>; //VCC5_IO_EN_GPIO1_A4_3V3
680
+ reset-delay-ms = <200>;
681
+ enable-delay-ms = <60>;
682
+ init-delay-ms = <120>;
683
+ disable-delay-ms = <60>;
684
+ prepare-delay-ms = <120>;
685
+ unprepare-delay-ms = <120>;
686
+ backlight = <&backlight1>;
687
+ dsi,flags = <(MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
688
+ MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_EOT_PACKET)>;
689
+ dsi,format = <MIPI_DSI_FMT_RGB888>;
690
+ dsi,lanes = <4>;
691
+
692
+ panel-init-sequence = [
693
+ 39 00 04 FF 98 81 03
694
+ 15 00 02 01 00
695
+ 15 00 02 02 00
696
+ 15 00 02 03 53
697
+ 15 00 02 04 D3
698
+ 15 00 02 05 00
699
+ 15 00 02 06 0D
700
+ 15 00 02 07 08
701
+ 15 00 02 08 00
702
+ 15 00 02 09 00
703
+ 15 00 02 0a 00
704
+ 15 00 02 0b 00
705
+ 15 00 02 0c 00
706
+ 15 00 02 0d 00
707
+ 15 00 02 0e 00
708
+ 15 00 02 0f 28
709
+ 15 00 02 10 28
710
+ 15 00 02 11 00
711
+ 15 00 02 12 00
712
+ 15 00 02 13 00
713
+ 15 00 02 14 00
714
+ 15 00 02 15 00
715
+ 15 00 02 16 00
716
+ 15 00 02 17 00
717
+ 15 00 02 18 00
718
+ 15 00 02 19 00
719
+ 15 00 02 1a 00
720
+ 15 00 02 1b 00
721
+ 15 00 02 1c 00
722
+ 15 00 02 1d 00
723
+ 15 00 02 1e 40
724
+ 15 00 02 1f 80
725
+ 15 00 02 20 06
726
+ 15 00 02 21 01
727
+ 15 00 02 22 00
728
+ 15 00 02 23 00
729
+ 15 00 02 24 00
730
+ 15 00 02 25 00
731
+ 15 00 02 26 00
732
+ 15 00 02 27 00
733
+ 15 00 02 28 33
734
+ 15 00 02 29 33
735
+ 15 00 02 2a 00
736
+ 15 00 02 2b 00
737
+ 15 00 02 2c 00
738
+ 15 00 02 2d 00
739
+ 15 00 02 2e 00
740
+ 15 00 02 2f 00
741
+ 15 00 02 30 00
742
+ 15 00 02 31 00
743
+ 15 00 02 32 00
744
+ 15 00 02 33 00
745
+ 15 00 02 34 03
746
+ 15 00 02 35 00
747
+ 15 00 02 36 00
748
+ 15 00 02 37 00
749
+ 15 00 02 38 96
750
+ 15 00 02 39 00
751
+ 15 00 02 3a 00
752
+ 15 00 02 3b 00
753
+ 15 00 02 3c 00
754
+ 15 00 02 3d 00
755
+ 15 00 02 3e 00
756
+ 15 00 02 3f 00
757
+ 15 00 02 40 00
758
+ 15 00 02 41 00
759
+ 15 00 02 42 00
760
+ 15 00 02 43 00
761
+ 15 00 02 44 00
762
+ 15 00 02 50 00
763
+ 15 00 02 51 23
764
+ 15 00 02 52 45
765
+ 15 00 02 53 67
766
+ 15 00 02 54 89
767
+ 15 00 02 55 AB
768
+ 15 00 02 56 01
769
+ 15 00 02 57 23
770
+ 15 00 02 58 45
771
+ 15 00 02 59 67
772
+ 15 00 02 5a 89
773
+ 15 00 02 5b AB
774
+ 15 00 02 5c CD
775
+ 15 00 02 5d EF
776
+ 15 00 02 5e 00
777
+ 15 00 02 5f 08
778
+ 15 00 02 60 08
779
+ 15 00 02 61 06
780
+ 15 00 02 62 06
781
+ 15 00 02 63 01
782
+ 15 00 02 64 01
783
+ 15 00 02 65 00
784
+ 15 00 02 66 00
785
+ 15 00 02 67 02
786
+ 15 00 02 68 15
787
+ 15 00 02 69 15
788
+ 15 00 02 6a 14
789
+ 15 00 02 6b 14
790
+ 15 00 02 6c 0D
791
+ 15 00 02 6d 0D
792
+ 15 00 02 6e 0C
793
+ 15 00 02 6f 0C
794
+ 15 00 02 70 0F
795
+ 15 00 02 71 0F
796
+ 15 00 02 72 0E
797
+ 15 00 02 73 0E
798
+ 15 00 02 74 02
799
+ 15 00 02 75 08
800
+ 15 00 02 76 08
801
+ 15 00 02 77 06
802
+ 15 00 02 78 06
803
+ 15 00 02 79 01
804
+ 15 00 02 7a 01
805
+ 15 00 02 7b 00
806
+ 15 00 02 7c 00
807
+ 15 00 02 7d 02
808
+ 15 00 02 7e 15
809
+ 15 00 02 7f 15
810
+ 15 00 02 80 14
811
+ 15 00 02 81 14
812
+ 15 00 02 82 0D
813
+ 15 00 02 83 0D
814
+ 15 00 02 84 0C
815
+ 15 00 02 85 0C
816
+ 15 00 02 86 0F
817
+ 15 00 02 87 0F
818
+ 15 00 02 88 0E
819
+ 15 00 02 89 0E
820
+ 15 00 02 8A 02
821
+ 39 00 04 FF 98 81 04
822
+ 15 00 02 C5 3A
823
+ 15 00 02 6E 2B
824
+ 15 00 02 6F 37
825
+ 15 00 02 3A 24
826
+ 15 00 02 8D 1A
827
+ 15 00 02 87 BA
828
+ 15 00 02 B2 D1
829
+ 15 00 02 88 0B
830
+ 15 00 02 38 01
831
+ 15 00 02 39 00
832
+ 15 00 02 B5 02
833
+ 15 00 02 31 25
834
+ 15 00 02 3B 98
835
+ 39 00 04 FF 98 81 01
836
+ 15 00 02 22 0A
837
+ 15 00 02 31 00
838
+ 15 00 02 53 3D
839
+ 15 00 02 55 3D
840
+ 15 00 02 50 85
841
+ 15 00 02 51 80
842
+ 15 00 02 60 06
843
+ 15 00 02 62 20
844
+ 15 00 02 A0 00
845
+ 15 00 02 A1 21
846
+ 15 00 02 A2 35
847
+ 15 00 02 A3 19
848
+ 15 00 02 A4 1E
849
+ 15 00 02 A5 33
850
+ 15 00 02 A6 27
851
+ 15 00 02 A7 26
852
+ 15 00 02 A8 AF
853
+ 15 00 02 A9 1B
854
+ 15 00 02 AA 27
855
+ 15 00 02 AB 8D
856
+ 15 00 02 AC 1A
857
+ 15 00 02 AD 1B
858
+ 15 00 02 AE 50
859
+ 15 00 02 AF 26
860
+ 15 00 02 B0 2B
861
+ 15 00 02 B1 54
862
+ 15 00 02 B2 5E
863
+ 15 00 02 B3 23
864
+ 15 00 02 C0 00
865
+ 15 00 02 C1 21
866
+ 15 00 02 C2 35
867
+ 15 00 02 C3 19
868
+ 15 00 02 C4 1E
869
+ 15 00 02 C5 33
870
+ 15 00 02 C6 27
871
+ 15 00 02 C7 26
872
+ 15 00 02 C8 AF
873
+ 15 00 02 C9 1B
874
+ 15 00 02 CA 27
875
+ 15 00 02 CB 8D
876
+ 15 00 02 CC 1A
877
+ 15 00 02 CD 1B
878
+ 15 00 02 CE 50
879
+ 15 00 02 CF 26
880
+ 15 00 02 D0 2B
881
+ 15 00 02 D1 54
882
+ 15 00 02 D2 5E
883
+ 15 00 02 D3 23
884
+ 39 00 04 FF 98 81 00
885
+ 15 78 01 11
886
+ 15 05 01 29
887
+ ];
1019888
1020889 panel-exit-sequence = [
1021890 05 00 01 28
1022891 05 00 01 10
1023892 ];
1024893
1025
- disp_timings1: display-timings {
1026
- native-mode = <&dsi1_timing0>;
1027
- dsi1_timing0: timing0 {
1028
- clock-frequency = <132000000>;
1029
- hactive = <1080>;
1030
- vactive = <1920>;
1031
- hfront-porch = <15>;
1032
- hsync-len = <2>;
1033
- hback-porch = <30>;
1034
- vfront-porch = <15>;
1035
- vsync-len = <2>;
1036
- vback-porch = <15>;
1037
- hsync-active = <0>;
1038
- vsync-active = <0>;
1039
- de-active = <0>;
1040
- pixelclk-active = <1>;
1041
- };
1042
- };
894
+ disp_timings1: display-timings {
895
+ native-mode = <&dsi1_timing0>;
896
+ dsi1_timing0: timing0 {
897
+ clock-frequency = <69000000>;
898
+ hactive = <800>;
899
+ vactive = <1280>;
900
+ hfront-porch = <32>;
901
+ hsync-len = <20>;
902
+ hback-porch = <20>;
903
+ vfront-porch = <16>;
904
+ vsync-len = <5>;
905
+ vback-porch = <12>;
906
+ hsync-active = <0>;
907
+ vsync-active = <0>;
908
+ de-active = <0>;
909
+ pixelclk-active = <1>;
910
+ };
911
+ };
1043912
1044913 ports {
1045914 #address-cells = <1>;
....@@ -1738,14 +1607,6 @@
17381607
17391608 &sfc {
17401609 status = "okay";
1741
-
1742
- flash@0 {
1743
- compatible = "spi-nand";
1744
- reg = <0>;
1745
- spi-max-frequency = <75000000>;
1746
- spi-rx-bus-width = <4>;
1747
- spi-tx-bus-width = <1>;
1748
- };
17491610 };
17501611
17511612 &spdif_8ch {
kernel/arch/arm64/boot/dts/rockchip/rk3568.dtsi
old mode 100644new mode 100755
....@@ -286,7 +286,7 @@
286286 logo,kernel = "logo_kernel.bmp";
287287 logo,mode = "center";
288288 charge_logo,mode = "center";
289
- connect = <&vp0_out_dsi1>;
289
+ connect = <&vp1_out_dsi1>;
290290 };
291291 route_edp: route-edp {
292292 status = "disabled";
....@@ -294,7 +294,7 @@
294294 logo,kernel = "logo_kernel.bmp";
295295 logo,mode = "center";
296296 charge_logo,mode = "center";
297
- connect = <&vp0_out_edp>;
297
+ connect = <&vp1_out_edp>;
298298 };
299299 route_hdmi: route-hdmi {
300300 status = "disabled";
....@@ -302,7 +302,7 @@
302302 logo,kernel = "logo_kernel.bmp";
303303 logo,mode = "center";
304304 charge_logo,mode = "center";
305
- connect = <&vp1_out_hdmi>;
305
+ connect = <&vp0_out_hdmi>;
306306 };
307307 route_lvds: route-lvds {
308308 status = "disabled";
....@@ -1782,7 +1782,7 @@
17821782 clock-names = "pclk_csi2host";
17831783 resets = <&cru SRST_P_CSI2HOST1>;
17841784 reset-names = "srst_csihost_p";
1785
- status = "okay";
1785
+ status = "disabled";
17861786 };
17871787
17881788 rkcif: rkcif@fdfe0000 {
kernel/arch/arm64/configs/rockchip_linux_defconfig
....@@ -2,10 +2,10 @@
22 # Automatically generated file; DO NOT EDIT.
33 # Linux/arm64 5.10.160 Kernel Configuration
44 #
5
-CONFIG_CC_VERSION_TEXT="aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621"
5
+CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0"
66 CONFIG_CC_IS_GCC=y
7
-CONFIG_GCC_VERSION=100301
8
-CONFIG_LD_VERSION=236010000
7
+CONFIG_GCC_VERSION=70500
8
+CONFIG_LD_VERSION=230000000
99 CONFIG_CLANG_VERSION=0
1010 CONFIG_LLD_VERSION=0
1111 CONFIG_CC_CAN_LINK=y
....@@ -267,6 +267,7 @@
267267 CONFIG_PGTABLE_LEVELS=3
268268 CONFIG_ARCH_SUPPORTS_UPROBES=y
269269 CONFIG_ARCH_PROC_KCORE_TEXT=y
270
+CONFIG_BROKEN_GAS_INST=y
270271
271272 #
272273 # Platform selection
....@@ -410,9 +411,6 @@
410411 #
411412 CONFIG_ARM64_HW_AFDBM=y
412413 CONFIG_ARM64_PAN=y
413
-CONFIG_AS_HAS_LDAPR=y
414
-CONFIG_AS_HAS_LSE_ATOMICS=y
415
-CONFIG_ARM64_LSE_ATOMICS=y
416414 CONFIG_ARM64_USE_LSE_ATOMICS=y
417415 CONFIG_ARM64_VHE=y
418416 # end of ARMv8.1 architectural features
....@@ -429,31 +427,20 @@
429427 #
430428 # ARMv8.3 architectural features
431429 #
432
-# CONFIG_ARM64_PTR_AUTH is not set
433
-CONFIG_CC_HAS_BRANCH_PROT_PAC_RET=y
434
-CONFIG_CC_HAS_SIGN_RETURN_ADDRESS=y
435
-CONFIG_AS_HAS_PAC=y
436
-CONFIG_AS_HAS_CFI_NEGATE_RA_STATE=y
437430 # end of ARMv8.3 architectural features
438431
439432 #
440433 # ARMv8.4 architectural features
441434 #
442435 # CONFIG_ARM64_AMU_EXTN is not set
443
-CONFIG_AS_HAS_ARMV8_4=y
444
-# CONFIG_ARM64_TLB_RANGE is not set
445436 # end of ARMv8.4 architectural features
446437
447438 #
448439 # ARMv8.5 architectural features
449440 #
450
-CONFIG_AS_HAS_ARMV8_5=y
451441 # CONFIG_ARM64_BTI is not set
452
-CONFIG_CC_HAS_BRANCH_PROT_PAC_RET_BTI=y
453442 # CONFIG_ARM64_E0PD is not set
454443 # CONFIG_ARCH_RANDOM is not set
455
-CONFIG_ARM64_AS_HAS_MTE=y
456
-# CONFIG_ARM64_MTE is not set
457444 # end of ARMv8.5 architectural features
458445
459446 # CONFIG_ARM64_SVE is not set
....@@ -462,8 +449,6 @@
462449 # CONFIG_ARM64_DEBUG_PRIORITY_MASKING is not set
463450 CONFIG_RELOCATABLE=y
464451 # CONFIG_RANDOMIZE_BASE is not set
465
-CONFIG_CC_HAVE_STACKPROTECTOR_SYSREG=y
466
-CONFIG_STACKPROTECTOR_PER_TASK=y
467452 # end of Kernel Features
468453
469454 #
....@@ -511,19 +496,7 @@
511496 #
512497 # CPU Idle
513498 #
514
-CONFIG_CPU_IDLE=y
515
-CONFIG_CPU_IDLE_MULTIPLE_DRIVERS=y
516
-# CONFIG_CPU_IDLE_GOV_LADDER is not set
517
-CONFIG_CPU_IDLE_GOV_MENU=y
518
-# CONFIG_CPU_IDLE_GOV_TEO is not set
519
-CONFIG_DT_IDLE_STATES=y
520
-
521
-#
522
-# ARM CPU Idle Drivers
523
-#
524
-CONFIG_ARM_CPUIDLE=y
525
-# CONFIG_ARM_PSCI_CPUIDLE is not set
526
-# end of ARM CPU Idle Drivers
499
+# CONFIG_CPU_IDLE is not set
527500 # end of CPU Idle
528501
529502 #
....@@ -594,7 +567,6 @@
594567
595568 CONFIG_EFI_EARLYCON=y
596569 CONFIG_ARM_PSCI_FW=y
597
-# CONFIG_ARM_PSCI_CHECKER is not set
598570 CONFIG_HAVE_ARM_SMCCC=y
599571 CONFIG_HAVE_ARM_SMCCC_DISCOVERY=y
600572 CONFIG_ARM_SMCCC_SOC_ID=y
....@@ -717,10 +689,6 @@
717689 # end of GCOV-based kernel profiling
718690
719691 CONFIG_HAVE_GCC_PLUGINS=y
720
-CONFIG_GCC_PLUGINS=y
721
-# CONFIG_GCC_PLUGIN_CYC_COMPLEXITY is not set
722
-# CONFIG_GCC_PLUGIN_LATENT_ENTROPY is not set
723
-# CONFIG_GCC_PLUGIN_RANDSTRUCT is not set
724692 # end of General architecture-dependent options
725693
726694 CONFIG_RT_MUTEXES=y
....@@ -991,6 +959,7 @@
991959 # CONFIG_NETFILTER_XT_TARGET_HL is not set
992960 # CONFIG_NETFILTER_XT_TARGET_HMARK is not set
993961 # CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set
962
+# CONFIG_NETFILTER_XT_TARGET_LED is not set
994963 # CONFIG_NETFILTER_XT_TARGET_LOG is not set
995964 # CONFIG_NETFILTER_XT_TARGET_MARK is not set
996965 # CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
....@@ -1201,6 +1170,7 @@
12011170 CONFIG_MAC80211_STA_HASH_MAX_SIZE=0
12021171 # CONFIG_WIMAX is not set
12031172 CONFIG_RFKILL=y
1173
+CONFIG_RFKILL_LEDS=y
12041174 # CONFIG_RFKILL_INPUT is not set
12051175 # CONFIG_RFKILL_GPIO is not set
12061176 CONFIG_RFKILL_RK=y
....@@ -1542,7 +1512,7 @@
15421512 #
15431513 # EEPROM support
15441514 #
1545
-# CONFIG_EEPROM_AT24 is not set
1515
+CONFIG_EEPROM_AT24=y
15461516 # CONFIG_EEPROM_AT25 is not set
15471517 # CONFIG_EEPROM_LEGACY is not set
15481518 # CONFIG_EEPROM_MAX6875 is not set
....@@ -1827,6 +1797,7 @@
18271797 CONFIG_PHYLINK=y
18281798 CONFIG_PHYLIB=y
18291799 CONFIG_SWPHY=y
1800
+# CONFIG_LED_TRIGGER_PHY is not set
18301801 CONFIG_FIXED_PHY=y
18311802 # CONFIG_SFP is not set
18321803
....@@ -4603,6 +4574,7 @@
46034574 CONFIG_USB_OHCI_LITTLE_ENDIAN=y
46044575 CONFIG_USB_SUPPORT=y
46054576 CONFIG_USB_COMMON=y
4577
+# CONFIG_USB_LED_TRIG is not set
46064578 # CONFIG_USB_ULPI_BUS is not set
46074579 # CONFIG_USB_CONN_GPIO is not set
46084580 CONFIG_USB_ARCH_HAS_HCD=y
....@@ -4620,6 +4592,7 @@
46204592 # CONFIG_USB_OTG_PRODUCTLIST is not set
46214593 # CONFIG_USB_OTG_DISABLE_EXTERNAL_HUB is not set
46224594 # CONFIG_USB_OTG_FSM is not set
4595
+# CONFIG_USB_LEDS_TRIGGER_USBPORT is not set
46234596 CONFIG_USB_AUTOSUSPEND_DELAY=2
46244597 CONFIG_USB_MON=y
46254598
....@@ -5020,7 +4993,26 @@
50204993 #
50214994 # LED Triggers
50224995 #
5023
-# CONFIG_LEDS_TRIGGERS is not set
4996
+CONFIG_LEDS_TRIGGERS=y
4997
+# CONFIG_LEDS_TRIGGER_TIMER is not set
4998
+# CONFIG_LEDS_TRIGGER_ONESHOT is not set
4999
+# CONFIG_LEDS_TRIGGER_DISK is not set
5000
+# CONFIG_LEDS_TRIGGER_MTD is not set
5001
+CONFIG_LEDS_TRIGGER_HEARTBEAT=y
5002
+# CONFIG_LEDS_TRIGGER_BACKLIGHT is not set
5003
+# CONFIG_LEDS_TRIGGER_ACTIVITY is not set
5004
+# CONFIG_LEDS_TRIGGER_GPIO is not set
5005
+# CONFIG_LEDS_TRIGGER_DEFAULT_ON is not set
5006
+
5007
+#
5008
+# iptables trigger is under Netfilter config (LED target)
5009
+#
5010
+# CONFIG_LEDS_TRIGGER_TRANSIENT is not set
5011
+# CONFIG_LEDS_TRIGGER_CAMERA is not set
5012
+# CONFIG_LEDS_TRIGGER_PANIC is not set
5013
+# CONFIG_LEDS_TRIGGER_NETDEV is not set
5014
+# CONFIG_LEDS_TRIGGER_PATTERN is not set
5015
+# CONFIG_LEDS_TRIGGER_AUDIO is not set
50245016 # CONFIG_ACCESSIBILITY is not set
50255017 # CONFIG_INFINIBAND is not set
50265018 CONFIG_EDAC_SUPPORT=y
....@@ -6462,10 +6454,6 @@
64626454 # Memory initialization
64636455 #
64646456 CONFIG_INIT_STACK_NONE=y
6465
-# CONFIG_GCC_PLUGIN_STRUCTLEAK_USER is not set
6466
-# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF is not set
6467
-# CONFIG_GCC_PLUGIN_STRUCTLEAK_BYREF_ALL is not set
6468
-# CONFIG_GCC_PLUGIN_STACKLEAK is not set
64696457 # CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not set
64706458 # CONFIG_INIT_ON_FREE_DEFAULT_ON is not set
64716459 # end of Memory initialization
....@@ -6893,8 +6881,6 @@
68936881 CONFIG_HAVE_ARCH_KASAN_SW_TAGS=y
68946882 CONFIG_HAVE_ARCH_KASAN_VMALLOC=y
68956883 CONFIG_CC_HAS_KASAN_GENERIC=y
6896
-CONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y
6897
-# CONFIG_KASAN is not set
68986884 CONFIG_HAVE_ARCH_KFENCE=y
68996885 # CONFIG_KFENCE is not set
69006886 # end of Memory Debugging
....@@ -6982,7 +6968,6 @@
69826968 CONFIG_HAVE_FUNCTION_TRACER=y
69836969 CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
69846970 CONFIG_HAVE_DYNAMIC_FTRACE=y
6985
-CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
69866971 CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
69876972 CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
69886973 CONFIG_HAVE_C_RECORDMCOUNT=y
kernel/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
....@@ -3093,6 +3093,7 @@
30933093 int i, ret = 0;
30943094
30953095 memset(metedata, 0, sizeof(*metedata));
3096
+#if 0
30963097 edid = dw_hdmi_get_edid(hdmi, connector);
30973098 if (edid) {
30983099 int vic = 0;
....@@ -3120,6 +3121,7 @@
31203121
31213122 kfree(edid);
31223123 } else {
3124
+#endif
31233125 hdmi->support_hdmi = true;
31243126 hdmi->sink_has_audio = true;
31253127 for (i = 0; i < ARRAY_SIZE(dw_hdmi_default_modes); i++) {
....@@ -3139,7 +3141,7 @@
31393141 info->color_formats = 0;
31403142
31413143 dev_info(hdmi->dev, "failed to get edid\n");
3142
- }
3144
+// }
31433145 dw_hdmi_update_hdr_property(connector);
31443146 dw_hdmi_check_output_type_changed(hdmi);
31453147
mk-rootfs.sh
....@@ -1,7 +1,7 @@
11 #!/bin/bash -e
22 #TARGET_ROOTFS_DIR=/home/data/rootfs/rk356x/ubuntu20-lxde/lxde_ubuntu20_rootfs
33 #TARGET_ROOTFS_DIR=/home/data/rootfs/rk356x/debian10/rk3568_likong
4
-TARGET_ROOTFS_DIR=/home/data/rootfs/rk356x/ubuntu18.04/ubuntu18.04_lite_ksl
4
+TARGET_ROOTFS_DIR=/home/data/rootfs/rk356x/debian11/debian11_rootfs
55 MOUNTPOINT=./temp
66 ROOTFSIMAGE=rootfs.ext4
77 OUT=$PWD/tools/linux/Linux_Pack_Firmware/rockdev/Image/
....@@ -17,7 +17,7 @@
1717
1818 # Create directories
1919 mkdir ${MOUNTPOINT}
20
-dd if=/dev/zero of=${ROOTFSIMAGE} bs=1M count=0 seek=1300
20
+dd if=/dev/zero of=${ROOTFSIMAGE} bs=1M count=0 seek=4300
2121
2222 finish() {
2323 sudo umount ${MOUNTPOINT} || true