Firefly开源社区

打印 上一主题 下一主题

[硬件交流] 求助RK628做HDMI IN没有生成subdev

25

积分

0

威望

0

贡献

技术小白

积分
25

求助RK628做HDMI IN没有生成subdev

发表于 2023-9-3 17:37:08      浏览:1566 | 回复:1        打印      只看该作者   [复制链接] 楼主
使用了rk628官方的demo板子连接Core-1126-JD4的官方底板做hdmi in,用到了MIPI1,rk628的demo板只改了一个电阻让reset引脚引出(原来是rc复位),系统是官方的debain,dts文件修改如下:

  1. i2c1 {
  2.     clock-frequency = <400000>;
  3.     status = "okay";

  4.     rk628: rk628@50 {
  5.         reg = <0x50>;
  6.         interrupt-parent = <&gpio3>;
  7.         interrupts = <RK_PA5 IRQ_TYPE_LEVEL_HIGH>;
  8.         reset-gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_LOW>;
  9.         status = "okay";
  10.     };
  11. };
  12. #include <arm/rk628.dtsi>

  13. &rk628_combtxphy {
  14.     status = "okay";
  15. };

  16. &rk628_combrxphy {
  17.     status = "okay";
  18. };

  19. &rk628_csi {
  20.     status = "okay";
  21.     plugin-det-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_LOW>;
  22.     // power-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
  23.     rockchip,camera-module-index = <0>;
  24.     rockchip,camera-module-facing = "back";
  25.     rockchip,camera-module-name = "RK628-CSI";
  26.     rockchip,camera-module-lens-name = "NC";

  27.     port {
  28.         hdmiin_out1: endpoint {
  29.             remote-endpoint = <&mipi_in1>;
  30.             data-lanes = <1 2 3 4>;
  31.         };
  32.     };
  33. };


  34. &csi_dphy1 {
  35.     status = "okay";

  36.     ports {
  37.         #address-cells = <1>;
  38.         #size-cells = <0>;
  39.         port@0 {
  40.             reg = <0>;
  41.             #address-cells = <1>;
  42.             #size-cells = <0>;

  43.             mipi_in1: endpoint@1 {
  44.                 reg = <1>; // reg = <1>?????
  45.                 remote-endpoint = <&hdmiin_out1>;
  46.                 data-lanes = <1 2 3 4>;
  47.             };
  48.         };

  49.         port@1 {
  50.             reg = <1>;
  51.             #address-cells = <1>;
  52.             #size-cells = <0>;

  53.             csidphy1_out: endpoint@0 {
  54.                 reg = <0>;
  55.                 remote-endpoint = <&isp1_in>;
  56.             };
  57.         };
  58.     };
  59. };


  60. &rkisp {
  61.     status = "okay";
  62. };

  63. &rkisp_mmu {
  64.     status = "okay";
  65. };

  66. &rkisp_vir1 {
  67.     status = "okay";

  68.     port {
  69.         #address-cells = <1>;
  70.         #size-cells = <0>;

  71.         isp1_in: endpoint@0 {
  72.             reg = <0>;
  73.             remote-endpoint = <&csidphy1_out>;
  74.         };
  75.     };
  76. };
复制代码


