Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[General] Kernel panic when add ov4689 csi camera

30

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
30

【General】 Kernel panic when add ov4689 csi camera

Posted at 7/18/2022 22:03:48      View:3760 | Replies:2        Print      Only Author   [Copy Link] 1#
Hello! I am trying to connect ov4689 with RV1126_EVB_V12 using device tree, but have kernel panic error

  1.                                                                                          
  2. Starting kernel ...                                                                                                                           
  3.                                                                                                                                                
  4. [    0.000000] Booting Linux on physical CPU 0xf00                                                                                             
  5. [    0.000000] Linux version 4.19.111 (root@4a847271fffe) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #2 SMP PREEMPT Mon Jul 18 12:32
  6. [    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d                                                                 
  7. [    0.000000] CPU: div instructions available: patching division code                                                                        
  8. [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache                                                        
  9. [    0.000000] OF: fdt: Machine model: Rockchip RV1109 V12 FACIAL GATE Board                                                                  
  10. [    0.000000] earlycon: uart8250 at MMIO32 0xff570000 (options '')                                                                           
  11. [    0.000000] bootconsole [uart8250] enabled                                                                                                  
  12. [    0.000000] Memory policy: Data cache writealloc                                                                                            
  13. [    0.000000] Reserved memory: created CMA memory pool at 0x7f800000, size 8 MiB                                                              
  14. [    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool                                                     
  15. [    0.000000] Reserved memory: created CMA memory pool at 0x5dc00000, size 512 MiB                                                            
  16. [    0.000000] OF: reserved mem: initialized node isp, compatible id shared-dma-pool                                                           
  17. [    0.000000] psci: probing for conduit method from DT.                                                                                       
  18. [    0.000000] psci: PSCIv1.0 detected in firmware.                                                                                            
  19. [    0.000000] psci: Using standard PSCI v0.2 function IDs                                                                                    
  20. [    0.000000] psci: MIGRATE_INFO_TYPE not supported.                                                                                          
  21. [    0.000000] psci: SMC Calling Convention v1.0                                                                                               
  22. [    0.000000] percpu: Embedded 15 pages/cpu s32204 r8192 d21044 u61440                                                                        
  23. [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 521656                                                                  
  24. [    0.000000] Kernel command line: user_debug=31 storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal  rootwait earlycon=u7
  25. [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)                                                               
  26. [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)                                                                  
  27. [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off                                                                        
  28. [    0.000000] Memory: 1524572K/2094816K available (8192K kernel code, 383K rwdata, 1964K rodata, 1024K init, 898K bss, 37764K reserved, 53248)
  29. [    0.000000] Virtual kernel memory layout:                                                                                                   
  30. [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)                                                                              
  31. [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)                                                                              
  32. [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)                                                                              
  33. [    0.000000]     lowmem  : 0xb0000000 - 0xf0000000   (1024 MB)                                                                              
  34. [    0.000000]     pkmap   : 0xafe00000 - 0xb0000000   (   2 MB)                                                                              
  35. [    0.000000]     modules : 0xaf000000 - 0xafe00000   (  14 MB)                                                                              
  36. [    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (9184 kB)                                                                              
  37. [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)                                                                              
  38. [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 384 kB)                                                                              
  39. [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 899 kB)                                                                              
  40. [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1                                                                     
  41. [    0.000000] rcu: Preemptible hierarchical RCU implementation.                                                                              
  42. [    0.000000]  Tasks RCU enabled.                                                                                                            
  43. [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                                                                                 
  44. [    0.000000] random: random: get_random_bytes called from start_kernel+0x328/0x4ac with crng_init=0                                          
  45. [    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).                                                                           
  46. [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns                     
  47. [    0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns                                                     
  48. [    0.000754] Switching to timer-based delay loop, resolution 41ns                                                                           
  49. [    0.002657] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)                           
  50. [    0.003616] pid_max: default: 4096 minimum: 301                                                                                             
  51. [    0.004225] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)                                                                     
  52. [    0.004850] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)                                                               
  53. [    0.006301] CPU: Testing write buffer coherency: ok                                                                                         
  54. [    0.007159] /cpus/cpu@f00 missing clock-frequency property                                                                                 
  55. [    0.007683] /cpus/cpu@f01 missing clock-frequency property                                                                                 
  56. [    0.008203] /cpus/cpu@f02 missing clock-frequency property                                                                                 
  57. [    0.008722] /cpus/cpu@f03 missing clock-frequency property                                                                                 
  58. [    0.009241] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00                                                                              
  59. [    0.010560] Setting up static identity map for 0x100000 - 0x100060                                                                          
  60. [    0.011318] rcu: Hierarchical SRCU implementation.                                                                                          
  61. [    0.012419] smp: Bringing up secondary CPUs ...                                                                                             
  62. [    0.013831] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01                                                                              
  63. [    0.014910] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02                                                                              
  64. [    0.015906] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03                                                                              
  65. [    0.016045] smp: Brought up 1 node, 4 CPUs                                                                                                  
  66. [    0.018097] SMP: Total of 4 processors activated (192.00 BogoMIPS).                                                                        
  67. [    0.018678] CPU: All CPU(s) started in SVC mode.                                                                                            
  68. [    0.020162] devtmpfs: initialized                                                                                                           
  69. [    0.048136] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5                                                         
  70. [    0.049521] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns                                 
  71. [    0.050504] futex hash table entries: 16 (order: -2, 1024 bytes)                                                                           
  72. [    0.051312] pinctrl core: initialized pinctrl subsystem                                                                                    
  73. [    0.053057] NET: Registered protocol family 16                                                                                             
  74. [    0.054201] DMA: preallocated 256 KiB pool for atomic coherent allocations                                                                  
  75. [    0.056925] cpuidle: using governor menu                                                                                                   
  76. [    0.057359] Registered FIQ tty driver                                                                                                      
  77. [    0.058260] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.                                                     
  78. [    0.059003] hw-breakpoint: maximum watchpoint size is 8 bytes.                                                                              
  79. [    0.061817] console [pstore-1] enabled                                                                                                      
  80. [    0.062431] pstore: Registered ramoops as persistent store backend                                                                          
  81. [    0.063013] ramoops: attached 0x100000@0x8000000, ecc: 0/0                                                                                 
  82. [    0.113038] cryptd: max_cpu_qlen set to 1000                                                                                                
  83. [    0.114389] fiq debugger fiq mode enabled                                                                                                   
  84. [[    0.115202] console [ttyFIQ0] enabled                                                                                                      
  85.     0.115202] console [ttyFIQ0] enabled                                                                                                        
  86. [    0.115887] bootconsole [uart8250] disabled                                                                                                
  87. [    0.115887] bootconsole [uart8250] disabled                                                                                                
  88. [    0.116601] Registered fiq debugger ttyFIQ0                                                                                                
  89. [    0.117289] rockchip-pm rockchip-suspend: not set pwm-regulator-config                                                                     
  90. [    0.122433] rk_iommu ffb00f00.iommu: version = 1                                                                                            
  91. [    0.123089] rk_iommu ffb20800.iommu: version = 1                                                                                            
  92. [    0.123561] rk_iommu ffb60e00.iommu: version = 1                                                                                            
  93. [    0.124212] rk_iommu ffb80480.iommu: version = 1                                                                                            
  94. [    0.124857] rk_iommu ffb90800.iommu: version = 1                                                                                            
  95. [    0.125335] rk_iommu ffbb0f00.iommu: version = 1                                                                                            
  96. [    0.126392] SCSI subsystem initialized                                                                                                      
  97. [    0.126725] usbcore: registered new interface driver usbfs                                                                                 
  98. [    0.126828] usbcore: registered new interface driver hub                                                                                    
  99. [    0.127038] usbcore: registered new device driver usb                                                                                       
  100. [    0.127162] media: Linux media interface: v0.10                                                                                             
  101. [    0.127236] videodev: Linux video capture interface: v2.00                                                                                 
  102. [    0.127306] pps_core: LinuxPPS API ver. 1 registered                                                                                       
  103. [    0.127329] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>                                       
  104. [    0.127373] PTP clock support registered                                                                                                   
  105. [    0.128874] Advanced Linux Sound Architecture Driver Initialized.                                                                           
  106. [    0.129652] Bluetooth: Core ver 2.22                                                                                                        
  107. [    0.129742] NET: Registered protocol family 31                                                                                             
  108. [    0.129766] Bluetooth: HCI device and connection manager initialized                                                                        
  109. [    0.129796] Bluetooth: HCI socket layer initialized                                                                                         
  110. [    0.129824] Bluetooth: L2CAP socket layer initialized                                                                                       
  111. [    0.129884] Bluetooth: SCO socket layer initialized                                                                                         
  112. [    0.130469] rockchip-cpuinfo cpuinfo: SoC            : 11260000                                                                             
  113. [    0.130508] rockchip-cpuinfo cpuinfo: Serial         : 5da4396c2aa764f5                                                                     
  114. [    0.131489] clocksource: Switched to clocksource arch_sys_counter                                                                           
  115. [    0.134193] NET: Registered protocol family 2                                                                                               
  116. [    0.135104] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)                                                         
  117. [    0.135166] TCP established hash table entries: 8192 (order: 3, 32768 bytes)                                                               
  118. [    0.135331] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)                                                                       
  119. [    0.135534] TCP: Hash tables configured (established 8192 bind 8192)                                                                        
  120. [    0.135702] UDP hash table entries: 512 (order: 2, 16384 bytes)                                                                             
  121. [    0.135784] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)                                                                        
  122. [    0.136044] NET: Registered protocol family 1                                                                                               
  123. [    0.137983] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available                                                   
  124. [    0.140804] Initialise system trusted keyrings                                                                                             
  125. [    0.141070] workingset: timestamp_bits=29 max_order=19 bucket_order=0                                                                       
  126. [    0.149100] squashfs: version 4.0 (2009/01/31) Phillip Lougher                                                                              
  127. [    0.152222] Key type asymmetric registered                                                                                                  
  128. [    0.152255] Asymmetric key parser 'x509' registered                                                                                         
  129. [    0.152331] bounce: pool size: 64 pages                                                                                                     
  130. [    0.152400] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)                                                            
  131. [    0.152429] io scheduler noop registered                                                                                                   
  132. [    0.152451] io scheduler deadline registered                                                                                                
  133. [    0.152629] io scheduler cfq registered (default)                                                                                          
  134. [    0.152658] io scheduler mq-deadline registered                                                                                             
  135. [    0.152680] io scheduler kyber registered                                                                                                   
  136. [    0.152844] io scheduler bfq registered                                                                                                     
  137. [    0.155633] rockchip-mipi-dphy-rx ff4b8000.csi-dphy: bad remote port parent                                                                 
  138. [    0.157382] phy phy-ff4c0000.usb2-phy.1: Failed to get VBUS supply regulator                                                               
  139. [    0.159461] rockchip-usb2phy-naneng ff4c8000.usb2-phy: failed to create phy                                                                 
  140. [    0.162019] pwm-backlight backlight: backlight supply power not found, using dummy regulator                                                
  141. [    0.162162] pwm-backlight backlight: Linked as a consumer to regulator.0                                                                    
  142. [    0.162578] mpp_service mpp-srv: unknown mpp version for missing VCS info                                                                  
  143. [    0.162612] mpp_service mpp-srv: probe start                                                                                                
  144. [    0.163562] iommu: Adding device ffb80000.rkvdec to group 3                                                                                 
  145. [    0.163619] mpp_rkvdec ffb80000.rkvdec: Linked as a consumer to ffb80480.iommu                                                              
  146. [    0.163818] mpp_rkvdec ffb80000.rkvdec: probing start                                                                                       
  147. [    0.164484] mpp_rkvdec ffb80000.rkvdec: shared_niu_a is not found!                                                                          
  148. [    0.164518] rkvdec_init:1182: No niu aclk reset resource define                                                                             
  149. [    0.164546] mpp_rkvdec ffb80000.rkvdec: shared_niu_h is not found!                                                                          
  150. [    0.164572] rkvdec_init:1185: No niu hclk reset resource define                                                                             
  151. [    0.164929] mpp_rkvdec ffb80000.rkvdec: probing finish                                                                                      
  152. [    0.165680] iommu: Adding device ffbb0000.rkvenc to group 5                                                                                 
  153. [    0.165752] mpp_rkvenc ffbb0000.rkvenc: Linked as a consumer to ffbb0f00.iommu                                                              
  154. [    0.166071] mpp_rkvenc ffbb0000.rkvenc: probing start                                                                                       
  155. [    0.166683] mpp_rkvenc ffbb0000.rkvenc: venc regulator not ready, retry                                                                     
  156. [    0.166716] rkvenc_init:1194: failed to add venc devfreq                                                                                    
  157. [    0.167828] iommu: Adding device ffb90400.vdpu to group 4                                                                                   
  158. [    0.167879] mpp_vdpu2 ffb90400.vdpu: Linked as a consumer to ffb90800.iommu                                                                 
  159. [    0.167990] mpp_vdpu2 ffb90400.vdpu: probe device                                                                                          
  160. [    0.168567] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0                                                                              
  161. [    0.168605] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0                                                                              
  162. [    0.168873] mpp_vdpu2 ffb90400.vdpu: probing finish                                                                                         
  163. [    0.169544] iommu: Adding device ffb90000.vepu to group 4                                                                                   
  164. [    0.169594] mpp_vepu2 ffb90000.vepu: Linked as a consumer to ffb90800.iommu                                                                 
  165. [    0.169715] mpp_vepu2 ffb90000.vepu: probe device                                                                                          
  166. [    0.170226] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0                                                                              
  167. [    0.170268] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0                                                                              
  168. [    0.170530] mpp_vepu2 ffb90000.vepu: probing finish                                                                                         
  169. [    0.171094] iommu: Adding device ffb20000.iep to group 1                                                                                    
  170. [    0.171163] mpp-iep2 ffb20000.iep: Linked as a consumer to ffb20800.iommu                                                                  
  171. [    0.171278] mpp-iep2 ffb20000.iep: probe device                                                                                             
  172. [    0.172010] mpp-iep2 ffb20000.iep: allocate roi buffer failed                                                                              
  173. [    0.172241] mpp-iep2 ffb20000.iep: probing finish                                                                                          
  174. [    0.172551] mpp_service mpp-srv: probe success                                                                                             
  175. [    0.178088] dma-pl330 ff4e0000.dma-controller: Loaded driver for PL330 DMAC-241330                                                         
  176. [    0.178132] dma-pl330 ff4e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16                                 
  177. [    0.180672] rockchip-system-monitor rockchip-system-monitor: system monitor probe                                                           
  178. [    0.181664] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled                                                                        
  179. [    0.182613] ff560000.serial: ttyS0 at MMIO 0xff560000 (irq = 32, base_baud = 1500000) is a 16550A                                          
  180. [    0.183357] ff580000.serial: ttyS3 at MMIO 0xff580000 (irq = 33, base_baud = 1500000) is a 16550A                                          
  181. [    0.184000] ff590000.serial: ttyS4 at MMIO 0xff590000 (irq = 34, base_baud = 1500000) is a 16550A                                          
  182. [    0.184668] ff5a0000.serial: ttyS5 at MMIO 0xff5a0000 (irq = 35, base_baud = 1500000) is a 16550A                                          
  183. [    0.187354] random: fast init done                                                                                                         
  184. [    0.187865] random: crng init done                                                                                                         
  185. [    0.188129] iommu: Adding device ffb00000.vop to group 0                                                                                    
  186. [    0.188228] rockchip-vop ffb00000.vop: Linked as a consumer to ffb00f00.iommu                                                               
  187. [    0.192675] rockchip-drm display-subsystem: Linked as a consumer to ffb00000.vop                                                            
  188. [    0.193839] rockchip-drm display-subsystem: Linked as a consumer to ffb30000.dsi                                                            
  189. [    0.195313] rockchip-drm display-subsystem: devfreq is not set                                                                              
  190. [    0.195802] rockchip-drm display-subsystem: bound ffb00000.vop (ops 0xb093c280)                                                            
  191. [    0.195885] dw-mipi-dsi ffb30000.dsi: [drm:dw_mipi_dsi_bind] *ERROR* Failed to find panel or bridge: -517                                   
  192. [    0.195922] rockchip-drm display-subsystem: failed to bind ffb30000.dsi (ops 0xb09429ac): -517                                             
  193. [    0.196198] rockchip-drm display-subsystem: master bind failed: -517                                                                        
  194. [    0.201788] panel-simple-dsi ffb30000.dsi.0: Linked as a consumer to regulator.1                                                            
  195. [    0.201851] panel-simple-dsi ffb30000.dsi.0: ffb30000.dsi.0 supply vsp not found, using dummy regulator                                    
  196. [    0.201959] panel-simple-dsi ffb30000.dsi.0: Linked as a consumer to regulator.0                                                            
  197. [    0.202005] panel-simple-dsi ffb30000.dsi.0: ffb30000.dsi.0 supply vsn not found, using dummy regulator                                    
  198. [    0.203335] zram: Added device: zram0                                                                                                      
  199. [    0.205534] libphy: Fixed MDIO Bus: probed                                                                                                  
  200. [    0.207435] rk_gmac-dwmac ffc40000.ethernet: no regulator found                                                                             
  201. [    0.207480] rk_gmac-dwmac ffc40000.ethernet: clock input or output? (input).                                                               
  202. [    0.207503] rk_gmac-dwmac ffc40000.ethernet: Can not read property: tx_delay.                                                               
  203. [    0.207528] rk_gmac-dwmac ffc40000.ethernet: set tx_delay to 0x30                                                                           
  204. [    0.207555] rk_gmac-dwmac ffc40000.ethernet: Can not read property: rx_delay.                                                               
  205. [    0.207580] rk_gmac-dwmac ffc40000.ethernet: set rx_delay to 0x10                                                                           
  206. [    0.207609] rk_gmac-dwmac ffc40000.ethernet: integrated PHY? (no).                                                                          
  207. [    0.207717] rk_gmac-dwmac ffc40000.ethernet: clock input from PHY                                                                           
  208. [    0.212757] rk_gmac-dwmac ffc40000.ethernet: init for RMII                                                                                 
  209. [    0.213053] rk_gmac-dwmac ffc40000.ethernet: User ID: 0x30, Synopsys ID: 0x51                                                               
  210. [    0.213086] rk_gmac-dwmac ffc40000.ethernet:         DWMAC4/5                                                                              
  211. [    0.213115] rk_gmac-dwmac ffc40000.ethernet: DMA HW capability register supported                                                           
  212. [    0.213141] rk_gmac-dwmac ffc40000.ethernet: RX Checksum Offload Engine supported                                                           
  213. [    0.213165] rk_gmac-dwmac ffc40000.ethernet: TX Checksum insertion supported                                                               
  214. [    0.213189] rk_gmac-dwmac ffc40000.ethernet: Wake-Up On Lan supported                                                                       
  215. [    0.213262] rk_gmac-dwmac ffc40000.ethernet: TSO supported                                                                                 
  216. [    0.213283] rk_gmac-dwmac ffc40000.ethernet: Enable RX Mitigation via HW Watchdog Timer                                                     
  217. [    0.213303] rk_gmac-dwmac ffc40000.ethernet: TSO feature enabled                                                                           
  218. [    0.324868] libphy: stmmac: probed                                                                                                         
  219. [    0.328694] dwc3 ffd00000.dwc3: Failed to get clk 'ref': -2                                                                                 
  220. [    0.333993] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                                                                     
  221. [    0.334034] ehci-platform: EHCI generic platform driver                                                                                    
  222. [    0.334716] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver                                                                          
  223. [    0.334768] ohci-platform: OHCI generic platform driver                                                                                    
  224. [    0.336387] usbcore: registered new interface driver usb-storage                                                                           
  225. [    0.337447] i2c /dev entries driver                                                                                                         
  226. [    0.339480] rk808 0-0020: chip id: 0x8090                                                                                                   
  227. [    0.339592] rk808 0-0020: No cache defaults, reading back from HW                                                                           
  228. [    0.346021] rk808 0-0020: source: on=0x40, off=0x00                                                                                         
  229. [    0.346064] rk808 0-0020: support dcdc3 fb mode:-22, -1331325532                                                                           
  230. [    0.346088] rk808 0-0020: support pmic reset mode:0,0                                                                                       
  231. [    0.350573] rk808-regulator rk808-regulator: there is no dvs0 gpio                                                                          
  232. [    0.350703] rk808-regulator rk808-regulator: there is no dvs1 gpio                                                                          
  233. [    0.350810] DCDC_REG1: supplied by vcc5v0_sys                                                                                               
  234. [    0.351574] DCDC_REG2: supplied by vcc5v0_sys                                                                                               
  235. [    0.352219] DCDC_REG3: supplied by vcc5v0_sys                                                                                               
  236. [    0.352738] DCDC_REG4: supplied by vcc5v0_sys                                                                                               
  237. [    0.353264] DCDC_REG5: supplied by vcc5v0_sys                                                                                               
  238. [    0.353881] LDO_REG1: supplied by vcc_buck5                                                                                                
  239. [    0.354497] LDO_REG2: supplied by vcc_buck5                                                                                                
  240. [    0.355033] LDO_REG3: supplied by vcc_buck5                                                                                                
  241. [    0.355533] LDO_REG4: supplied by vcc_buck5                                                                                                
  242. [    0.356028] LDO_REG5: supplied by vcc_buck5                                                                                                
  243. [    0.356533] LDO_REG6: supplied by vcc_buck5                                                                                                
  244. [    0.356617] vcc_dvdd: Bringing 1100000uV into 1300000-1300000uV                                                                             
  245. [    0.357207] LDO_REG7: supplied by vcc5v0_sys                                                                                                
  246. [    0.357290] vcc_avdd: Bringing 2800000uV into 3300000-3300000uV                                                                             
  247. [    0.357871] LDO_REG8: supplied by vcc5v0_sys                                                                                                
  248. [    0.358547] LDO_REG9: supplied by vcc5v0_sys                                                                                                
  249. [    0.359175] SWITCH_REG1: supplied by vcc5v0_sys                                                                                             
  250. [    0.359642] SWITCH_REG2: supplied by vcc3v3_sys                                                                                             
  251. [    0.361932] input: rk805 pwrkey as /devices/platform/ff3f0000.i2c/i2c-0/0-0020/rk805-pwrkey/input/input0                                    
  252. [    0.364962] rk808-rtc rk808-rtc: registered as rtc0                                                                                         
  253. [    0.365551] rk808-rtc rk808-rtc: setting system clock to 2017-08-04 09:00:01 UTC (1501837201)                                               
  254. [    0.368510] goodix_ts_probe() start                                                                                                         
  255. [    0.368590] Goodix-TS 5-0014: 5-0014 supply tp not found, using dummy regulator                                                            
  256. [    0.368702] Goodix-TS 5-0014: Linked as a consumer to regulator.0                                                                           
  257. [    0.518497] <<-GTP-ERROR->> I2C Read: 0x8000, 10 bytes failed, errcode: -6! Process reset.                                                  
  258. [    0.615158] <<-GTP-ERROR->> I2C Read: 0x8000, 10 bytes failed, errcode: -6! Process reset.                                                  
  259. [    0.711827] <<-GTP-ERROR->> I2C Read: 0x8000, 10 bytes failed, errcode: -6! Process reset.                                                  
  260. [    0.808494] <<-GTP-ERROR->> I2C Read: 0x8000, 10 bytes failed, errcode: -6! Process reset.                                                  
  261. [    0.905160] <<-GTP-ERROR->> I2C Read: 0x8000, 10 bytes failed, errcode: -6! Process reset.                                                  
  262. [    1.001822] <<-GTP-ERROR->> I2C Read: 0x8000, 10 bytes failed, errcode: -6! Process reset.                                                  
  263. [    1.098201] <<-GTP-ERROR->> I2C read 0x8000, 10 bytes, double check failed!                                                                 
  264. [    1.098228] <<-GTP-ERROR->> Failed to get chip-type, set chip type default: GOODIX_GT9                                                      
  265. [    1.098543] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -6! Process reset.                                                   
  266. [    1.194865] <<-GTP-ERROR->> GTP i2c test failed time 1.                                                                                    
  267. [    1.211820] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -6! Process reset.                                                   
  268. [    1.308198] <<-GTP-ERROR->> GTP i2c test failed time 2.                                                                                    
  269. [    1.325150] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -6! Process reset.                                                   
  270. [    1.421533] <<-GTP-ERROR->> GTP i2c test failed time 3.                                                                                    
  271. [    1.438483] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -6! Process reset.                                                   
  272. [    1.534865] <<-GTP-ERROR->> GTP i2c test failed time 4.                                                                                    
  273. [    1.551819] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -6! Process reset.                                                   
  274. [    1.648199] <<-GTP-ERROR->> GTP i2c test failed time 5.                                                                                    
  275. [    1.664861] <goodix_ts_probe>_2749    I2C communication ERROR!                                                                              
  276. [    1.664888]    <goodix_ts_probe>_2817  prob error !!!!!!!!!!!!!!!                                                                           
  277. [    1.664997] Goodix-TS 5-0014: Dropping the link to regulator.0                                                                              
  278. [    1.666111] ircut cam_ircut: driver version: 00.01.00                                                                                       
  279. [    1.666409] ircut cam_ircut: failed get pulse-width,use dafult value 100                                                                    
  280. [    1.666723] ircut cam_ircut: probe successful!                                                                                             
  281. [    1.667407] ERROR: could not get clock /mipi-csi2@ffb10000:srst_csihost_p(1)                                                               
  282. [    1.667440] rockchip-mipi-csi2: failed to get rst clock, maybe useless                                                                     
  283. [    1.667722] rockchip-mipi-csi2: probe success, v4l2_dev:(null)!                                                                             
  284. [    1.669309] rkcifhw ffae0000.rkcif: no iommu attached, using non-iommu buffers                                                              
  285. [    1.669365] rkcifhw ffae0000.rkcif: assigned reserved memory node isp                                                                       
  286. [    1.669525] rkcif rkcif_dvp: rkcif driver version: v00.01.09                                                                                
  287. [    1.669642] rkcif rkcif_dvp: attach to cif hw node                                                                                          
  288. [    1.669674] rkcif rkcif_dvp: no iommu attached, using non-iommu buffers                                                                     
  289. [    1.669711] rkcif rkcif_dvp: assigned reserved memory node isp                                                                              
  290. [    1.670213] rkcif_dvp: Failed to register subdev notifier(-19)                                                                              
  291. [    1.670627] rkcif rkcif_dvp: detach to cif hw node                                                                                          
  292. [    1.670744] rkcif rkcif_mipi_lvds: rkcif driver version: v00.01.09                                                                          
  293. [    1.670855] rkcif rkcif_mipi_lvds: attach to cif hw node                                                                                    
  294. [    1.670886] rkcif rkcif_mipi_lvds: no iommu attached, using non-iommu buffers                                                               
  295. [    1.670922] rkcif rkcif_mipi_lvds: assigned reserved memory node isp                                                                        
  296. [    1.672036] rkcif rkcif_mipi_lvds: fwnode has already been registered or in notifier's subdev list                                          
  297. [    1.672071] rkcif_mipi_lvds: Failed to register subdev notifier(-17)                                                                        
  298. [    1.672966] rkcif rkcif_mipi_lvds: detach to cif hw node                                                                                    
  299. [    1.673007] rkcif: probe of rkcif_mipi_lvds failed with error -17                                                                           
  300. [    1.673566] rkcif_sditf rkcif_mipi_lvds_sditf: failed attach cif dev                                                                        
  301. [    1.673608] Unable to handle kernel NULL pointer dereference at virtual address 00000008                                                   
  302. [    1.679617] pgd = 4b3126e5                                                                                                                  
  303. [    1.679869] [00000008] *pgd=00000000                                                                                                        
  304. [    1.680205] Internal error: Oops: 5 [#1] PREEMPT SMP ARM                                                                                    
  305. [    1.680686] Modules linked in:                                                                                                              
  306. [    1.680976] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.19.111 #2                                                                           
  307. [    1.681523] Hardware name: Generic DT based system                                                                                          
  308. [    1.681976] PC is at rkcif_subdev_probe+0x104/0x190                                                                                         
  309. [    1.682419] LR is at rkcif_subdev_probe+0xfc/0x190                                                                                          
  310. [    1.682857] pc : [<b05d25d0>]    lr : [<b05d25c8>]    psr: 60000013                                                                        
  311. [    1.683417] sp : ee8a1d00  ip : 00000000  fp : 00000014                                                                                    
  312. [    1.683888] r10: 00000000  r9 : b0d4b1e0  r8 : 00000000                                                                                    
  313. [    1.684359] r7 : eeb1f810  r6 : ee16c8b8  r5 : ee16c844  r4 : ee16c840                                                                     
  314. [    1.684943] r3 : 00004001  r2 : 00000000  r1 : 00000001  r0 : 00000000                                                                     
  315. [    1.685530] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user                                                               
  316. [    1.686171] Control: 10c5387d  Table: 0000406a  DAC: 00000055                                                                              
  317. [    1.686686]                                                                                                                                 
  318. [    1.686686] PC: 0xb05d2550:                                                                                                                 
  319. [    1.687079] 2550  e586300c e5c60012 e5943000 e58470a8 e5930170 eb024c45 e2508000 0a000026                                                   
  320. [    1.687824] 2570  eb024712 e3500000 0a000023 e1a00008 eb025136 e3500000 0a000027 e5903064                                                   
  321. [    1.688568] 2590  e3530000 12832a03 11a08003 15824530 158430e4 0a000026 e3a02002 e3043001                                                   
  322. [    1.689312] 25b0  e58420e0 e3a01001 e28420c8 e584301c e1a00005 ebff586d e3500000 b8bd81f0                                                   
  323. [    1.690056] 25d0  e5983008 e3a02020 e1a00006 e593102c e3510000 05931008 eb0a4809 e1a00005                                                   
  324. [    1.690800] 25f0  ebffa82a e3500000 b8bd81f0 e1a00007 ebfb49ef e3a00000 e8bd81f0 e30119c0                                                   
  325. [    1.691544] 2610  e5940000 e34b10a8 ebfb112d e59480e4 eaffffe0 e3e0000b e8bd81f0 e30119dc                                                   
  326. [    1.692288] 2630  e5940000 e34b10a8 ebfb1125 e59480e4 eaffffd8 e3011a00 e5940000 e34b10a8                                                   
  327. [    1.693035]                                                                                                                                 
  328. [    1.693035] LR: 0xb05d2548:                                                                                                                 
  329. [    1.693427] 2548  e1c681b0 e3a02000 e586300c e5c60012 e5943000 e58470a8 e5930170 eb024c45                                                   
  330. [    1.694171] 2568  e2508000 0a000026 eb024712 e3500000 0a000023 e1a00008 eb025136 e3500000                                                   
  331. [    1.694915] 2588  0a000027 e5903064 e3530000 12832a03 11a08003 15824530 158430e4 0a000026                                                   
  332. [    1.695659] 25a8  e3a02002 e3043001 e58420e0 e3a01001 e28420c8 e584301c e1a00005 ebff586d                                                   
  333. [    1.696402] 25c8  e3500000 b8bd81f0 e5983008 e3a02020 e1a00006 e593102c e3510000 05931008                                                   
  334. [    1.697147] 25e8  eb0a4809 e1a00005 ebffa82a e3500000 b8bd81f0 e1a00007 ebfb49ef e3a00000                                                   
  335. [    1.697893] 2608  e8bd81f0 e30119c0 e5940000 e34b10a8 ebfb112d e59480e4 eaffffe0 e3e0000b                                                   
  336. [    1.698638] 2628  e8bd81f0 e30119dc e5940000 e34b10a8 ebfb1125 e59480e4 eaffffd8 e3011a00                                                   
  337. [    1.699384]                                                                                                                                 
  338. [    1.699384] SP: 0xee8a1c80:                                                                                                                 
  339. [    1.699777] 1c80  eefcbbc8 ba4991a6 40000013 ba4991a6 ee16c844 b05d25d0 60000013 ffffffff                                                   
  340. [    1.700521] 1ca0  ee8a1ce4 00000000 ee8a0000 b01019f0 00000000 00000001 00000000 00004001                                                   
  341. [    1.701266] 1cc0  ee16c840 ee16c844 ee16c8b8 eeb1f810 00000000 b0d4b1e0 00000000 00000014                                                   
  342. [    1.702011] 1ce0  00000000 ee8a1d00 b05d25c8 b05d25d0 60000013 ffffffff 00000000 00000000                                                   
  343. [    1.702755] 1d00  eeb1f810 00000000 b0d4b1e0 00000000 00000000 b049d088 b0e326b4 eeb1f810                                                   
  344. [    1.703499] 1d20  b0e326b8 b049b390 eeb1f810 b0d4b1e0 b0d4b1e0 b0d08c48 00000000 eefdf808                                                   
  345. [    1.704243] 1d40  ee976394 b049b5a0 b0e359b4 b0970b30 a0000013 eeb1f810 00000000 b0d4b1e0                                                   
  346. [    1.704987] 1d60  b0d08c48 00000000 eefdf808 ee976394 00000014 b049b848 00000000 b0d4b1e0                                                   
  347. [    1.705734]                                                                                                                                 
  348. [    1.705734] R4: 0xee16c7c0:                                                                                                                 
  349. [    1.706128] c7c0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                                   
  350. [    1.706872] c7e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                                   
  351. [    1.707617] c800  eeb1f994 eeb1f994 b049e5ec 00000000 00000000 00000000 00000000 00000000                                                   
  352. [    1.708361] c820  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                                   
  353. [    1.709103] c840  eeb1f810 00000000 00000000 00000000 00000000 ee16c8b8 00000002 00004001                                                   
  354. [    1.709847] c860  00000000 00000001 00000000 00000000 ee16c908 00000000 00000000 00000000                                                   
  355. [    1.710590] c880  00000000 00000000 00000000 00000000 00000000 ee16c894 ee16c894 00000000                                                   
  356. [    1.711334] c8a0  00000000 00000004 00000000 b0970b10 00000000 00000000 6b636f72 70696863                                                   
  357. [    1.712080]                                                                                                                                 
  358. [    1.712080] R5: 0xee16c7c4:                                                                                                                 
  359. [    1.712473] c7c4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                                   
  360. [    1.713216] c7e4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 eeb1f994                                                   
  361. [    1.713959] c804  eeb1f994 b049e5ec 00000000 00000000 00000000 00000000 00000000 00000000                                                   
  362. [    1.714703] c824  00000000 00000000 00000000 00000000 00000000 00000000 00000000 eeb1f810                                                   
  363. [    1.715447] c844  00000000 00000000 00000000 00000000 ee16c8b8 00000002 00004001 00000000                                                   
  364. [    1.716192] c864  00000001 00000000 00000000 ee16c908 00000000 00000000 00000000 00000000                                                   
  365. [    1.716936] c884  00000000 00000000 00000000 00000000 ee16c894 ee16c894 00000000 00000000                                                   
  366. [    1.717682] c8a4  00000004 00000000 b0970b10 00000000 00000000 6b636f72 70696863 6669632d                                                   
  367. [    1.718429]                                                                                                                                 
  368. [    1.718429] R6: 0xee16c838:                                                                                                                 
  369. [    1.718821] c838  00000000 00000000 eeb1f810 00000000 00000000 00000000 00000000 ee16c8b8                                                   
  370. [    1.719565] c858  00000002 00004001 00000000 00000001 00000000 00000000 ee16c908 00000000                                                   
  371. [    1.720308] c878  00000000 00000000 00000000 00000000 00000000 00000000 00000000 ee16c894                                                   
  372. [    1.721051] c898  ee16c894 00000000 00000000 00000004 00000000 b0970b10 00000000 00000000                                                   
  373. [    1.721795] c8b8  6b636f72 70696863 6669632d 6964732d 00006674 00000000 00000000 00000000                                                   
  374. [    1.722539] c8d8  00000000 00000000 00000000 00000000 eeb1f810 00000000 00000000 00000000                                                   
  375. [    1.723283] c8f8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                                   
  376. [    1.724026] c918  ee16c844 00000000 00000002 00000000 00000000 00000000 00000000 00000000                                                   
  377. [    1.724774]                                                                                                                                 
  378. [    1.724774] R7: 0xeeb1f790:                                                                                                                 
  379. [    1.725167] f790  00040004 eeb1f794 eeb1f794 00000000 00000000 00000000 00000000 00000000                                                   
  380. [    1.725910] f7b0  00000000 b049cbc8 00000000 00000000 00000000 00000000 00000000 00000000                                                   
  381. [    1.726652] f7d0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                                   
  382. [    1.727396] f7f0  00000000 00000000 00000000 00000000 ee91a5c0 ffffffff 00000000 00000000                                                   
  383. [    1.728141] f810  b0d37a20 ee912c80 ee91a5c0 eeb1fa1c eeb1f61c b0d37a28 ee860080 b0d3774c                                                   
  384. [    1.728886] f830  ee91e000 00000003 00000007 00000000 00000000 ee898000 00000000 00000000                                                   
  385. [    1.729630] f850  eeb1f850 eeb1f850 b0d37bd8 b0d4b1e0 00000000 ee16c844 eeb1f868 eeb1f868                                                   
  386. [    1.730376] f870  eeb1f870 eeb1f870 eeb1f878 eeb1f878 eeb1f880 eeb1f880 00000000 00000001                                                   
  387. [    1.731123]                                                                                                                                 
  388. [    1.731123] R9: 0xb0d4b160:                                                                                                                 
  389. [    1.731515] b160  b05d13d0 b05d1514 b05d1e0c b05d1c08 00000000 00000000 00000000 b0a8186c                                                   
  390. [    1.732259] b180  b0d37bd8 00000000 00000000 00000000 00000000 b096f6c4 00000000 b049d040                                                   
  391. [    1.733003] b1a0  00000000 b049d004 b049ca18 00000000 00000000 00000000 b096fe6c 00000000                                                   
  392. [    1.733748] b1c0  ee981d00 00000000 00000000 b05d24cc b05d2258 00000000 00000000 00000000                                                   
  393. [    1.734492] b1e0  b0a81a18 b0d37bd8 00000000 00000000 00000000 00000000 b0970b30 00000000                                                   
  394. [    1.735236] b200  b049d040 00000000 b049d004 b049ca18 00000000 00000000 00000000 b0970cb8                                                   
  395. [    1.735981] b220  00000000 ee988500 00000000 00000000 b09718ac 00000000 00000000 b09718d8                                                   
  396. [    1.736725] b240  00000000 00000000 00000000 b0971928 b05d6cf4 b05d69d4 00000000 00000000                                                   
  397. [    1.737474] Process swapper/0 (pid: 1, stack limit = 0x40e6566d)                                                                           
  398. [    1.738013] Stack: (0xee8a1d00 to 0xee8a2000)                                                                                               
  399. [    1.738418] 1d00: eeb1f810 00000000 b0d4b1e0 00000000 00000000 b049d088 b0e326b4 eeb1f810                                                   
  400. [    1.739153] 1d20: b0e326b8 b049b390 eeb1f810 b0d4b1e0 b0d4b1e0 b0d08c48 00000000 eefdf808                                                   
  401. [    1.739889] 1d40: ee976394 b049b5a0 b0e359b4 b0970b30 a0000013 eeb1f810 00000000 b0d4b1e0                                                   
  402. [    1.740623] 1d60: b0d08c48 00000000 eefdf808 ee976394 00000014 b049b848 00000000 b0d4b1e0                                                   
  403. [    1.741358] 1d80: eeb1f810 b049b8d0 00000000 b0d4b1e0 b049b850 b0499754 00000000 ee854658                                                   
  404. [    1.742094] 1da0: ee912cb4 ba4991a6 b0d37bd8 b0d4b1e0 ee988500 b0d37bd8 00000000 b049a6f4                                                   
  405. [    1.742829] 1dc0: b0a81a18 eeb35a10 ee976340 b0d4b1e0 eeb35a10 ee976340 eeb35a00 b049c0e4                                                   
  406. [    1.743563] 1de0: b096fef8 eeb35a10 ee976340 b05d21bc 00000000 b0a8186c eeb35a10 00000062                                                   
  407. [    1.744298] 1e00: 00000000 eeb35a10 00000000 b0d4b17c 00000000 00000000 b0d4b17c 00000000                                                   
  408. [    1.745033] 1e20: eefc3400 b049d088 b0e326b4 eeb35a10 b0e326b8 b049b390 eeb35a10 b0d4b17c                                                   
  409. [    1.745768] 1e40: b0d4b17c b0d08c48 00000000 00000007 b0c3103c b049b5a0 b0e359b4 b096f6c4                                                   
  410. [    1.746503] 1e60: a0000013 eeb35a10 00000000 b0d4b17c b0d08c48 00000000 00000007 b0c3103c                                                   
  411. [    1.747237] 1e80: eefc3400 b049b848 00000000 b0d4b17c eeb35a10 b049b8d0 00000000 b0d4b17c                                                   
  412. [    1.747972] 1ea0: b049b850 b0499754 00000000 ee854658 ee9398b4 ba4991a6 b0d37bd8 b0d4b17c                                                   
  413. [    1.748709] 1ec0: ee981d00 b0d37bd8 00000000 b049a6f4 b0a8186c b0d08c48 ffffe000 b0d4b17c                                                   
  414. [    1.749444] 1ee0: b0d08c48 ffffe000 b0c1ca70 b049c0e4 b0d5fd00 b0d08c48 ffffe000 b010265c                                                   
  415. [    1.750180] 1f00: b0ae9e7c 000000d8 000000bc b0142200 b0ae8fcc 00000000 b0c005b0 00000000                                                   
  416. [    1.750915] 1f20: 00000006 00000006 b0a22a5c b0a43dbc b0a190d0 b0d08c48 00000000 eefc34c0                                                   
  417. [    1.751650] 1f40: eefc34d0 ba4991a6 00000000 ba4991a6 b0d5fd00 b0d5fd00 b0c48f94 b0c31034                                                   
  418. [    1.752385] 1f60: 000000d8 b0c3103c eefc3400 b0c00ee4 00000006 00000006 00000000 b0c005b0                                                   
  419. [    1.753119] 1f80: b0869dfc 00000000 b0869dfc 00000000 00000000 00000000 00000000 00000000                                                   
  420. [    1.753852] 1fa0: 00000000 b0869e04 00000000 b01010d8 00000000 00000000 00000000 00000000                                                   
  421. [    1.754586] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                                   
  422. [    1.755318] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000                                                   
  423. [    1.756073] [<b05d25d0>] (rkcif_subdev_probe) from [<b049d088>] (platform_drv_probe+0x48/0x9c)                                             
  424. [    1.756848] [<b049d088>] (platform_drv_probe) from [<b049b390>] (really_probe+0x210/0x2bc)                                                  
  425. [    1.757599] [<b049b390>] (really_probe) from [<b049b5a0>] (driver_probe_device+0x60/0x160)                                                  
  426. [    1.758349] [<b049b5a0>] (driver_probe_device) from [<b049b848>] (device_driver_attach+0x58/0x60)                                          
  427. [    1.759142] [<b049b848>] (device_driver_attach) from [<b049b8d0>] (__driver_attach+0x80/0xb8)                                               
  428. [    1.759912] [<b049b8d0>] (__driver_attach) from [<b0499754>] (bus_for_each_dev+0x68/0xb4)                                                   
  429. [    1.760650] [<b0499754>] (bus_for_each_dev) from [<b049a6f4>] (bus_add_driver+0xf0/0x1e4)                                                   
  430. [    1.761389] [<b049a6f4>] (bus_add_driver) from [<b049c0e4>] (driver_register+0x78/0x10c)                                                   
  431. [    1.762117] [<b049c0e4>] (driver_register) from [<b05d21bc>] (rkcif_plat_probe+0x3b0/0x43c)                                                
  432. [    1.762866] [<b05d21bc>] (rkcif_plat_probe) from [<b049d088>] (platform_drv_probe+0x48/0x9c)                                                
  433. [    1.763628] [<b049d088>] (platform_drv_probe) from [<b049b390>] (really_probe+0x210/0x2bc)                                                  
  434. [    1.764377] [<b049b390>] (really_probe) from [<b049b5a0>] (driver_probe_device+0x60/0x160)                                                  
  435. [    1.765126] [<b049b5a0>] (driver_probe_device) from [<b049b848>] (device_driver_attach+0x58/0x60)                                          
  436. [    1.765921] [<b049b848>] (device_driver_attach) from [<b049b8d0>] (__driver_attach+0x80/0xb8)                                               
  437. [    1.766693] [<b049b8d0>] (__driver_attach) from [<b0499754>] (bus_for_each_dev+0x68/0xb4)                                                   
  438. [    1.767431] [<b0499754>] (bus_for_each_dev) from [<b049a6f4>] (bus_add_driver+0xf0/0x1e4)                                                   
  439. [    1.768168] [<b049a6f4>] (bus_add_driver) from [<b049c0e4>] (driver_register+0x78/0x10c)                                                   
  440. [    1.768898] [<b049c0e4>] (driver_register) from [<b010265c>] (do_one_initcall+0x54/0x194)                                                   
  441. [    1.769643] [<b010265c>] (do_one_initcall) from [<b0c00ee4>] (kernel_init_freeable+0x144/0x1dc)                                             
  442. [    1.770432] [<b0c00ee4>] (kernel_init_freeable) from [<b0869e04>] (kernel_init+0x8/0x110)                                                   
  443. [    1.771172] [<b0869e04>] (kernel_init) from [<b01010d8>] (ret_from_fork+0x14/0x3c)                                                         
  444. [    1.771844] Exception stack(0xee8a1fb0 to 0xee8a1ff8)                                                                                       
  445. [    1.772308] 1fa0:                                     00000000 00000000 00000000 00000000                                                   
  446. [    1.773042] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                                   
  447. [    1.773773] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000                                                                     
  448. [    1.774375] Code: e1a00005 ebff586d e3500000 b8bd81f0 (e5983008)                                                                           
  449. [    1.774991] ---[ end trace 4b59f3377d9bef70 ]---                                                                                            
  450. [    1.778826] Kernel panic - not syncing: Fatal exception                                                                                    
  451. [    1.779315] CPU3: stopping                                                                                                                  
  452. [    1.779577] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D           4.19.111 #2                                                           
  453. [    1.780247] Hardware name: Generic DT based system                                                                                          
  454. [    1.780708] [<b010f408>] (unwind_backtrace) from [<b010b970>] (show_stack+0x10/0x14)                                                        
  455. [    1.781406] [<b010b970>] (show_stack) from [<b0855524>] (dump_stack+0x90/0xa4)                                                              
  456. [    1.782056] [<b0855524>] (dump_stack) from [<b010e31c>] (handle_IPI+0x178/0x18c)                                                            
  457. [    1.782736] [<b010e31c>] (handle_IPI) from [<b03c0ab4>] (gic_handle_irq+0x74/0x78)                                                         
  458. [    1.783420] [<b03c0ab4>] (gic_handle_irq) from [<b0101a78>] (__irq_svc+0x58/0x8c)                                                           
  459. [    1.784082] Exception stack(0xee8cff58 to 0xee8cffa0)                                                                                       
  460. [    1.784545] ff40:                                                       00000000 0000077c                                                   
  461. [    1.785280] ff60: eefb650c b011a880 ee8ce000 b0d08c70 b0d08cac 00000008 00000000 00000000                                                   
  462. [    1.786015] ff80: b0c505f0 ee8cffb0 3e368000 ee8cffa8 b0108990 b0108994 60000013 ffffffff                                                   
  463. [    1.786755] [<b0101a78>] (__irq_svc) from [<b0108994>] (arch_cpu_idle+0x38/0x3c)                                                            
  464. [    1.787431] [<b0108994>] (arch_cpu_idle) from [<b014e620>] (do_idle+0x1c0/0x29c)                                                            
  465. [    1.788105] [<b014e620>] (do_idle) from [<b014e9cc>] (cpu_startup_entry+0x18/0x1c)                                                         
  466. [    1.788787] [<b014e9cc>] (cpu_startup_entry) from [<001023cc>] (0x1023cc)                                                                  
  467. [    1.789397] CPU0: stopping                                                                                                                  
  468. [    1.789656] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D           4.19.111 #2                                                           
  469. [    1.790326] Hardware name: Generic DT based system                                                                                          
  470. [    1.790768] [<b010f408>] (unwind_backtrace) from [<b010b970>] (show_stack+0x10/0x14)                                                        
  471. [    1.791472] [<b010b970>] (show_stack) from [<b0855524>] (dump_stack+0x90/0xa4)                                                              
  472. [    1.792121] [<b0855524>] (dump_stack) from [<b010e31c>] (handle_IPI+0x178/0x18c)                                                            
  473. [    1.792794] [<b010e31c>] (handle_IPI) from [<b03c0ab4>] (gic_handle_irq+0x74/0x78)                                                         
  474. [    1.793478] [<b03c0ab4>] (gic_handle_irq) from [<b0101a78>] (__irq_svc+0x58/0x8c)                                                           
  475. [    1.794151] Exception stack(0xb0d01f10 to 0xb0d01f58)                                                                                       
  476. [    1.794615] 1f00:                                     00000000 00000eac eef8950c b011a880                                                   
  477. [    1.795349] 1f20: b0d00000 b0d08c70 b0d08cac 00000001 00000000 00000000 b0c505f0 b0d01f68                                                   
  478. [    1.796081] 1f40: 00000002 b0d01f60 b0108990 b0108994 60000013 ffffffff                                                                     
  479. [    1.796686] [<b0101a78>] (__irq_svc) from [<b0108994>] (arch_cpu_idle+0x38/0x3c)                                                            
  480. [    1.797361] [<b0108994>] (arch_cpu_idle) from [<b014e620>] (do_idle+0x1c0/0x29c)                                                            
  481. [    1.798034] [<b014e620>] (do_idle) from [<b014e9cc>] (cpu_startup_entry+0x18/0x1c)                                                         
  482. [    1.798719] [<b014e9cc>] (cpu_startup_entry) from [<b0c00d84>] (start_kernel+0x490/0x4ac)                                                   
  483. [    1.799459] [<b0c00d84>] (start_kernel) from [<00000000>] (  (null))                                                                        
  484. [    1.800033] CPU1: stopping                                                                                                                  
  485. [    1.800291] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D           4.19.111 #2                                                           
  486. [    1.800951] Hardware name: Generic DT based system                                                                                          
  487. [    1.801405] [<b010f408>] (unwind_backtrace) from [<b010b970>] (show_stack+0x10/0x14)                                                        
  488. [    1.802100] [<b010b970>] (show_stack) from [<b0855524>] (dump_stack+0x90/0xa4)                                                              
  489. [    1.802749] [<b0855524>] (dump_stack) from [<b010e31c>] (handle_IPI+0x178/0x18c)                                                            
  490. [    1.803421] [<b010e31c>] (handle_IPI) from [<b03c0ab4>] (gic_handle_irq+0x74/0x78)                                                         
  491. [    1.804104] [<b03c0ab4>] (gic_handle_irq) from [<b0101a78>] (__irq_svc+0x58/0x8c)                                                           
  492. [    1.804765] Exception stack(0xee8cbf58 to 0xee8cbfa0)                                                                                       
  493. [    1.805227] bf40:                                                       00000000 00000464                                                   
  494. [    1.805963] bf60: eef9850c b011a880 ee8ca000 b0d08c70 b0d08cac 00000002 00000000 00000000                                                   
  495. [    1.806698] bf80: b0c505f0 ee8cbfb0 00000000 ee8cbfa8 b0108990 b0108994 60000013 ffffffff                                                   
  496. [    1.807437] [<b0101a78>] (__irq_svc) from [<b0108994>] (arch_cpu_idle+0x38/0x3c)                                                            
  497. [    1.808110] [<b0108994>] (arch_cpu_idle) from [<b014e620>] (do_idle+0x1c0/0x29c)                                                            
  498. [    1.808783] [<b014e620>] (do_idle) from [<b014e9cc>] (cpu_startup_entry+0x18/0x1c)                                                         
  499. [    1.809463] [<b014e9cc>] (cpu_startup_entry) from [<001023cc>] (0x1023cc)                                                                  
  500. [    1.810070] PMU CRU:                                                                                                                        
  501. [    1.810289] 00000000: 00000001 00000000 00000000 00000000 00002063 00001441 00000000 00000007                                               
  502. [    1.811060] 00000020: 00007f00 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  503. [    1.811829] 00000040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  504. [    1.812599] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  505. [    1.813368] 00000080: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  506. [    1.814137] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  507. [    1.814906] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  508. [    1.815677] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  509. [    1.816448] 00000100: 00000100 0000000b 0000000b 0000000b 00000800 00000000 00000000 0000e3f1                                               
  510. [    1.817220] 00000120: 00000000 0000000b 00000000 00000000 00000005 0040b71b 00000000 00000000                                               
  511. [    1.817990] 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  512. [    1.818761] 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  513. [    1.819533] 00000180: 00000060 00000081 00000000 00000000 00000000 00000000 00000000 00000000                                               
  514. [    1.820302] 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  515. [    1.821070] 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  516. [    1.821840] 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  517. [    1.822609] 00000200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  518. [    1.823378] 00000220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  519. [    1.824140] 00000240: 00040020 00000000                                                                                                     
  520. [    1.824486] CRU:                                                                                                                           
  521. [    1.824678] 00000000: 00004064 00001441 00000000 00000007 00007f00 00000000 00000000 00000000                                               
  522. [    1.825449] 00000020: 0000404d 00001441 00000000 00000007 00007f00 00000000 00000000 00000000                                               
  523. [    1.826221] 00000040: 0000607d 00001441 00000000 00000007 00007f00 00000000 00000000 00000000                                               
  524. [    1.826991] 00000060: 0000215e 00001443 00000000 00000007 00007f00 00000000 00000000 00000000                                               
  525. [    1.827762] 00000080: 00000000 00000000 00000000 00000000 00000055 00000000 00000000 00000000                                               
  526. [    1.828535] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  527. [    1.829305] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  528. [    1.830074] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  529. [    1.830845] 00000100: 00000580 00000013 00000540 0000050b 00000105 00000b0b 00000b0b 00000707                                               
  530. [    1.831616] 00000120: 0000000b 00000000 00000800 00000000 00000800 00000000 00000800 00000000                                               
  531. [    1.832386] 00000140: 00000800 00000000 00000800 00000000 00000017 00000000 00000000 00000000                                               
  532. [    1.833156] 00000160: 00000000 00000205 00000007 00000b0b 00000000 00000000 0000014f 00001305                                               
  533. [    1.833926] 00000180: 00000000 0000070b 00000000 00000003 0000000b 00000000 00000000 00000000                                               
  534. [    1.834697] 000001a0: 00004183 00000101 00008382 00008183 00000183 00000103 00000102 00000106                                               
  535. [    1.835468] 000001c0: 00000000 00000101 00000101 00000703 00000000 00000503 00004203 0000801d                                               
  536. [    1.836239] 000001e0: 00000002 00000002 0000800b 0000000e 00000000 00001309 00000000 00000103                                               
  537. [    1.837009] 00000200: 0000000b 00000055 00000701 00000055 00000501 00000101 00000000 00000000                                               
  538. [    1.837780] 00000220: 0000000b 00000007 00000000 00000000 00000101 00000101 00000000 00000000                                               
  539. [    1.838551] 00000240: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  540. [    1.839322] 00000260: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  541. [    1.840084] 00000280: 00000000 00000000 00000000 0000043c 00001833 00009909 00000009 00000000                                               
  542. [    1.840853] 000002a0: 00000000 00000000 00000000 00000000 00000182 00000000 00000000 00000800                                               
  543. [    1.841623] 000002c0: 00000073 00000000 00000000 00002000 00000000 00000000 00000000 00000000                                               
  544. [    1.842394] 000002e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  545. [    1.843164] 00000300: 00000000 00000000 00000400 00000000 00000000 00000000 00000000 00000000                                               
  546. [    1.843935] 00000320: 00000000 00000000 00000000 00000000 00001000 00000000 00000000 00000000                                               
  547. [    1.844707] 00000340: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  548. [    1.845477] 00000360: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  549. [    1.846249] 00000380: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  550. [    1.847018] 000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  551. [    1.847790] 000003c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  552. [    1.848566] 000003e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  553. [    1.849340] 00000400: 00640064 00000000 00000000 00000000 00001101 00000000 00000000 00000000                                               
  554. [    1.850110] 00000420: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  555. [    1.850881] 00000440: 00000004 00000000 00000004 00000000 00000004 00000000 00000000 00000000                                               
  556. [    1.851650] 00000460: 00000032 00000094 00000000 00000000 00000000 00000000 00000000 00000000                                               
  557. [    1.852420] 00000480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  558. [    1.853191] 000004a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  559. [    1.853961] 000004c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  560. [    1.854731] 000004e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  561. [    1.855502] 00000500: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  562. [    1.856273] 00000520: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000                                               
  563. [    1.857043] 00000540: 00040020 00000000 00040020 00000000 00040020 00000000 00000000 00000000                                               
  564. [    1.857815] 00000560: 00000000 00000000 00040020 00000000 00040020 00000000 00040020 00000000                                               
  565. [    1.858578] 00000580: 00040020 00000000                                                                                                     
  566. [    1.858929] CPU0 online:0                                                                                                                  
  567. [    1.859184]  PC: <0xb010e2bc> handle_IPI+0x118/0x18c                                                                                       
  568. [    1.859658]                                                                                                                                 
  569. [    1.859805] CPU1 online:0                                                                                                                  
  570. [    1.860058]  PC: <0xb010e2bc> handle_IPI+0x118/0x18c                                                                                       
  571. [    1.860528]                                                                                                                                 
  572. [    1.860675] CPU2 online:1                                                                                                                  
  573. [    1.860932]  PC: <0xb0411df8> rockchip_panic_notify+0xb4/0x114                                                                              
  574. [    1.861481]                                                                                                                                 
  575. [    1.861627] CPU3 online:0                                                                                                                  
  576. [    1.861879]  PC: <0xb010e2bc> handle_IPI+0x118/0x18c                                                                                       
  577. [    1.862350]                                                                                                                                 
  578. [    1.862496] PMU:                                                                                                                           
  579. [    1.862687] 00000000: 030a0000 0000000c 00000000 00000000 00000000 00000000 00000000 00000000                                               
  580. [    1.863458] 00000020: 000fffff 000fffff 000fffff 000fffff 000fffff 00000000 00005dc0 00005dc0                                               
  581. [    1.864231] 00000040: 00005dc0 00005dc0 00005dc0 000fffff 00000000 00000000 00000000 00000000                                               
  582. [    1.865000] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  583. [    1.865770] 00000080: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  584. [    1.866539] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000                                               
  585. [    1.867310] 000000c0: 00000100 00000010 00000000 00000000 00100100 00000000 00100100 00000000                                               
  586. [    1.868081] 000000e0: 0000ffff 0000ffff 00000000 00000000 00000000 00000000 00000000 00000000                                               
  587. [    1.873041] ---[ end Kernel panic - not syncing: Fatal exception ]---  
Copy the code


This is my device tree overlay

  1. /dts-v1/;
  2. #include "rv1126.dtsi"
  3. #include "rv1126-evb-v12.dtsi"
  4. / {
  5.         model = "Rockchip RV1109 V12 FACIAL GATE Board";
  6.         compatible = "rockchip,rv1109-evb-ddr3-v12-facial-gate", "rockchip,rv1126";
  7.         ovision,model = "OModule";
  8.         ovision,version = "0.1";

  9.         chosen {
  10.                 bootargs = "earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait snd_aloop.index=7";
  11.         };

  12.         pwmleds {
  13.                 compatible = "pwm-leds";

  14.                 pwmi_ir {
  15.                         label = "PWM-IR";
  16.                         pwms = <&pwm11 0 25000 0>;
  17.                         max-brightness = <255>;
  18.                 };
  19.         };

  20.         vcc1v2_dvdd: vcc1v2-dvdd {
  21.                 compatible = "regulator-fixed";
  22.                 regulator-name = "vcc1v2_dvdd";
  23.                 regulator-min-microvolt = <1200000>;
  24.                 regulator-max-microvolt = <1200000>;
  25.         };

  26.         vcc2v8_avdd: vcc2v8-avdd {
  27.                 compatible = "regulator-fixed";
  28.                 regulator-name = "vcc2v8_avdd";
  29.                 regulator-min-microvolt = <2800000>;
  30.                 regulator-max-microvolt = <2800000>;
  31.         };
  32. };

  33. &csi_dphy0 {
  34.         status = "okay";

  35.         ports {
  36.        
  37.                 port@0 {
  38.                         mipi_in_ucam0: endpoint@1 {
  39.                                 remote-endpoint = <&ucam_out0>;
  40.                                 data-lanes = <1 2 3 4>;
  41.                         };
  42.                 };
  43.                 port@1 {
  44.                         csidphy0_out: endpoint@0 {
  45.                                 remote-endpoint = <&mipi_csi2_input>;
  46.                                 data-lanes = <1 2 3 4>;
  47.                         };
  48.                 };
  49.         };
  50. };

  51. &csi_dphy1 {
  52.         status = "okay";

  53.         ports {
  54.                 port@0 {
  55.                         csi_dphy1_input: endpoint@1 {
  56.                                 //remote-endpoint = <&ucam_out1>;
  57.                                 data-lanes = <1 2 3 4>;
  58.                         };
  59.                 };

  60.                 port@1 {
  61.                         csi_dphy1_output: endpoint@0 {
  62.                                 //remote-endpoint = <&isp_in>;
  63.                                 data-lanes = <1 2 3 4>;
  64.                         };
  65.                 };
  66.         };
  67. };


  68. &i2c1 {
  69.         /delete-node/ ar0230@10;

  70.         /delete-node/ os04a10@36;

  71.         ov4689: ov4689@36 {
  72.                 compatible = "ovti,ov4689";
  73.                 reg = <0x36>;
  74.                 clocks = <&cru CLK_MIPICSI_OUT>;
  75.                 clock-names = "xvclk";
  76.                 power-domains = <&power RV1126_PD_VI>;
  77.                 pinctrl-names = "rockchip,camera_default";
  78.                 pinctrl-0 = <&mipicsi_clk0>;
  79.                 avdd-supply = <&vcc_avdd>;
  80.                 dovdd-supply = <&vcc_dovdd>;
  81.                 dvdd-supply = <&vcc_dvdd>;
  82.                 pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
  83.                 reset-gpios = <&gpio1 RK_PD6 GPIO_ACTIVE_HIGH>;
  84.                 rockchip,camera-module-index = <1>;
  85.                 rockchip,camera-module-facing = "front";
  86.                 rockchip,camera-module-name = "JSD3425-C1";
  87.                 rockchip,camera-module-lens-name = "JSD3425-C1-36IRC-4M-F20";
  88.                 rockchip,camera-hdr-mode = <0>;
  89.                
  90.                 port {
  91.                         ucam_out0: endpoint {
  92.                         remote-endpoint = <&mipi_in_ucam0>;
  93.                         data-lanes = <1 2 3 4>;
  94.                         };
  95.                 };

  96.         };
  97. };

  98. /* isp cma buffer don't fiddle with it, dual camera(1920 * 1080) need 92M buffer */
  99. &isp_reserved {
  100.         size = <0x20000000>;
  101. };

  102. &mipi_csi2 {
  103.         status = "okay";
  104.         ports {
  105.                 port@0 {
  106.                         mipi_csi2_input: endpoint@1 {
  107.                                 remote-endpoint = <&csidphy0_out>;
  108.                                 data-lanes = <1 2 3 4>;
  109.                         };
  110.                 };

  111.                 port@1 {
  112.                         mipi_csi2_output: endpoint@0 {
  113.                                 remote-endpoint = <&cif_mipi_in>;
  114.                                 data-lanes = <1 2 3 4>;
  115.                         };
  116.                 };
  117.         };
  118. };

  119. &pwm11 {
  120.         status = "okay";
  121.         pinctrl-names = "active";
  122.         pinctrl-0 = <&pwm11m1_pins_pull_down>;
  123. };

  124. &rk809 {
  125.         regulators {
  126.                 vcc_dvdd: LDO_REG6 {
  127.                         regulator-min-microvolt = <1300000>;
  128.                         regulator-max-microvolt = <1300000>;
  129.                 };

  130.                 vcc_avdd: LDO_REG7 {
  131.                         regulator-min-microvolt = <3300000>;
  132.                         regulator-max-microvolt = <3300000>;
  133.                 };
  134.         };
  135. };

  136. &rkcif_mipi_lvds {
  137.         status = "okay";
  138.         port {
  139.                 cif_mipi_in: endpoint {
  140.                         remote-endpoint = <&mipi_csi2_output>;
  141.                         data-lanes = <1 2 3 4>;
  142.                 };
  143.         };
  144. };


  145. &rkcif_mipi_lvds_sditf {
  146.         status = "okay";

  147.         port {
  148.                 cif_sditf: endpoint {
  149.                         remote-endpoint = <&isp_in>;
  150.                         data-lanes = <1 2 3 4>;
  151.                 };
  152.         };
  153. };


  154. &rkisp_vir0 {
  155.         status = "okay";
  156.        
  157.         ports {
  158.                 port@0 {
  159.                         isp_in: endpoint@0 {
  160.                                 remote-endpoint = <&csi_dphy1_output>;
  161.                         };
  162.                 };
  163.         };
  164. };

  165. &rkisp_vir1 {
  166.         status = "okay";
  167.         ports {
  168.                 port@0 {
  169.                         reg = <0>;
  170.                         #address-cells = <1>;
  171.                         #size-cells = <0>;

  172.                         isp_virt1_in: endpoint@0 {
  173.                                 reg = <0>;
  174.                                 remote-endpoint = <&cif_sditf>;
  175.                         };
  176.                 };
  177.         };
  178. };

  179. &rkispp_vir1 {
  180.         status = "okay";
  181. };

  182. &rkispp {
  183.         status = "okay";
  184.         /* the max input w h and fps of mulit sensor */
  185.         //max-input = <1920 1080 30>;
  186. };

  187. &backlight {
  188.         pwms = <&pwm0 0 25000 0>;
  189. };

  190. &pwm0 {
  191.         status = "okay";
  192. };

  193. &pwm3 {
  194.         status = "disabled";
  195. };

  196. &u2phy0 {
  197.         vup-gpios = <&gpio0 RK_PC1 GPIO_ACTIVE_LOW>;
  198. };
Copy the code


Please help!
Reply

Use props Report

134

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
134
Posted at 8/12/2022 03:53:08        Only Author  2#
I 'm using a OV4689 with the the motherboard (MB-JD4-
RV11091126) with this device tree, note that I use two lanes:

  1. ov4689: ov4689@36 {
  2.                 compatible = "ovti,ov4689";
  3.                 reg = <0x36>;
  4.                 clocks = <&cru CLK_MIPICSI_OUT>;
  5.                 clock-names = "xvclk";
  6.                 power-domains = <&power RV1126_PD_VI>;
  7.                 pinctrl-names = "rockchip,camera_default";
  8.                 pinctrl-0 = <&mipicsi_clk0>;
  9.                 avdd-supply = <&vcc_avdd>; // 2.8V
  10.                 //dovdd-supply = <&vcc_dovdd>; // 1.8V
  11.                 dovdd-supply = <&vcc_1v8>;
  12.                 dvdd-supply = <&vcc_dvdd>; // 1.2V
  13.                 //pwdn-gpios = <&gpio2 RK_PA7 GPIO_ACTIVE_HIGH>;
  14.                 pwdn-gpios = <&gpio1 RK_PD4 GPIO_ACTIVE_HIGH>;
  15.                 reset-gpios = <&gpio4 RK_PA0 GPIO_ACTIVE_LOW>;
  16.                 rockchip,camera-module-index = <1>;
  17.                 rockchip,camera-module-facing = "front";
  18.                 rockchip,camera-module-name = "Unknown";
  19.                 rockchip,camera-module-lens-name = "Unknown";
  20.                 //rockchip,camera-module-name = "JSD3425-C1";
  21.                 //rockchip,camera-module-lens-name = "JSD3425-C1";
  22.                 // NO_HDR:0 HDR_X2:5 HDR_X3:6
  23.                 rockchip,camera-hdr-mode = <0>;
  24.                 port {
  25.                         ucam_out0: endpoint {
  26.                                 remote-endpoint = <&mipi_in_ucam0>;
  27.                                 data-lanes = <1 2>;
  28.                         };
  29.                 };

  30.         };

  31. &csi_dphy0 {
  32.         status = "okay";

  33.         ports {
  34.                 #address-cells = <1>;
  35.                 #size-cells = <0>;
  36.                 port@0 {
  37.                         reg = <0>;
  38.                         #address-cells = <1>;
  39.                         #size-cells = <0>;

  40.                         mipi_in_ucam0: endpoint@1 {
  41.                                 reg = <1>;
  42.                                 remote-endpoint = <&ucam_out0>;
  43.                                 data-lanes = <1 2>;
  44.                         };
  45.                 };
  46.                 port@1 {
  47.                         reg = <1>;
  48.                         #address-cells = <1>;
  49.                         #size-cells = <0>;

  50.                         csidphy0_out: endpoint@0 {
  51.                                 reg = <0>;
  52.                                 remote-endpoint = <&isp_in>;
  53.                         };

  54.                 };
  55.         };
  56. };

  57. &rkisp {
  58.         status = "okay";
  59. };

  60. &rkisp_vir0 {
  61.         status = "okay";

  62.         ports {
  63.                 port@0 {
  64.                         reg = <0>;
  65.                         #address-cells = <1>;
  66.                         #size-cells = <0>;

  67.                         isp_in: endpoint@0 {
  68.                                 reg = <0>;
  69.                                 remote-endpoint = <&csidphy0_out>;
  70.                         };
  71.                 };
  72.                 port@1 {
  73.                         reg = <1>;
  74.                         #address-cells = <1>;
  75.                         #size-cells = <0>;
  76.                         isp0_out: endpoint@1 {
  77.                                 reg = <1>;
  78.                                 // ispp port name, isp output to ispp
  79.                                 remote-endpoint = <&ispp0_in>;
  80.                         };
  81. }                ;
  82.         };
  83. };

  84. &rkispp_vir0 {
  85.         status = "okay";
  86.         port {
  87.                 #address-cells = <1>;
  88.                 #size-cells = <0>;
  89.                 ispp0_in: endpoint@0 {
  90.                         reg = <0>;
  91.                         // isp port name, ispp input
  92.                         remote-endpoint = <&isp0_out>;
  93.                 };
  94.         };
  95.         
  96. };

  97. &rkispp_mmu {
  98.         status = "okay";
  99. };
Copy the code
Reply

Use props Report

129

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
129
Posted at before yesterday 22:51        Only Author  3#
By reading this article, I have gained a deeper understanding of the topic. With the Valid 300-540 test questions, I was able to secure a promotion and salary hike. It’s now available for free to all. Good luck on your career growth!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list