目前状态是,可以在demsg中看到输入视频的分辨率和帧率,但是看不到video4linux设备。


  1. [    0.000000] Booting Linux on physical CPU 0xf00
  2. [    0.000000] Linux version 4.19.111 (msmmbl@MKJ) (kernel commit id: 85988bd7b1fc67ac96e868b90f4e676f44c713ae) (sdk version: rv1126_rv1109_linux_release_20220324_v2.2.5b.xml) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #6 SMP PREEMPT Sun Sep 3 15:10:57 CST 2023
  3. [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
  4. [    0.000000] CPU: div instructions available: patching division code
  5. [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
  6. [    0.000000] OF: fdt: Machine model: Firefly Core-RV1126-JD4 Board MSM
  7. [    0.000000] earlycon: uart8250 at MMIO32 0xff570000 (options '')
  8. [    0.000000] bootconsole [uart8250] enabled
  9. [    0.000000] Memory policy: Data cache writealloc
  10. [    0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x00000000, size 0 MiB
  11. [    0.000000] Reserved memory: created CMA memory pool at 0x3f800000, size 8 MiB
  12. [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
  13. [    0.000000] Reserved memory: created CMA memory pool at 0x2f800000, size 256 MiB
  14. [    0.000000] OF: reserved mem: initialized node isp, compatible id shared-dma-pool
  15. [    0.000000] On node 0 totalpages: 261560
  16. [    0.000000]   Normal zone: 2048 pages used for memmap
  17. [    0.000000]   Normal zone: 0 pages reserved
  18. [    0.000000]   Normal zone: 261560 pages, LIFO batch:63
  19. [    0.000000] psci: probing for conduit method from DT.
  20. [    0.000000] psci: PSCIv1.0 detected in firmware.
  21. [    0.000000] psci: Using standard PSCI v0.2 function IDs
  22. [    0.000000] psci: MIGRATE_INFO_TYPE not supported.
  23. [    0.000000] psci: SMC Calling Convention v1.0
  24. [    0.000000] percpu: Embedded 15 pages/cpu s32204 r8192 d21044 u61440
  25. [    0.000000] pcpu-alloc: s32204 r8192 d21044 u61440 alloc=15*4096
  26. [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
  27. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259512
  28. [    0.000000] Kernel command line: user_debug=31 storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  ro rootwait earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 root=PARTLABEL=rootfs rootfstype=ext4 overlayroot=device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 cgroup_enable=memory swapaccount=1 snd_aloop.index=7
  29. [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
  30. [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
  31. [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
  32. [    0.000000] Memory: 741732K/1046240K available (9216K kernel code, 427K rwdata, 2496K rodata, 1024K init, 321K bss, 34172K reserved, 270336K cma-reserved, 0K highmem)
  33. [    0.000000] Virtual kernel memory layout:
  34.                    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  35.                    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
  36.                    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
  37.                    lowmem  : 0xb0000000 - 0xf0000000   (1024 MB)
  38.                    pkmap   : 0xafe00000 - 0xb0000000   (   2 MB)
  39.                    modules : 0xaf000000 - 0xafe00000   (  14 MB)
  40.                      .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
  41.                      .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
  42.                      .data : 0x(ptrval) - 0x(ptrval)   ( 428 kB)
  43.                       .bss : 0x(ptrval) - 0x(ptrval)   ( 322 kB)
  44. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
  45. [    0.000000] rcu: Preemptible hierarchical RCU implementation.
  46. [    0.000000]  Tasks RCU enabled.
  47. [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
  48. [    0.000000] random: random: get_random_bytes called from start_kernel+0x328/0x4ac with crng_init=0
  49. [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
  50. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
  51. [    0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
  52. [    0.000754] Switching to timer-based delay loop, resolution 41ns
  53. [    0.002765] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
  54. [    0.003723] pid_max: default: 4096 minimum: 301
  55. [    0.004328] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
  56. [    0.004953] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
  57. [    0.006412] CPU: Testing write buffer coherency: ok
  58. [    0.007254] /cpus/cpu@f00 missing clock-frequency property
  59. [    0.007779] /cpus/cpu@f01 missing clock-frequency property
  60. [    0.008298] /cpus/cpu@f02 missing clock-frequency property
  61. [    0.008818] /cpus/cpu@f03 missing clock-frequency property
  62. [    0.009334] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
  63. [    0.010627] Setting up static identity map for 0x100000 - 0x100060
  64. [    0.011367] rcu: Hierarchical SRCU implementation.
  65. [    0.012453] smp: Bringing up secondary CPUs ...
  66. [    0.014513] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
  67. [    0.016245] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
  68. [    0.017982] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
  69. [    0.018124] smp: Brought up 1 node, 4 CPUs
  70. [    0.020123] SMP: Total of 4 processors activated (192.00 BogoMIPS).
  71. [    0.020702] CPU: All CPU(s) started in SVC mode.
  72. [    0.022034] devtmpfs: initialized
  73. [    0.051280] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
  74. [    0.051327] Unpacking initramfs...
  75. [    0.052738] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
  76. [    0.053643] futex hash table entries: 16 (order: -2, 1024 bytes)
  77. [    0.054528] pinctrl core: initialized pinctrl subsystem
  78. [    0.056309] NET: Registered protocol family 16
  79. [    0.057524] DMA: preallocated 256 KiB pool for atomic coherent allocations
  80. [    0.060242] cpuidle: using governor menu
  81. [    0.060648] Registered FIQ tty driver
  82. [    0.061783] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
  83. [    0.062524] hw-breakpoint: maximum watchpoint size is 8 bytes.
  84. [    0.065441] console [pstore-1] enabled
  85. [    0.066110] pstore: Registered ramoops as persistent store backend
  86. [    0.066693] ramoops: attached 0x100000@0x8000000, ecc: 0/0
  87. [    0.094742] gpio gpiochip0: (gpio0): added GPIO chardev (254:0)
  88. [    0.094871] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio0)
  89. [    0.095139] gpio gpiochip1: (gpio1): added GPIO chardev (254:1)
  90. [    0.095260] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio1)
  91. [    0.095457] gpio gpiochip2: (gpio2): added GPIO chardev (254:2)
  92. [    0.095587] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio2)
  93. [    0.095795] gpio gpiochip3: (gpio3): added GPIO chardev (254:3)
  94. [    0.095919] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio3)
  95. [    0.096121] gpio gpiochip4: (gpio4): added GPIO chardev (254:4)
  96. [    0.096230] gpiochip_setup_dev: registered GPIOs 128 to 129 on device: gpiochip4 (gpio4)
  97. [    0.116208] cryptd: max_cpu_qlen set to 1000
  98. [    0.117591] fiq debugger fiq mode enabled
  99. [    0.118486] console [ttyFIQ0] enabled
  100. [    0.119175] bootconsole [uart8250] disabled
  101. [    0.119887] Registered fiq debugger ttyFIQ0
  102. [    0.120545] rockchip-pm rockchip-suspend: not set pwm-regulator-config
  103. [    0.121917] of_get_named_gpiod_flags: parsed 'gpio' property of node '/lcd-n[0]' - status (0)
  104. [    0.122486] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vccsys[0]'
  105. [    0.123010] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc-4g[0]' - status (0)
  106. [    0.123568] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc5v0-usb2-host-regulator[0]' - status (0)
  107. [    0.124137] of_get_named_gpiod_flags: parsed 'gpio' property of node '/otg-vbus-regulator[0]' - status (0)
  108. [    0.124672] of_get_named_gpiod_flags: parsed 'gpio' property of node '/gpio-fan[0]' - status (0)
  109. [    0.125161] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vdd-logic[0]'
  110. [    0.126242] rk_iommu ffb00f00.iommu: version = 1
  111. [    0.126965] rk_iommu ffb20800.iommu: version = 1
  112. [    0.127468] rk_iommu ffb51a00.iommu: version = 1
  113. [    0.127923] rk_iommu ffb60e00.iommu: version = 1
  114. [    0.128490] rk_iommu ffb80480.iommu: version = 1
  115. [    0.128974] rk_iommu ffb90800.iommu: version = 1
  116. [    0.129394] rk_iommu ffbb0f00.iommu: version = 1
  117. [    0.130394] SCSI subsystem initialized
  118. [    0.130740] usbcore: registered new interface driver usbfs
  119. [    0.130849] usbcore: registered new interface driver hub
  120. [    0.130984] usbcore: registered new device driver usb
  121. [    0.131098] media: Linux media interface: v0.10
  122. [    0.131169] videodev: Linux video capture interface: v2.00
  123. [    0.131238] pps_core: LinuxPPS API ver. 1 registered
  124. [    0.131261] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  125. [    0.131305] PTP clock support registered
  126. [    0.132901] Advanced Linux Sound Architecture Driver Initialized.
  127. [    0.133602] Bluetooth: Core ver 2.22
  128. [    0.133699] NET: Registered protocol family 31
  129. [    0.133724] Bluetooth: HCI device and connection manager initialized
  130. [    0.133755] Bluetooth: HCI socket layer initialized
  131. [    0.133781] Bluetooth: L2CAP socket layer initialized
  132. [    0.133844] Bluetooth: SCO socket layer initialized
  133. [    0.134381] rockchip-cpuinfo cpuinfo: SoC            : 11260000
  134. [    0.134420] rockchip-cpuinfo cpuinfo: Serial         : e6a3a37512dc2a6f
  135. [    0.135703] clocksource: Switched to clocksource arch_sys_counter
  136. [    0.138282] NET: Registered protocol family 2
  137. [    0.139277] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
  138. [    0.139341] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
  139. [    0.139498] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
  140. [    0.139702] TCP: Hash tables configured (established 8192 bind 8192)
  141. [    0.139876] UDP hash table entries: 512 (order: 2, 16384 bytes)
  142. [    0.139949] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
  143. [    0.140218] NET: Registered protocol family 1
  144. [    0.142330] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
  145. [    0.145048] Initialise system trusted keyrings
  146. [    0.145363] workingset: timestamp_bits=29 max_order=18 bucket_order=0
  147. [    0.152927] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  148. [    0.155804] Key type asymmetric registered
  149. [    0.155846] Asymmetric key parser 'x509' registered
  150. [    0.155936] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
  151. [    0.155957] io scheduler noop registered
  152. [    0.155980] io scheduler deadline registered
  153. [    0.156169] io scheduler cfq registered (default)
  154. [    0.156192] io scheduler mq-deadline registered
  155. [    0.156208] io scheduler kyber registered
  156. [    0.156384] io scheduler bfq registered
  157. [    0.159634] rockchip-usb2phy-naneng ff4c0000.usb2-phy: GPIO lookup for consumer vup
  158. [    0.159648] rockchip-usb2phy-naneng ff4c0000.usb2-phy: using device tree for GPIO lookup
  159. [    0.159677] of_get_named_gpiod_flags: can't parse 'vup-gpios' property of node '/usb2-phy@ff4c0000[0]'
  160. [    0.159697] of_get_named_gpiod_flags: can't parse 'vup-gpio' property of node '/usb2-phy@ff4c0000[0]'
  161. [    0.159710] rockchip-usb2phy-naneng ff4c0000.usb2-phy: using lookup tables for GPIO lookup
  162. [    0.159720] rockchip-usb2phy-naneng ff4c0000.usb2-phy: No GPIO consumer vup found
  163. [    0.160671] phy phy-ff4c0000.usb2-phy.1: Linked as a consumer to regulator.5
  164. [    0.162687] rockchip-usb2phy-naneng ff4c8000.usb2-phy: GPIO lookup for consumer vup
  165. [    0.162701] rockchip-usb2phy-naneng ff4c8000.usb2-phy: using device tree for GPIO lookup
  166. [    0.162730] of_get_named_gpiod_flags: can't parse 'vup-gpios' property of node '/usb2-phy@ff4c8000[0]'
  167. [    0.162750] of_get_named_gpiod_flags: can't parse 'vup-gpio' property of node '/usb2-phy@ff4c8000[0]'
  168. [    0.162763] rockchip-usb2phy-naneng ff4c8000.usb2-phy: using lookup tables for GPIO lookup
  169. [    0.162774] rockchip-usb2phy-naneng ff4c8000.usb2-phy: No GPIO consumer vup found
  170. [    0.162943] phy phy-ff4c8000.usb2-phy.2: Linked as a consumer to regulator.4
  171. [    0.167042] pwm-backlight backlight: GPIO lookup for consumer enable
  172. [    0.167056] pwm-backlight backlight: using device tree for GPIO lookup
  173. [    0.167099] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/backlight[0]' - status (0)
  174. [    0.167126] gpio gpiochip1: Persistence not supported for GPIO 3
  175. [    0.167130] no flags found for enable
  176. [    0.167173] pwm-backlight backlight: backlight supply power not found, using dummy regulator
  177. [    0.167340] pwm-backlight backlight: Linked as a consumer to regulator.0
  178. [    0.167760] mpp_service mpp-srv: 92c80ddf68f6 author: Yandong Lin 2021-08-10 video: rockchip: mpp: workaround patch for rv1126 iommu issue
  179. [    0.167796] mpp_service mpp-srv: probe start
  180. [    0.168797] iommu: Adding device ffb80000.rkvdec to group 4
  181. [    0.168858] mpp_rkvdec ffb80000.rkvdec: Linked as a consumer to ffb80480.iommu
  182. [    0.169119] mpp_rkvdec ffb80000.rkvdec: probing start
  183. [    0.169815] mpp_rkvdec ffb80000.rkvdec: shared_niu_a is not found!
  184. [    0.169853] rkvdec_init:1190: No niu aclk reset resource define
  185. [    0.169881] mpp_rkvdec ffb80000.rkvdec: shared_niu_h is not found!
  186. [    0.169902] rkvdec_init:1193: No niu hclk reset resource define
  187. [    0.170221] mpp_rkvdec ffb80000.rkvdec: probing finish
  188. [    0.171049] iommu: Adding device ffbb0000.rkvenc to group 6
  189. [    0.171113] mpp_rkvenc ffbb0000.rkvenc: Linked as a consumer to ffbb0f00.iommu
  190. [    0.171455] mpp_rkvenc ffbb0000.rkvenc: probing start
  191. [    0.172078] mpp_rkvenc ffbb0000.rkvenc: venc regulator not ready, retry
  192. [    0.172113] rkvenc_init:1202: failed to add venc devfreq
  193. [    0.173407] iommu: Adding device ffb90400.vdpu to group 5
  194. [    0.173474] mpp_vdpu2 ffb90400.vdpu: Linked as a consumer to ffb90800.iommu
  195. [    0.173584] mpp_vdpu2 ffb90400.vdpu: probe device
  196. [    0.174157] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0
  197. [    0.174211] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0
  198. [    0.174484] mpp_vdpu2 ffb90400.vdpu: probing finish
  199. [    0.175144] iommu: Adding device ffb90000.vepu to group 5
  200. [    0.175202] mpp_vepu2 ffb90000.vepu: Linked as a consumer to ffb90800.iommu
  201. [    0.175355] mpp_vepu2 ffb90000.vepu: probe device
  202. [    0.175933] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0
  203. [    0.175979] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0
  204. [    0.176238] mpp_vepu2 ffb90000.vepu: probing finish
  205. [    0.176811] iommu: Adding device ffb20000.iep to group 1
  206. [    0.176874] mpp-iep2 ffb20000.iep: Linked as a consumer to ffb20800.iommu
  207. [    0.177003] mpp-iep2 ffb20000.iep: probe device
  208. [    0.177749] mpp-iep2 ffb20000.iep: allocate roi buffer failed
  209. [    0.177972] mpp-iep2 ffb20000.iep: probing finish
  210. [    0.178287] mpp_service mpp-srv: probe success
  211. [    0.183775] dma-pl330 ff4e0000.dma-controller: Loaded driver for PL330 DMAC-241330
  212. [    0.183825] dma-pl330 ff4e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
  213. [    0.185949] rockchip-system-monitor rockchip-system-monitor: system monitor probe
  214. [    0.186900] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
  215. [    0.187834] ff410000.serial: ttyS1 at MMIO 0xff410000 (irq = 30, base_baud = 1500000) is a 16550A
  216. [    0.188658] ff560000.serial: ttyS0 at MMIO 0xff560000 (irq = 33, base_baud = 1500000) is a 16550A
  217. [    0.189553] ff580000.serial: ttyS3 at MMIO 0xff580000 (irq = 34, base_baud = 1500000) is a 16550A
  218. [    0.191769] random: fast init done
  219. [    0.192175] random: crng init done
  220. [    0.192675] iommu: Adding device ffb00000.vop to group 0
  221. [    0.192740] rockchip-vop ffb00000.vop: Linked as a consumer to ffb00f00.iommu
  222. [    0.210709] loop: module loaded
  223. [    0.211462] zram: Added device: zram0
  224. [    0.214083] mdio_bus fixed-0: GPIO lookup for consumer reset
  225. [    0.214097] mdio_bus fixed-0: using lookup tables for GPIO lookup
  226. [    0.214108] mdio_bus fixed-0: No GPIO consumer reset found
  227. [    0.214146] libphy: Fixed MDIO Bus: probed
  228. [    0.216269] rk_gmac-dwmac ffc40000.ethernet: no regulator found
  229. [    0.216323] rk_gmac-dwmac ffc40000.ethernet: clock input or output? (output).
  230. [    0.216346] rk_gmac-dwmac ffc40000.ethernet: TX delay(0x2a).
  231. [    0.216374] rk_gmac-dwmac ffc40000.ethernet: RX delay(0x1a).
  232. [    0.216404] rk_gmac-dwmac ffc40000.ethernet: integrated PHY? (no).
  233. [    0.221510] rk_gmac-dwmac ffc40000.ethernet: init for RGMII
  234. [    0.221891] rk_gmac-dwmac ffc40000.ethernet: User ID: 0x30, Synopsys ID: 0x51
  235. [    0.221929] rk_gmac-dwmac ffc40000.ethernet:         DWMAC4/5
  236. [    0.221956] rk_gmac-dwmac ffc40000.ethernet: DMA HW capability register supported
  237. [    0.221981] rk_gmac-dwmac ffc40000.ethernet: RX Checksum Offload Engine supported
  238. [    0.222004] rk_gmac-dwmac ffc40000.ethernet: TX Checksum insertion supported
  239. [    0.222026] rk_gmac-dwmac ffc40000.ethernet: Wake-Up On Lan supported
  240. [    0.222093] rk_gmac-dwmac ffc40000.ethernet: TSO supported
  241. [    0.222120] rk_gmac-dwmac ffc40000.ethernet: Enable RX Mitigation via HW Watchdog Timer
  242. [    0.222146] rk_gmac-dwmac ffc40000.ethernet: TSO feature enabled
  243. [    0.222332] mdio_bus stmmac-0: GPIO lookup for consumer reset
  244. [    0.222341] mdio_bus stmmac-0: using device tree for GPIO lookup
  245. [    0.222409] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@ffc40000/mdio[0]'
  246. [    0.222429] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ethernet@ffc40000/mdio[0]'
  247. [    0.222443] mdio_bus stmmac-0: using lookup tables for GPIO lookup
  248. [    0.222453] mdio_bus stmmac-0: No GPIO consumer reset found
  249. [    0.222491] of_get_named_gpiod_flags: parsed 'snps,reset-gpio' property of node '/ethernet@ffc40000[0]' - status (0)
  250. [    0.359098] libphy: stmmac: probed
  251. [    0.359882] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@ffc40000/mdio/phy@0[0]'
  252. [    0.361160] PPP generic driver version 2.4.2
  253. [    0.361471] PPP BSD Compression module registered
  254. [    0.361501] PPP Deflate Compression module registered
  255. [    0.361544] PPP MPPE Compression module registered
  256. [    0.361568] NET: Registered protocol family 24
  257. [    0.361710] usbcore: registered new interface driver r8152
  258. [    0.361795] usbcore: registered new interface driver asix
  259. [    0.361885] usbcore: registered new interface driver ax88179_178a
  260. [    0.361967] usbcore: registered new interface driver cdc_ether
  261. [    0.362051] usbcore: registered new interface driver net1080
  262. [    0.362125] usbcore: registered new interface driver cdc_subset
  263. [    0.362196] usbcore: registered new interface driver zaurus
  264. [    0.362287] usbcore: registered new interface driver cdc_ncm
  265. [    0.362458] usbcore: registered new interface driver qmi_wwan
  266. [    0.364359] dwc3 ffd00000.dwc3: Failed to get clk 'ref': -2
  267. [    0.370954] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  268. [    0.371006] ehci-platform: EHCI generic platform driver
  269. [    0.374660] ehci-platform ffe00000.usb: EHCI Host Controller
  270. [    0.374752] ehci-platform ffe00000.usb: new USB bus registered, assigned bus number 1
  271. [    0.374948] ehci-platform ffe00000.usb: irq 67, io mem 0xffe00000
  272. [    0.385776] ehci-platform ffe00000.usb: USB 2.0 started, EHCI 1.00
  273. [    0.386126] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
  274. [    0.386160] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  275. [    0.386185] usb usb1: Product: EHCI Host Controller
  276. [    0.386209] usb usb1: Manufacturer: Linux 4.19.111 ehci_hcd
  277. [    0.386232] usb usb1: SerialNumber: ffe00000.usb
  278. [    0.387071] hub 1-0:1.0: USB hub found
  279. [    0.387157] hub 1-0:1.0: 1 port detected
  280. [    0.387157] hub 1-0:1.0: 1 port detected
  281. [    0.387959] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
  282. [    0.388018] ohci-platform: OHCI generic platform driver
  283. [    0.388675] ohci-platform ffe10000.usb: Generic Platform OHCI controller
  284. [    0.388748] ohci-platform ffe10000.usb: new USB bus registered, assigned bus number 2
  285. [    0.388954] ohci-platform ffe10000.usb: irq 68, io mem 0xffe10000
  286. [    0.446747] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19
  287. [    0.446801] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  288. [    0.446821] usb usb2: Product: Generic Platform OHCI controller
  289. [    0.446866] usb usb2: Manufacturer: Linux 4.19.111 ohci_hcd
  290. [    0.446886] usb usb2: SerialNumber: ffe10000.usb
  291. [    0.447736] hub 2-0:1.0: USB hub found
  292. [    0.447819] hub 2-0:1.0: 1 port detected
  293. [    0.449636] usbcore: registered new interface driver cdc_wdm
  294. [    0.449801] usbcore: registered new interface driver usb-storage
  295. [    0.449974] usbcore: registered new interface driver option
  296. [    0.450049] usbserial: USB Serial support registered for GSM modem (1-port)
  297. [    0.451174] i2c /dev entries driver
  298. [    0.453240] rk808 0-0020: chip id: 0x8090
  299. [    0.453357] rk808 0-0020: No cache defaults, reading back from HW
  300. [    0.459803] rk808 0-0020: source: on=0x40, off=0x00
  301. [    0.459855] rk808 0-0020: support dcdc3 fb mode:-22, -1329954244
  302. [    0.459879] rk808 0-0020: support pmic reset mode:0,0
  303. [    0.460530] gpiochip_find_base: found new base at 511
  304. [    0.460787] gpio gpiochip5: (rk817-gpio): added GPIO chardev (254:5)
  305. [    0.460923] gpiochip_setup_dev: registered GPIOs 511 to 511 on device: gpiochip5 (rk817-gpio)
  306. [    0.461070] gpio gpiochip5: (rk817-gpio): created GPIO range 0->0 ==> rk805-pinctrl PIN 0->0
  307. [    0.464328] rk808 0-0020: GPIO lookup for consumer dvs
  308. [    0.464341] rk808 0-0020: using device tree for GPIO lookup
  309. [    0.464374] of_get_named_gpiod_flags: can't parse 'dvs-gpios' property of node '/i2c@ff3f0000/pmic@20[0]'
  310. [    0.464395] of_get_named_gpiod_flags: can't parse 'dvs-gpio' property of node '/i2c@ff3f0000/pmic@20[0]'
  311. [    0.464410] rk808 0-0020: using lookup tables for GPIO lookup
  312. [    0.464419] rk808 0-0020: No GPIO consumer dvs found
  313. [    0.464431] rk808-regulator rk808-regulator: there is no dvs0 gpio
  314. [    0.464491] rk808 0-0020: GPIO lookup for consumer dvs
  315. [    0.464499] rk808 0-0020: using device tree for GPIO lookup
  316. [    0.464522] of_get_named_gpiod_flags: can't parse 'dvs-gpios' property of node '/i2c@ff3f0000/pmic@20[1]'
  317. [    0.464542] of_get_named_gpiod_flags: can't parse 'dvs-gpio' property of node '/i2c@ff3f0000/pmic@20[1]'
  318. [    0.464552] rk808 0-0020: using lookup tables for GPIO lookup
  319. [    0.464561] rk808 0-0020: No GPIO consumer dvs found
  320. [    0.464571] rk808-regulator rk808-regulator: there is no dvs1 gpio
  321. [    0.464685] DCDC_REG1: supplied by vcc5v0_sys
  322. [    0.465429] DCDC_REG2: supplied by vcc5v0_sys
  323. [    0.466149] DCDC_REG3: supplied by vcc5v0_sys
  324. [    0.466658] DCDC_REG4: supplied by vcc5v0_sys
  325. [    0.467192] DCDC_REG5: supplied by vcc5v0_sys
  326. [    0.467863] LDO_REG1: supplied by vcc_buck5
  327. [    0.468508] LDO_REG2: supplied by vcc_buck5
  328. [    0.469074] LDO_REG3: supplied by vcc_buck5
  329. [    0.469603] LDO_REG4: supplied by vcc_buck5
  330. [    0.470115] LDO_REG5: supplied by vcc_buck5
  331. [    0.470630] LDO_REG6: supplied by vcc_buck5
  332. [    0.470714] vcc_dvdd: Bringing 1100000uV into 1200000-1200000uV
  333. [    0.471316] LDO_REG7: supplied by vcc5v0_sys
  334. [    0.471844] LDO_REG8: supplied by vcc5v0_sys
  335. [    0.472548] LDO_REG9: supplied by vcc5v0_sys
  336. [    0.473200] SWITCH_REG1: supplied by vcc5v0_sys
  337. [    0.473674] SWITCH_REG2: supplied by vcc3v3_sys
  338. [    0.476048] input: rk805 pwrkey as /devices/platform/ff3f0000.i2c/i2c-0/0-0020/rk805-pwrkey/input/input0
  339. [    0.479102] rk808-rtc rk808-rtc: registered as rtc0
  340. [    0.479703] rk808-rtc rk808-rtc: setting system clock to 2017-08-04 09:00:02 UTC (1501837202)
  341. [    0.481874] pca953x 1-0020: GPIO lookup for consumer reset
  342. [    0.481887] pca953x 1-0020: using device tree for GPIO lookup
  343. [    0.481915] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/i2c@ff510000/i2c1gpio@27[0]'
  344. [    0.481935] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/i2c@ff510000/i2c1gpio@27[0]'
  345. [    0.481947] pca953x 1-0020: using lookup tables for GPIO lookup
  346. [    0.481957] pca953x 1-0020: No GPIO consumer reset found
  347. [    0.482000] pca953x 1-0020: 1-0020 supply vcc not found, using dummy regulator
  348. [    0.482130] pca953x 1-0020: Linked as a consumer to regulator.0
  349. [    0.482250] pca953x 1-0020: failed reading register
  350. [    0.482391] pca953x 1-0020: Dropping the link to regulator.0
  351. [    0.482835] rk628 1-0050: GPIO lookup for consumer enable
  352. [    0.482845] rk628 1-0050: using device tree for GPIO lookup
  353. [    0.482871] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/i2c@ff510000/rk628@50[0]'
  354. [    0.482891] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/i2c@ff510000/rk628@50[0]'
  355. [    0.482902] rk628 1-0050: using lookup tables for GPIO lookup
  356. [    0.482911] rk628 1-0050: No GPIO consumer enable found
  357. [    0.482921] rk628 1-0050: GPIO lookup for consumer reset
  358. [    0.482929] rk628 1-0050: using device tree for GPIO lookup
  359. [    0.482966] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff510000/rk628@50[0]' - status (0)
  360. [    0.482995] gpio gpiochip4: Persistence not supported for GPIO 1
  361. [    0.528801] rk628-cru rk628-cru: DMA mask not set
  362. [    0.572636] rk628-pinctrl rk628-pinctrl: DMA mask not set
  363. [    0.574143] gpiochip_find_base: found new base at 499
  364. [    0.574430] gpio gpiochip6: (rk628-gpio0): added GPIO chardev (254:6)
  365. [    0.574558] gpiochip_setup_dev: registered GPIOs 499 to 510 on device: gpiochip6 (rk628-gpio0)
  366. [    0.574587] gpiochip_find_base: found new base at 485
  367. [    0.574797] gpio gpiochip7: (rk628-gpio1): added GPIO chardev (254:7)
  368. [    0.574924] gpiochip_setup_dev: registered GPIOs 485 to 498 on device: gpiochip7 (rk628-gpio1)
  369. [    0.574942] gpiochip_find_base: found new base at 461
  370. [    0.575176] gpio gpiochip8: (rk628-gpio2): added GPIO chardev (254:8)
  371. [    0.575303] gpiochip_setup_dev: registered GPIOs 461 to 484 on device: gpiochip8 (rk628-gpio2)
  372. [    0.575322] gpiochip_find_base: found new base at 448
  373. [    0.575530] gpio gpiochip9: (rk628-gpio3): added GPIO chardev (254:9)
  374. [    0.575654] gpiochip_setup_dev: registered GPIOs 448 to 460 on device: gpiochip9 (rk628-gpio3)
  375. [    0.578745] rk628-combrxphy rk628-combrxphy: DMA mask not set
  376. [    0.579590] rk628-combtxphy rk628-combtxphy: DMA mask not set
  377. [    0.581342] rk628-hdmirx rk628-hdmirx: DMA mask not set
  378. [    0.581983] rk628-dsi rk628-dsi1: DMA mask not set
  379. [    0.582691] rk628-dsi rk628-dsi0: DMA mask not set
  380. [    0.583301] rk628-rgb rk628-rgb-tx: DMA mask not set
  381. [    0.583893] rk628-rgb rk628-yuv-rx: DMA mask not set
  382. [    0.584481] rk628-rgb rk628-yuv-tx: DMA mask not set
  383. [    0.585037] rk628-rgb rk628-bt1120-rx: DMA mask not set
  384. [    0.585605] rk628-rgb rk628-bt1120-tx: DMA mask not set
  385. [    0.586223] rk628-lvds rk628-lvds: DMA mask not set
  386. [    0.586854] rk628-gvi rk628-gvi: DMA mask not set
  387. [    0.590104] rk628-hdmi rk628-hdmi: DMA mask not set
  388. [    0.591356] rk628-post-process rk628-post-process: DMA mask not set
  389. [    0.591861] rockchip-pinctrl pinctrl: pin gpio3-0 already requested by ff580000.serial; cannot claim for ff530000.i2c
  390. [    0.591899] rockchip-pinctrl pinctrl: pin-96 (ff530000.i2c) status -22
  391. [    0.591929] rockchip-pinctrl pinctrl: could not request pin 96 (gpio3-0) from group i2c4m0-xfer  on device rockchip-pinctrl
  392. [    0.591954] rk3x-i2c ff530000.i2c: Error applying setting, reverse things back
  393. [    0.591996] rk3x-i2c: probe of ff530000.i2c failed with error -22
  394. [    0.596169] rk628-csi rk628-csi: DMA mask not set
  395. [    0.597365] rk628-csi rk628-csi: driver version: 00.00.03
  396. [    0.597569] rk628-csi rk628-csi: GPIO lookup for consumer power
  397. [    0.597580] rk628-csi rk628-csi: using device tree for GPIO lookup
  398. [    0.597615] of_get_named_gpiod_flags: can't parse 'power-gpios' property of node '/i2c@ff510000/rk628@50/csi[0]'
  399. [    0.597636] of_get_named_gpiod_flags: can't parse 'power-gpio' property of node '/i2c@ff510000/rk628@50/csi[0]'
  400. [    0.597650] rk628-csi rk628-csi: using lookup tables for GPIO lookup
  401. [    0.597661] rk628-csi rk628-csi: No GPIO consumer power found
  402. [    0.597671] rk628-csi rk628-csi: GPIO lookup for consumer plugin-det
  403. [    0.597679] rk628-csi rk628-csi: using device tree for GPIO lookup
  404. [    0.597716] of_get_named_gpiod_flags: parsed 'plugin-det-gpios' property of node '/i2c@ff510000/rk628@50/csi[0]' - status (0)
  405. [    0.597744] gpio gpiochip2: Persistence not supported for GPIO 2
  406. [    0.715762] usb 1-1: new high-speed USB device number 2 using ehci-platform
  407. [    0.732461] rk628-csi rk628-csi: lane module is not in stop state, ret=0, val=61444
  408. [    0.798361] Freeing initrd memory: 8948K
  409. [    0.864275] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=60.90
  410. [    0.864323] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
  411. [    0.864343] usb 1-1: Product: USB2.0 Hub
  412. [    0.865472] hub 1-1:1.0: USB hub found
  413. [    0.865890] hub 1-1:1.0: 4 ports detected
  414. [    1.145752] usb 1-1.3: new high-speed USB device number 3 using ehci-platform
  415. [    1.243767] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8152, bcdDevice=20.00
  416. [    1.243803] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
  417. [    1.243823] usb 1-1.3: Product: USB 10/100 LAN
  418. [    1.243841] usb 1-1.3: Manufacturer: Realtek
  419. [    1.243865] usb 1-1.3: SerialNumber: 00E04CF2DBDC
  420. [    1.325798] usb 1-1.3: reset high-speed USB device number 3 using ehci-platform
  421. [    1.490822] r8152 1-1.3:1.0 eth1: v2.12.0 (2019/04/29)
  422. [    1.490862] r8152 1-1.3:1.0 eth1: This product is covered by one or more of the following patents:
  423.                         US6,570,884, US6,115,776, and US6,327,625.
  424. [    1.599086] phy phy-ff4c0000.usb2-phy.1: charger = USB_SDP_CHARGER
  425. [    1.906468] rk628-combrxphy rk628-combrxphy: clk det over cnt:10, reg_0x6654:0x501f0000
  426. [    1.906816] rk628-combrxphy rk628-combrxphy: clock detected failed, cfg resistance manual!
  427. [    1.944756] rk628-combrxphy rk628-combrxphy: err, clk not stable, reg_0x6630:0x87000d, reg_0x6608:0x110100
  428. [    1.944790] phy phy-rk628-combrxphy.3: phy poweron failed --> -22
  429. [    1.944808] m00_b_rk628-csi rk628-csi: hdmi rxphy power on failed
  430. [    2.286423] m00_b_rk628-csi rk628-csi: rk628_hdmirx_phy_setup hdmi rxphy lock failed, retry:0
  431. [    3.421949] rk628-combrxphy rk628-combrxphy: clk det over cnt:10, reg_0x6654:0x501f0000
  432. [    3.422290] rk628-combrxphy rk628-combrxphy: clock detected failed, cfg resistance manual!
  433. [    3.460175] rk628-combrxphy rk628-combrxphy: err, clk not stable, reg_0x6630:0x87000d, reg_0x6608:0x110100
  434. [    3.460208] phy phy-rk628-combrxphy.3: phy poweron failed --> -22
  435. [    3.460224] m00_b_rk628-csi rk628-csi: hdmi rxphy power on failed
  436. [    3.801925] m00_b_rk628-csi rk628-csi: rk628_hdmirx_phy_setup hdmi rxphy lock failed, retry:1
  437. [    4.937495] rk628-combrxphy rk628-combrxphy: clk det over cnt:10, reg_0x6654:0x80070141
  438. [    4.937836] rk628-combrxphy rk628-combrxphy: clock detected failed, cfg resistance manual!
  439. [    4.943342] rk628-combrxphy rk628-combrxphy: clock stable!
  440. [    4.943684] rk628-combrxphy rk628-combrxphy: cdr_mode:7, cdr_data:321
  441. [    4.944227] rk628-combrxphy rk628-combrxphy: cdr_mode:7, pll_man:0x7964c
  442. [    4.949534] rk628-combrxphy rk628-combrxphy: cdr_mode:7, dc_gain:0, rd_offset:0, edge:0x25c3f8
  443. [    5.306137] rk628-combrxphy rk628-combrxphy: last equ gain ch0:0, ch1:0, ch2:3
  444. [    5.430451] rk628-combrxphy rk628-combrxphy: channel alignment done
  445. [    5.430485] rk628-combrxphy rk628-combrxphy: rx initial done
  446. [    5.457510] m00_b_rk628-csi rk628-csi: rk628_csi_format_change: New format: 1280x720p60.0 (1650x750)
  447. [    5.487027] m00_b_rk628-csi rk628-csi: rk628 found @ 0xa0 (rk3x-i2c)
  448. [    5.489180] rkcifhw ffae0000.rkcif: no iommu attached, using non-iommu buffers
  449. [    5.489240] rkcifhw ffae0000.rkcif: assigned reserved memory node isp
  450. [    5.489388] rkcif rkcif_dvp: rkcif driver version: v00.01.0a
  451. [    5.489495] rkcif rkcif_dvp: attach to cif hw node
  452. [    5.489527] rkcif rkcif_dvp: rkcif wait line 0
  453. [    5.490666] rkcif_dvp: cif_subdev_notifier: no subdev be found!
  454. [    5.490696] rkcif_dvp: Failed to register subdev notifier(-19)
  455. [    5.491679] rkcif rkcif_dvp: detach to cif hw node
  456. [    5.493881] iommu: Adding device ffb50000.rkisp to group 2
  457. [    5.493944] rkisp_hw ffb50000.rkisp: Linked as a consumer to ffb51a00.iommu
  458. [    5.494300] rkisp_hw ffb50000.rkisp: is_thunderboot: 0
  459. [    5.494336] rkisp_hw ffb50000.rkisp: Missing rockchip,grf property
  460. [    5.494379] rkisp_hw ffb50000.rkisp: can't request region for resource [mem 0xffb50000-0xffb5ffff]
  461. [    5.494738] rkisp_hw ffb50000.rkisp: assigned reserved memory node isp
  462. [    5.495065] rkisp rkisp-vir1: rkisp driver version: v01.06.02
  463. [    5.495171] rkisp rkisp-vir1: GPIO lookup for consumer vsirq
  464. [    5.495181] rkisp rkisp-vir1: using device tree for GPIO lookup
  465. [    5.495207] of_get_named_gpiod_flags: can't parse 'vsirq-gpios' property of node '/rkisp-vir1[0]'
  466. [    5.495228] of_get_named_gpiod_flags: can't parse 'vsirq-gpio' property of node '/rkisp-vir1[0]'
  467. [    5.495240] rkisp rkisp-vir1: using lookup tables for GPIO lookup
  468. [    5.495250] rkisp rkisp-vir1: No GPIO consumer vsirq found
  469. [    5.495307] rkisp rkisp-vir1: No memory-region-thunderboot specified
  470. [    5.495572] rkisp rkisp-vir1: Entity type for entity rkisp-isp-subdev was not initialized!
  471. [    5.495618] rkisp rkisp-vir1: Entity type for entity rkisp-csi-subdev was not initialized!
  472. [    5.495651] rkisp rkisp-vir1: Entity type for entity rkisp-bridge-ispp was not initialized!
  473. [    5.499591] iommu: Adding device ffb60000.rkispp to group 3
  474. [    5.499657] rkispp_hw ffb60000.rkispp: Linked as a consumer to ffb60e00.iommu
  475. [    5.500116] rkispp_hw ffb60000.rkispp: max input:0x0@0fps
  476. [    5.500165] rkispp_hw ffb60000.rkispp: can't request region for resource [mem 0xffb60000-0xffb7ffff]
  477. [    5.500424] rkispp_hw ffb60000.rkispp: failed to get cru reset
  478. [    5.500718] rkispp rkispp-vir0: rkispp driver version: v01.06.02
  479. [    5.503488] usbcore: registered new interface driver uvcvideo
  480. [    5.503522] USB Video Class driver (1.1.1)
  481. [    5.503993] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.20
  482. [    5.504050] rockchip-iodomain fe020000.syscon:io-domains: vccio2(3300000 uV) supplied by vccio_sd
  483. [    5.504205] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.16
  484. [    5.504266] rockchip-iodomain fe020000.syscon:io-domains: vccio3(1800000 uV) supplied by vcc_1v8
  485. [    5.504401] rockchip-iodomain fe020000.syscon:io-domains: vccio4(1800000 uV) supplied by vcc_1v8
  486. [    5.504566] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.23
  487. [    5.504628] rockchip-iodomain fe020000.syscon:io-domains: vccio5(3300000 uV) supplied by vcc_3v3
  488. [    5.504825] rockchip-iodomain fe020000.syscon:io-domains: vccio6(3300000 uV) supplied by vcc_3v3
  489. [    5.504993] rockchip-iodomain fe020000.syscon:io-domains: vccio7(1800000 uV) supplied by vcc_1v8
  490. [    5.505114] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.14
  491. [    5.505168] rockchip-iodomain fe020000.syscon:io-domains: pmuio0(1800000 uV) supplied by vcc1v8_pmu
  492. [    5.505336] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.11
  493. [    5.505391] rockchip-iodomain fe020000.syscon:io-domains: pmuio1(3300000 uV) supplied by vcc3v3_sys
  494. [    5.509068] rockchip-thermal ff5f0000.tsadc: tsadc trimmed value = -11
  495. [    5.509463] rockchip-thermal ff5f0000.tsadc: tsadc is probed successfully!
  496. [    5.509959] rockchip-thermal ff5f8000.tsadc: tsadc trimmed value = -11
  497. [    5.510250] rockchip-thermal ff5f8000.tsadc: tsadc is probed successfully!
  498. [    5.511454] Bluetooth: HCI UART driver ver 2.3
  499. [    5.511486] Bluetooth: HCI UART protocol H4 registered
  500. [    5.511842] cpu cpu0: bin=0
  501. [    5.511902] cpu cpu0: leakage=1.375
  502. [    5.512047] cpu cpu0: Linked as a consumer to regulator.9
  503. [    5.523747] cpu cpu0: temp=45200, pvtm=100616 (100512 + 104)
  504. [    5.523865] cpu cpu0: pvtm-volt-sel=1
  505. [    5.523969] cpu cpu0: Dropping the link to regulator.9
  506. [    5.524035] cpu cpu0: bin-scale=5
  507. [    5.524438] cpu cpu0: Linked as a consumer to regulator.9
  508. [    5.524524] cpu cpu0: Dropping the link to regulator.9
  509. [    5.524764] cpu cpu0: Linked as a consumer to regulator.9
  510. [    5.526062] cpu cpu0: avs=0
  511. [    5.526497] energy_model: Created perf domain 0-3
  512. [    5.526562] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
  513. [    5.526609] cpu cpu0: failed to read out thermal zone (-22)
  514. [    5.527504] cpu cpu0: failed to find power_model node
  515. [    5.527587] cpuidle: enable-method property 'psci' found operations
  516. [    5.527670] cpuidle: enable-method property 'psci' found operations
  517. [    5.527750] cpuidle: enable-method property 'psci' found operations
  518. [    5.527816] cpuidle: enable-method property 'psci' found operations
  519. [    5.528171] pwrseq_simple sdio-pwrseq: GPIO lookup for consumer reset
  520. [    5.528176] pwrseq_simple sdio-pwrseq: using device tree for GPIO lookup
  521. [    5.528198] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/sdio-pwrseq[0]' - status (0)
  522. [    5.528213] gpio gpiochip0: Persistence not supported for GPIO 6
  523. [    5.528497] Synopsys Designware Multimedia Card Interface Driver
  524. [    5.529001] dwmmc_rockchip ffc50000.dwmmc: IDMAC supports 32-bit address mode.
  525. [    5.529126] dwmmc_rockchip ffc50000.dwmmc: Using internal DMA controller.
  526. [    5.529184] dwmmc_rockchip ffc50000.dwmmc: Version ID is 270a
  527. [    5.529273] dwmmc_rockchip ffc50000.dwmmc: DW MMC controller at irq 62,32 bit host data width,256 deep fifo
  528. [    5.529366] dwmmc_rockchip ffc50000.dwmmc: GPIO lookup for consumer wp
  529. [    5.529372] dwmmc_rockchip ffc50000.dwmmc: using device tree for GPIO lookup
  530. [    5.529388] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc50000[0]'
  531. [    5.529396] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc50000[0]'
  532. [    5.529404] dwmmc_rockchip ffc50000.dwmmc: using lookup tables for GPIO lookup
  533. [    5.529409] dwmmc_rockchip ffc50000.dwmmc: No GPIO consumer wp found
  534. [    5.529437] mmc_host mmc0: card is non-removable.
  535. [    5.542685] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  536. [    5.556678] dwmmc_rockchip ffc60000.dwmmc: IDMAC supports 32-bit address mode.
  537. [    5.556761] dwmmc_rockchip ffc60000.dwmmc: Using internal DMA controller.
  538. [    5.556791] dwmmc_rockchip ffc60000.dwmmc: Version ID is 270a
  539. [    5.556893] dwmmc_rockchip ffc60000.dwmmc: DW MMC controller at irq 63,32 bit host data width,256 deep fifo
  540. [    5.557136] dwmmc_rockchip ffc60000.dwmmc: Linked as a consumer to regulator.21
  541. [    5.557258] dwmmc_rockchip ffc60000.dwmmc: Linked as a consumer to regulator.20
  542. [    5.557339] dwmmc_rockchip ffc60000.dwmmc: GPIO lookup for consumer cd
  543. [    5.557349] dwmmc_rockchip ffc60000.dwmmc: using device tree for GPIO lookup
  544. [    5.557380] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/dwmmc@ffc60000[0]'
  545. [    5.557401] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/dwmmc@ffc60000[0]'
  546. [    5.557414] dwmmc_rockchip ffc60000.dwmmc: using lookup tables for GPIO lookup
  547. [    5.557424] dwmmc_rockchip ffc60000.dwmmc: No GPIO consumer cd found
  548. [    5.557437] dwmmc_rockchip ffc60000.dwmmc: GPIO lookup for consumer wp
  549. [    5.557446] dwmmc_rockchip ffc60000.dwmmc: using device tree for GPIO lookup
  550. [    5.557466] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc60000[0]'
  551. [    5.557485] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc60000[0]'
  552. [    5.557496] dwmmc_rockchip ffc60000.dwmmc: using lookup tables for GPIO lookup
  553. [    5.557506] dwmmc_rockchip ffc60000.dwmmc: No GPIO consumer wp found
  554. [    5.569290] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  555. [    5.583252] dwmmc_rockchip ffc70000.dwmmc: IDMAC supports 32-bit address mode.
  556. [    5.583343] dwmmc_rockchip ffc70000.dwmmc: Using internal DMA controller.
  557. [    5.583380] dwmmc_rockchip ffc70000.dwmmc: Version ID is 270a
  558. [    5.583493] dwmmc_rockchip ffc70000.dwmmc: DW MMC controller at irq 64,32 bit host data width,256 deep fifo
  559. [    5.583652] dwmmc_rockchip ffc70000.dwmmc: GPIO lookup for consumer wp
  560. [    5.583664] dwmmc_rockchip ffc70000.dwmmc: using device tree for GPIO lookup
  561. [    5.583699] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc70000[0]'
  562. [    5.583720] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc70000[0]'
  563. [    5.583736] dwmmc_rockchip ffc70000.dwmmc: using lookup tables for GPIO lookup
  564. [    5.583747] dwmmc_rockchip ffc70000.dwmmc: No GPIO consumer wp found
  565. [    5.583812] dwmmc_rockchip ffc70000.dwmmc: allocated mmc-pwrseq
  566. [    5.583868] mmc_host mmc1: card is non-removable.
  567. [    5.588581] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 200000000Hz, actual 198000000HZ div = 0)
  568. [    5.588644] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 90
  569. [    5.588766] mmc0: new HS200 MMC card at address 0001
  570. [    5.590759] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
  571. [    5.592094] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
  572. [    5.593499] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
  573. [    5.594752] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (241:0)
  574. [    5.597073] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
  575. [    5.604573]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
  576. [    5.610420] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/work[0]' - status (0)
  577. [    5.610446] gpio gpiochip0: Persistence not supported for GPIO 4
  578. [    5.610449] no flags found for gpios
  579. [    5.610584] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/user[0]' - status (0)
  580. [    5.610598] gpio gpiochip0: Persistence not supported for GPIO 16
  581. [    5.610602] no flags found for gpios
  582. [    5.611058] usbcore: registered new interface driver usbkbd
  583. [    5.611130] usbcore: registered new interface driver usbmouse
  584. [    5.613113] rockchip-saradc ff5e0000.saradc: Linked as a consumer to regulator.16
  585. [    5.614237] rksfc_base v1.1 2016-01-08
  586. [    5.614840] rksfc ffc90000.sfc: rksfc_probe clk rate = 79200000
  587. [    5.614932] rkflash_dev_init enter
  588. [    5.614957] sfc nor id: 0 0 0
  589. [    5.614971] rkflash[1] is invalid
  590. [    5.614975] rkflash_dev_init enter
  591. [    5.614996] sfc_nand id: 0 0 0
  592. [    5.615004] rkflash[2] is invalid
  593. [    5.621575] rk817-codec rk817-codec: DMA mask not set
  594. [    5.621724] rk817_codec_parse_dt_property: rk809 have no io-channels defined
  595. [    5.621765] of_get_named_gpiod_flags: parsed 'hp-det' property of node '/i2c@ff3f0000/pmic@20/codec[0]' - status (0)
  596. [    5.621789] rk817-codec rk817-codec: GPIO lookup for consumer hp-ctl
  597. [    5.621794] rk817-codec rk817-codec: using device tree for GPIO lookup
  598. [    5.621812] of_get_named_gpiod_flags: parsed 'hp-ctl-gpios' property of node '/i2c@ff3f0000/pmic@20/codec[0]' - status (0)
  599. [    5.621823] gpio gpiochip1: Persistence not supported for GPIO 23
  600. [    5.621835] rk817-codec rk817-codec: GPIO lookup for consumer spk-ctl
  601. [    5.621839] rk817-codec rk817-codec: using device tree for GPIO lookup
  602. [    5.621857] of_get_named_gpiod_flags: parsed 'spk-ctl-gpios' property of node '/i2c@ff3f0000/pmic@20/codec[0]' - status (0)
  603. [    5.621867] gpio gpiochip3: Persistence not supported for GPIO 30
  604. [    5.627325] NET: Registered protocol family 17
  605. [    5.627407] NET: Registered protocol family 15
  606. [    5.627979] Bluetooth: RFCOMM TTY layer initialized
  607. [    5.628025] Bluetooth: RFCOMM socket layer initialized
  608. [    5.628130] Bluetooth: RFCOMM ver 1.11
  609. [    5.628152] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
  610. [    5.628168] Bluetooth: HIDP socket layer initialized
  611. [    5.628179] [BT_RFKILL]: Enter rfkill_rk_init
  612. [    5.628189] [WLAN_RFKILL]: Enter rfkill_wlan_init
  613. [    5.628498] [WLAN_RFKILL]: Enter rfkill_wlan_probe
  614. [    5.628543] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6236
  615. [    5.628556] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control.
  616. [    5.628567] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio.
  617. [    5.628589] of_get_named_gpiod_flags: can't parse 'WIFI,poweren_gpio' property of node '/wireless-wlan[0]'
  618. [    5.628598] of_get_named_gpiod_flags: can't parse 'WIFI,vbat_gpio' property of node '/wireless-wlan[0]'
  619. [    5.628606] of_get_named_gpiod_flags: can't parse 'WIFI,reset_gpio' property of node '/wireless-wlan[0]'
  620. [    5.628625] of_get_named_gpiod_flags: parsed 'WIFI,host_wake_irq' property of node '/wireless-wlan[0]' - status (0)
  621. [    5.628629] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 8, flags = 0.
  622. [    5.628658] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio
  623. [    5.628670] [WLAN_RFKILL]: Exit rfkill_wlan_probe
  624. [    5.629180] of_get_named_gpiod_flags: parsed 'uart_rts_gpios' property of node '/wireless-bluetooth[0]' - status (0)
  625. [    5.629190] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 48.
  626. [    5.629273] of_get_named_gpiod_flags: parsed 'BT,power_gpio' property of node '/wireless-bluetooth[0]' - status (0)
  627. [    5.629278] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,power_gpio = 7.
  628. [    5.629305] of_get_named_gpiod_flags: can't parse 'BT,reset_gpio' property of node '/wireless-bluetooth[0]'
  629. [    5.629315] of_get_named_gpiod_flags: can't parse 'BT,wake_gpio' property of node '/wireless-bluetooth[0]'
  630. [    5.629335] of_get_named_gpiod_flags: parsed 'BT,wake_host_irq' property of node '/wireless-bluetooth[0]' - status (0)
  631. [    5.629339] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 5.
  632. [    5.629386] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!.
  633. [    5.629476] [BT_RFKILL]: Request irq for bt wakeup host
  634. [    5.629676] [BT_RFKILL]: ** disable irq
  635. [    5.629805] [BT_RFKILL]: bt shut off power
  636. [    5.629866] [BT_RFKILL]: bt_default device registered.
  637. [    5.631449] flash vendor_init_thread!
  638. [    5.631480] flash vendor storage:20170308 ret = -1
  639. [    5.632317] Registering SWP/SWPB emulation handler
  640. [    5.633352] Loading compiled-in X.509 certificates
  641. [    5.634738] rga2: Driver loaded successfully ver:3.2.56726
  642. [    5.635078] rga2: Module initialized.
  643. [    5.640624] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
  644. [    5.642330] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  645. [    5.644242] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
  646. [    5.647147] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
  647. [    5.651272] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
  648. [    5.651563] vendor storage:20190527 ret = 0
  649. [    5.662561] mpp_rkvenc ffbb0000.rkvenc: probing start
  650. [    5.663586] mpp_rkvenc ffbb0000.rkvenc: Linked as a consumer to regulator.8
  651. [    5.663663] mpp_rkvenc ffbb0000.rkvenc: bin=0
  652. [    5.663689] mpp_rkvenc ffbb0000.rkvenc: leakage=1.375
  653. [    5.663738] mpp_rkvenc ffbb0000.rkvenc: Failed to get pvtm
  654. [    5.663765] mpp_rkvenc ffbb0000.rkvenc: bin-scale=37
  655. [    5.664040] mpp_rkvenc ffbb0000.rkvenc: avs=0
  656. [    5.664294] mpp_rkvenc ffbb0000.rkvenc: failed to find power_model node
  657. [    5.664309] mpp_rkvenc ffbb0000.rkvenc: failed to initialize power model
  658. [    5.664433] mpp_rkvenc ffbb0000.rkvenc: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
  659. [    5.664455] mpp_rkvenc ffbb0000.rkvenc: failed to read out thermal zone (-22)
  660. [    5.664740] mpp_rkvenc ffbb0000.rkvenc: probing finish
  661. [    5.665189] input: adc-keys as /devices/platform/adc-keys/input/input1
  662. [    5.665853] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/rk809-sound[0]'
  663. [    5.665878] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/rk809-sound[0]'
  664. [    5.667821] asoc-simple-card rk809-sound: rk817-hifi <-> ff800000.i2s mapping ok
  665. [    5.667861] asoc-simple-card rk809-sound: ASoC: no source widget found for MICBIAS1
  666. [    5.667874] asoc-simple-card rk809-sound: ASoC: Failed to add route MICBIAS1 -> direct -> Mic Jack
  667. [    5.667885] asoc-simple-card rk809-sound: ASoC: no sink widget found for IN1P
  668. [    5.667893] asoc-simple-card rk809-sound: ASoC: Failed to add route Mic Jack -> direct -> IN1P
  669. [    5.667904] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOL
  670. [    5.667914] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOL -> direct -> Headphone Jack
  671. [    5.667924] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOR
  672. [    5.667934] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOR -> direct -> Headphone Jack
  673. [    5.668444] input: rockchip,rk809-codec Headphone Jack as /devices/platform/rk809-sound/sound/card0/input2
  674. [    5.670937] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.22 (r-20191105-2)(20191120-1)
  675. [    5.670970] ======== dhd_wlan_init_plat_data ========
  676. [    5.670982] [WLAN_RFKILL]: rockchip_wifi_get_oob_irq: Enter
  677. [    5.671050] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=122, oob_irq_flags=0x414
  678. [    5.671063] dhd_wlan_init_gpio: WL_REG_ON=-1
  679. [    5.671073] dhd_wifi_platform_load: Enter
  680. [    5.671084] Power-up adapter 'DHD generic adapter'
  681. [    5.671123] wifi_platform_set_power = 1
  682. [    5.671135] ======== PULL WL_REG_ON(-1) HIGH! ========
  683. [    5.671145] [WLAN_RFKILL]: rockchip_wifi_power: 1
  684. [    5.671157] [WLAN_RFKILL]: wifi turn on power [GPIO-1-0]
  685. [    5.671265] ==gsl_ts_init==
  686. [    5.671316] ret=0
  687. [    5.671999] cfg80211: Loading compiled-in X.509 certificates for regulatory database
  688. [    5.681330] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
  689. [    5.681785] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
  690. [    5.681802] cfg80211: failed to load regulatory.db
  691. [    5.691359] rkisp rkisp-vir1: clear unready subdev num: 1
  692. [    5.691790] rkisp0: update sensor failed
  693. [    5.746055] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
  694. [    5.747839] mmc1: new high speed SDIO card at address 0001
  695. [    5.789697] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 270
  696. [    5.792017] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 90
  697. [    5.794053] ret 1024 0
  698. [    5.795256] ALSA device list:
  699. [    5.795334]   #0: rockchip,rk809-codec
  700. [    5.795349]   #7: Loopback 1
  701. [    5.797480] Freeing unused kernel memory: 1024K
  702. [    5.797937] Run /init as init process
  703. [    5.975729] wifi_platform_bus_enumerate device present 1
  704. [    5.975758] ======== Card detection to detect SDIO card! ========
  705. [    5.975767] mmc1:mmc host rescan start!
  706. [    5.991940] bcmsdh_register: register client driver
  707. [    5.992254] bcmsdh_sdmmc_probe: Enter num=1
  708. [    5.992935] bcmsdh_sdmmc_probe: Enter num=2
  709. [    5.992959] bus num (host idx)=1, slot num (rca)=1
  710. [    5.992968] found adapter info 'DHD generic adapter'
  711. [    5.993052] sdioh_attach: set sd_f2_blocksize 256
  712. [    5.993110] sdioh_attach: sd clock rate = 0
  713. [    5.993643] dhdsdio_probe : no mutex held. set lock
  714. [    5.993781] F1 signature read @0x18000000=0x1542a9a6
  715. [    5.999503] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x2 pkg:0x4
  716. [    6.001602] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
  717. [    6.001791] [dhd] dhd_conf_set_chiprev : chip=0xa9a6, chiprev=2
  718. [    6.001966] [dhd] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211
  719. [    6.002398] [dhd] CFG80211-ERROR) wl_setup_wiphy : SAE support
  720. [    6.002644] [dhd] CFG80211-ERROR) wl_init_prof : wl_init_prof: No profile
  721. [    6.003289] dhd_attach(): thread:dhd_watchdog_thread:7b started
  722. [    6.003418] dhd_attach(): thread:dhd_dpc:7c started
  723. [    6.003551] dhd_attach(): thread:dhd_rxf:7d started
  724. [    6.003576] dhd_deferred_work_init: work queue initialized
  725. [    6.003591] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
  726. [    6.003632] dhd_bus_set_default_min_res_mask: Unhandled chip id
  727. [    6.003948] sdioh_cis_read: func_cis_ptr[0]=0x1070
  728. [    6.012445] Dongle Host Driver, version 1.579.77.41.22 (r-20191105-2)(20191120-1)
  729. [    6.013077] Register interface [wlan0]  MAC: 70:4a:0e:5f:9e:ae
  730. [    6.013148] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 0
  731. [    6.013170] dhd_wl_ioctl: returning as busstate=0
  732. [    6.013183] dhd_dbg_detach_pkt_monitor, 2204
  733. [    6.013194] dhd_bus_devreset: == Power OFF ==
  734. [    6.013443] bcmsdh_oob_intr_unregister: Enter
  735. [    6.013455] bcmsdh_oob_intr_unregister: irq is not registered
  736. [    6.013466] dhd_txglom_enable: enable 0
  737. [    6.013472] dhd_bus_devreset:  WLAN OFF DONE
  738. [    6.013515] wifi_platform_set_power = 0
  739. [    6.013530] ======== PULL WL_REG_ON(-1) LOW! ========
  740. [    6.013542] [WLAN_RFKILL]: rockchip_wifi_power: 0
  741. [    6.013562] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
  742. [    6.013574] dhdsdio_probe : the lock is released.
  743. [    6.013965] dhd_module_init: Exit err=0
  744. [    6.510926] m00_b_rk628-csi rk628-csi: rk628_csi_delayed_work_audio: HDMI_RX_AUD_FIFO_ISTS:0x1f, underflow or overflow
  745. [    8.371004] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
  746. [    8.511116] EXT4-fs (mmcblk0p8): warning: mounting unchecked fs, running e2fsck is recommended
  747. [    8.515146] EXT4-fs (mmcblk0p8): mounted filesystem without journal. Opts: (null)
  748. [    8.534387] EXT4-fs error (device mmcblk0p8): ext4_mb_generate_buddy:747: group 548, block bitmap and bg descriptor inconsistent: 7788 vs 7790 free clusters
  749. [    8.534474] EXT4-fs error (device mmcblk0p8): ext4_mb_generate_buddy:747: group 549, block bitmap and bg descriptor inconsistent: 7864 vs 7866 free clusters
  750. [    8.535019] EXT4-fs error (device mmcblk0p8): ext4_mb_generate_buddy:747: group 550, block bitmap and bg descriptor inconsistent: 7902 vs 7904 free clusters
  751. [    8.535062] EXT4-fs error (device mmcblk0p8): ext4_mb_generate_buddy:747: group 551, block bitmap and bg descriptor inconsistent: 7847 vs 7849 free clusters
  752. [    8.855991] systemd[1]: System time before build time, advancing clock.
  753. [    8.864425] systemd[1]: Failed to lookup module alias 'autofs4': Function not implemented
  754. [    8.880368] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
  755. [    8.881638] systemd[1]: Detected architecture arm.
  756. [    8.887294] systemd[1]: Set hostname to <firefly>.
  757. [    9.051595] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
  758. [    9.051642] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
  759. [    9.348561] systemd[1]: Listening on Journal Socket (/dev/log).
  760. [    9.349852] systemd[1]: Listening on initctl Compatibility Named Pipe.
  761. [    9.351034] systemd[1]: Listening on udev Control Socket.
  762. [    9.351271] systemd[1]: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
  763. [    9.351990] systemd[1]: Created slice system-serial\x2dgetty.slice.
  764. [    9.836495] systemd-journald[414]: Received request to flush runtime journal from PID 1
  765. [   10.296770] galcore: loading out-of-tree module taints kernel.
  766. [   10.340759] r8152 1-1.3:1.0 enx00e04cf2dbdc: renamed from eth1
  767. [   10.343743] galcore: npu init.
  768. [   10.344783] galcore: start npu probe.
  769. [   10.344991] galcore ffbc0000.npu: Linked as a consumer to regulator.8
  770. [   10.376011] npu: platform_get_irq irq = 66
  771. [   10.376059] Galcore version 6.4.3.5.293908
复制代码


可以看到已经获取到了分辨率信息

  1. [    5.457510] m00_b_rk628-csi rk628-csi: rk628_csi_format_change: New format: 1280x720p60.0 (1650x750)
复制代码


但是mdedia-ctl似乎找不到节点

  1. media-ctl -d /dev/media0 -p
  2. Media controller API version 4.19.111

  3. Media device information
  4. ------------------------
  5. driver          rkisp
  6. model           rkisp0
  7. serial
  8. bus info
  9. hw revision     0x0
  10. driver version  4.19.111

  11. Device topology
  12. - entity 1: rkisp-isp-subdev (4 pads, 9 links)
  13.             type V4L2 subdev subtype Unknown flags 0
  14.             device node name /dev/v4l-subdev1
  15.         pad0: Sink
  16.                 [fmt:SBGGR10_1X10/800x600 field:none
  17.                  crop.bounds:(0,0)/800x600
  18.                  crop:(0,0)/800x600]
  19.                 <- "rkisp_rawrd0_m":0 []
  20.                 <- "rkisp_rawrd2_s":0 []
  21.                 <- "rkisp_rawrd1_l":0 []
  22.         pad1: Sink
  23.                 <- "rkisp-input-params":0 [ENABLED]
  24.         pad2: Source
  25.                 [fmt:YUYV8_2X8/800x600 field:none colorspace:smpte170m quantization:full-range
  26.                  crop.bounds:(0,0)/800x600
  27.                  crop:(0,0)/800x600]
  28.                 -> "rkisp-bridge-ispp":0 [ENABLED]
  29.                 -> "rkisp_mainpath":0 []
  30.                 -> "rkisp_selfpath":0 [ENABLED]
  31.         pad3: Source
  32.                 -> "rkisp-statistics":0 [ENABLED]
  33.                 -> "rkisp-mipi-luma":0 [ENABLED]

  34. - entity 6: rkisp-csi-subdev (6 pads, 4 links)
  35.             type V4L2 subdev subtype Unknown flags 0
  36.             device node name /dev/v4l-subdev2
  37.         pad0: Sink
  38.         pad1: Source
  39.         pad2: Source
  40.                 -> "rkisp_rawwr0":0 [ENABLED]
  41.         pad3: Source
  42.                 -> "rkisp_rawwr1":0 [ENABLED]
  43.         pad4: Source
  44.                 -> "rkisp_rawwr2":0 [ENABLED]
  45.         pad5: Source
  46.                 -> "rkisp_rawwr3":0 [ENABLED]

  47. - entity 13: rkisp-bridge-ispp (1 pad, 1 link)
  48.              type V4L2 subdev subtype Unknown flags 0
  49.         pad0: Sink
  50.                 <- "rkisp-isp-subdev":2 [ENABLED]

  51. - entity 17: rkisp_mainpath (1 pad, 1 link)
  52.              type Node subtype V4L flags 0
  53.              device node name /dev/video0
  54.         pad0: Sink
  55.                 <- "rkisp-isp-subdev":2 []

  56. - entity 23: rkisp_selfpath (1 pad, 1 link)
  57.              type Node subtype V4L flags 0
  58.              device node name /dev/video1
  59.         pad0: Sink
  60.                 <- "rkisp-isp-subdev":2 [ENABLED]

  61. - entity 29: rkisp_rawwr0 (1 pad, 1 link)
  62.              type Node subtype V4L flags 0
  63.              device node name /dev/video2
  64.         pad0: Sink
  65.                 <- "rkisp-csi-subdev":2 [ENABLED]

  66. - entity 35: rkisp_rawwr1 (1 pad, 1 link)
  67.              type Node subtype V4L flags 0
  68.              device node name /dev/video3
  69.         pad0: Sink
  70.                 <- "rkisp-csi-subdev":3 [ENABLED]

  71. - entity 41: rkisp_rawwr2 (1 pad, 1 link)
  72.              type Node subtype V4L flags 0
  73.              device node name /dev/video4
  74.         pad0: Sink
  75.                 <- "rkisp-csi-subdev":4 [ENABLED]

  76. - entity 47: rkisp_rawwr3 (1 pad, 1 link)
  77.              type Node subtype V4L flags 0
  78.              device node name /dev/video5
  79.         pad0: Sink
  80.                 <- "rkisp-csi-subdev":5 [ENABLED]

  81. - entity 53: rkisp_rawrd0_m (1 pad, 1 link)
  82.              type Node subtype V4L flags 0
  83.              device node name /dev/video6
  84.         pad0: Source
  85.                 -> "rkisp-isp-subdev":0 []

  86. - entity 59: rkisp_rawrd2_s (1 pad, 1 link)
  87.              type Node subtype V4L flags 0
  88.              device node name /dev/video7
  89.         pad0: Source
  90.                 -> "rkisp-isp-subdev":0 []

  91. - entity 65: rkisp_rawrd1_l (1 pad, 1 link)
  92.              type Node subtype V4L flags 0
  93.              device node name /dev/video8
  94.         pad0: Source
  95.                 -> "rkisp-isp-subdev":0 []

  96. - entity 71: rkisp-statistics (1 pad, 1 link)
  97.              type Node subtype V4L flags 0
  98.              device node name /dev/video9
  99.         pad0: Sink
  100.                 <- "rkisp-isp-subdev":3 [ENABLED]

  101. - entity 77: rkisp-input-params (1 pad, 1 link)
  102.              type Node subtype V4L flags 0
  103.              device node name /dev/video10
  104.         pad0: Source
  105.                 -> "rkisp-isp-subdev":1 [ENABLED]

  106. - entity 83: rkisp-mipi-luma (1 pad, 1 link)
  107.              type Node subtype V4L flags 0
  108.              device node name /dev/video11
  109.         pad0: Sink
  110.                 <- "rkisp-isp-subdev":3 [ENABLED]
  111. media-ctl -d /dev/media1 -p
  112. Media controller API version 4.19.111

  113. Media device information
  114. ------------------------
  115. driver          rkispp
  116. model           rkispp0
  117. serial
  118. bus info
  119. hw revision     0x0
  120. driver version  4.19.111

  121. Device topology
  122. - entity 1: rkispp_input_image (1 pad, 1 link)
  123.             type Node subtype V4L flags 0
  124.             device node name /dev/video12
  125.         pad0: Source
  126.                 -> "rkispp-subdev":0 [ENABLED]

  127. - entity 5: rkispp_m_bypass (1 pad, 1 link)
  128.             type Node subtype V4L flags 0
  129.             device node name /dev/video13
  130.         pad0: Sink
  131.                 <- "rkispp-subdev":2 [ENABLED]

  132. - entity 9: rkispp_scale0 (1 pad, 1 link)
  133.             type Node subtype V4L flags 0
  134.             device node name /dev/video14
  135.         pad0: Sink
  136.                 <- "rkispp-subdev":2 [ENABLED]

  137. - entity 13: rkispp_scale1 (1 pad, 1 link)
  138.              type Node subtype V4L flags 0
  139.              device node name /dev/video15
  140.         pad0: Sink
  141.                 <- "rkispp-subdev":2 [ENABLED]

  142. - entity 17: rkispp_scale2 (1 pad, 1 link)
  143.              type Node subtype V4L flags 0
  144.              device node name /dev/video16
  145.         pad0: Sink
  146.                 <- "rkispp-subdev":2 [ENABLED]

  147. - entity 21: rkispp_iqtool (1 pad, 1 link)
  148.              type Node subtype V4L flags 0
  149.              device node name /dev/video17
  150.         pad0: Sink
  151.                 <- "rkispp-subdev":2 [ENABLED]

  152. - entity 25: rkispp_input_params (1 pad, 1 link)
  153.              type Node subtype V4L flags 0
  154.              device node name /dev/video18
  155.         pad0: Source
  156.                 -> "rkispp-subdev":1 [ENABLED]

  157. - entity 29: rkispp-stats (1 pad, 1 link)
  158.              type Node subtype V4L flags 0
  159.              device node name /dev/video19
  160.         pad0: Sink
  161.                 <- "rkispp-subdev":3 [ENABLED]

  162. - entity 33: rkispp-subdev (4 pads, 8 links)
  163.              type V4L2 subdev subtype Unknown flags 0
  164.              device node name /dev/v4l-subdev0
  165.         pad0: Sink
  166.                 [fmt:unknown/0x0
  167.                  crop.bounds:(0,0)/0x0
  168.                  crop:(0,0)/0x0
  169.                  compose.bounds:(0,0)/0x0
  170.                  compose:(0,0)/0x0]
  171.                 <- "rkispp_input_image":0 [ENABLED]
  172.         pad1: Sink
  173.                 <- "rkispp_input_params":0 [ENABLED]
  174.         pad2: Source
  175.                 [fmt:unknown/0x0]
  176.                 -> "rkispp_m_bypass":0 [ENABLED]
  177.                 -> "rkispp_scale0":0 [ENABLED]
  178.                 -> "rkispp_scale1":0 [ENABLED]
  179.                 -> "rkispp_scale2":0 [ENABLED]
  180.                 -> "rkispp_iqtool":0 [ENABLED]
  181.         pad3: Source
  182.                 -> "rkispp-stats":0 [ENABLED]
复制代码


目前感觉和这个报错有关

  1. [    0.732461] rk628-csi rk628-csi: lane module is not in stop state, ret=0, val=61444
复制代码

看了下驱动源码,似乎mipi_dphy重置不正常

  1. static int mipi_dphy_reset(struct rk628_csi *csi)
  2. {
  3.         u32 val, mask;
  4.         int ret;

  5.         mipi_dphy_enableclk_deassert(csi);
  6.         mipi_dphy_shutdownz_assert(csi);
  7.         mipi_dphy_rstz_assert(csi);
  8.         testif_testclr_assert(csi);

  9.         /* Set all REQUEST inputs to zero */
  10.         regmap_update_bits(csi->grf, GRF_MIPI_TX0_CON,
  11.                      FORCETXSTOPMODE_MASK | FORCERXMODE_MASK,
  12.                      FORCETXSTOPMODE(0) | FORCERXMODE(0));
  13.         udelay(1);
  14.         testif_testclr_deassert(csi);
  15.         mipi_dphy_enableclk_assert(csi);
  16.         mipi_dphy_shutdownz_deassert(csi);
  17.         mipi_dphy_rstz_deassert(csi);
  18.         usleep_range(1500, 2000);

  19.         mask = STOPSTATE_CLK | STOPSTATE_LANE0;
  20.         ret = regmap_read_poll_timeout(csi->csi_regmap, CSITX_CSITX_STATUS1,
  21.                                        val, (val & mask) == mask,
  22.                                        0, 1000);
  23.         if (ret < 0) {
  24.                 int ___ret;
  25.                 ___ret = regmap_read(csi->csi_regmap, CSITX_CSITX_STATUS1, &val);
  26.                 dev_err(csi->dev, "lane module is not in stop state, ret=%d, val=%u\n", ___ret, val);
  27.                 return ret;
  28.         }

  29.         return 0;
  30. }
复制代码


通过查手册CSITX_CSITX_STATUS1目前处于 4个lane和时钟的 txuppsactivenot状态,不是想要的stopstate状态。

因为不大清楚txuppsactivenot是什么,现在有点怀疑是MIPI信号线的转接板做的不好,就是Core-1126-JD4的MIPI是排针,但是RK628D是排线,做了一个小板子,导致MIPI。

有大佬调通过这个板子吗,你们有lane module is not in stop state这个报错不。是否可以上传下日志供参考下,谢谢。
回复

使用道具 举报

25

积分

0

威望

0

贡献

技术小白

积分
25
发表于 2023-9-17 23:29:40        只看该作者  沙发
研究了一周后突然发现dts文件中rkisp_vir1没连到rkispp,现在有图象了。
唉,感觉搞硬件的壁垒比软件高多了。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表