msmmbl 发表于 2023-9-3 17:37:08

求助RK628做HDMI IN没有生成subdev

使用了rk628官方的demo板子连接Core-1126-JD4的官方底板做hdmi in,用到了MIPI1,rk628的demo板只改了一个电阻让reset引脚引出(原来是rc复位),系统是官方的debain,dts文件修改如下:

i2c1 {
    clock-frequency = <400000>;
    status = "okay";

    rk628: rk628@50 {
      reg = <0x50>;
      interrupt-parent = <&gpio3>;
      interrupts = <RK_PA5 IRQ_TYPE_LEVEL_HIGH>;
      reset-gpios = <&gpio4 RK_PA1 GPIO_ACTIVE_LOW>;
      status = "okay";
    };
};
#include <arm/rk628.dtsi>

&rk628_combtxphy {
    status = "okay";
};

&rk628_combrxphy {
    status = "okay";
};

&rk628_csi {
    status = "okay";
    plugin-det-gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_LOW>;
    // power-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
    rockchip,camera-module-index = <0>;
    rockchip,camera-module-facing = "back";
    rockchip,camera-module-name = "RK628-CSI";
    rockchip,camera-module-lens-name = "NC";

    port {
      hdmiin_out1: endpoint {
            remote-endpoint = <&mipi_in1>;
            data-lanes = <1 2 3 4>;
      };
    };
};


&csi_dphy1 {
    status = "okay";

    ports {
      #address-cells = <1>;
      #size-cells = <0>;
      port@0 {
            reg = <0>;
            #address-cells = <1>;
            #size-cells = <0>;

            mipi_in1: endpoint@1 {
                reg = <1>; // reg = <1>?????
                remote-endpoint = <&hdmiin_out1>;
                data-lanes = <1 2 3 4>;
            };
      };

      port@1 {
            reg = <1>;
            #address-cells = <1>;
            #size-cells = <0>;

            csidphy1_out: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&isp1_in>;
            };
      };
    };
};


&rkisp {
    status = "okay";
};

&rkisp_mmu {
    status = "okay";
};

&rkisp_vir1 {
    status = "okay";

    port {
      #address-cells = <1>;
      #size-cells = <0>;

      isp1_in: endpoint@0 {
            reg = <0>;
            remote-endpoint = <&csidphy1_out>;
      };
    };
};

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


[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Linux version 4.19.111 (msmmbl@MKJ) (kernel commit id: 85988bd7b1fc67ac96e868b90f4e676f44c713ae) (sdk version: rv1126_rv1109_linux_release_20220324_v2.2.5b.xml) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #6 SMP PREEMPT Sun Sep 3 15:10:57 CST 2023
[    0.000000] CPU: ARMv7 Processor revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Firefly Core-RV1126-JD4 Board MSM
[    0.000000] earlycon: uart8250 at MMIO32 0xff570000 (options '')
[    0.000000] bootconsole enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x00000000, size 0 MiB
[    0.000000] Reserved memory: created CMA memory pool at 0x3f800000, size 8 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x2f800000, size 256 MiB
[    0.000000] OF: reserved mem: initialized node isp, compatible id shared-dma-pool
[    0.000000] On node 0 totalpages: 261560
[    0.000000]   Normal zone: 2048 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 261560 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 15 pages/cpu s32204 r8192 d21044 u61440
[    0.000000] pcpu-alloc: s32204 r8192 d21044 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: 0 1 2 3
[    0.000000] Built 1 zonelists, mobility grouping on.Total pages: 259512
[    0.000000] Kernel command line: user_debug=31 storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normalro rootwait earlycon=uart8250,mmio32,0xff570000 console=ttyFIQ0 root=PARTLABEL=rootfs rootfstype=ext4 overlayroot=device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 cgroup_enable=memory swapaccount=1 snd_aloop.index=7
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 741732K/1046240K available (9216K kernel code, 427K rwdata, 2496K rodata, 1024K init, 321K bss, 34172K reserved, 270336K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector: 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap: 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem: 0xb0000000 - 0xf0000000   (1024 MB)
                   pkmap   : 0xafe00000 - 0xb0000000   (   2 MB)
                   modules : 0xaf000000 - 0xafe00000   (14 MB)
                     .text : 0x(ptrval) - 0x(ptrval)   (10208 kB)
                     .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
                     .data : 0x(ptrval) - 0x(ptrval)   ( 428 kB)
                      .bss : 0x(ptrval) - 0x(ptrval)   ( 322 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: random: get_random_bytes called from start_kernel+0x328/0x4ac with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000754] Switching to timer-based delay loop, resolution 41ns
[    0.002765] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.003723] pid_max: default: 4096 minimum: 301
[    0.004328] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.004953] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.006412] CPU: Testing write buffer coherency: ok
[    0.007254] /cpus/cpu@f00 missing clock-frequency property
[    0.007779] /cpus/cpu@f01 missing clock-frequency property
[    0.008298] /cpus/cpu@f02 missing clock-frequency property
[    0.008818] /cpus/cpu@f03 missing clock-frequency property
[    0.009334] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.010627] Setting up static identity map for 0x100000 - 0x100060
[    0.011367] rcu: Hierarchical SRCU implementation.
[    0.012453] smp: Bringing up secondary CPUs ...
[    0.014513] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.016245] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.017982] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.018124] smp: Brought up 1 node, 4 CPUs
[    0.020123] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.020702] CPU: All CPU(s) started in SVC mode.
[    0.022034] devtmpfs: initialized
[    0.051280] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.051327] Unpacking initramfs...
[    0.052738] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.053643] futex hash table entries: 16 (order: -2, 1024 bytes)
[    0.054528] pinctrl core: initialized pinctrl subsystem
[    0.056309] NET: Registered protocol family 16
[    0.057524] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.060242] cpuidle: using governor menu
[    0.060648] Registered FIQ tty driver
[    0.061783] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.062524] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.065441] console enabled
[    0.066110] pstore: Registered ramoops as persistent store backend
[    0.066693] ramoops: attached 0x100000@0x8000000, ecc: 0/0
[    0.094742] gpio gpiochip0: (gpio0): added GPIO chardev (254:0)
[    0.094871] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio0)
[    0.095139] gpio gpiochip1: (gpio1): added GPIO chardev (254:1)
[    0.095260] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio1)
[    0.095457] gpio gpiochip2: (gpio2): added GPIO chardev (254:2)
[    0.095587] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio2)
[    0.095795] gpio gpiochip3: (gpio3): added GPIO chardev (254:3)
[    0.095919] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio3)
[    0.096121] gpio gpiochip4: (gpio4): added GPIO chardev (254:4)
[    0.096230] gpiochip_setup_dev: registered GPIOs 128 to 129 on device: gpiochip4 (gpio4)
[    0.116208] cryptd: max_cpu_qlen set to 1000
[    0.117591] fiq debugger fiq mode enabled
[    0.118486] console enabled
[    0.119175] bootconsole disabled
[    0.119887] Registered fiq debugger ttyFIQ0
[    0.120545] rockchip-pm rockchip-suspend: not set pwm-regulator-config
[    0.121917] of_get_named_gpiod_flags: parsed 'gpio' property of node '/lcd-n' - status (0)
[    0.122486] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vccsys'
[    0.123010] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc-4g' - status (0)
[    0.123568] of_get_named_gpiod_flags: parsed 'gpio' property of node '/vcc5v0-usb2-host-regulator' - status (0)
[    0.124137] of_get_named_gpiod_flags: parsed 'gpio' property of node '/otg-vbus-regulator' - status (0)
[    0.124672] of_get_named_gpiod_flags: parsed 'gpio' property of node '/gpio-fan' - status (0)
[    0.125161] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vdd-logic'
[    0.126242] rk_iommu ffb00f00.iommu: version = 1
[    0.126965] rk_iommu ffb20800.iommu: version = 1
[    0.127468] rk_iommu ffb51a00.iommu: version = 1
[    0.127923] rk_iommu ffb60e00.iommu: version = 1
[    0.128490] rk_iommu ffb80480.iommu: version = 1
[    0.128974] rk_iommu ffb90800.iommu: version = 1
[    0.129394] rk_iommu ffbb0f00.iommu: version = 1
[    0.130394] SCSI subsystem initialized
[    0.130740] usbcore: registered new interface driver usbfs
[    0.130849] usbcore: registered new interface driver hub
[    0.130984] usbcore: registered new device driver usb
[    0.131098] media: Linux media interface: v0.10
[    0.131169] videodev: Linux video capture interface: v2.00
[    0.131238] pps_core: LinuxPPS API ver. 1 registered
[    0.131261] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.131305] PTP clock support registered
[    0.132901] Advanced Linux Sound Architecture Driver Initialized.
[    0.133602] Bluetooth: Core ver 2.22
[    0.133699] NET: Registered protocol family 31
[    0.133724] Bluetooth: HCI device and connection manager initialized
[    0.133755] Bluetooth: HCI socket layer initialized
[    0.133781] Bluetooth: L2CAP socket layer initialized
[    0.133844] Bluetooth: SCO socket layer initialized
[    0.134381] rockchip-cpuinfo cpuinfo: SoC            : 11260000
[    0.134420] rockchip-cpuinfo cpuinfo: Serial         : e6a3a37512dc2a6f
[    0.135703] clocksource: Switched to clocksource arch_sys_counter
[    0.138282] NET: Registered protocol family 2
[    0.139277] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.139341] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.139498] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.139702] TCP: Hash tables configured (established 8192 bind 8192)
[    0.139876] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.139949] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.140218] NET: Registered protocol family 1
[    0.142330] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.145048] Initialise system trusted keyrings
[    0.145363] workingset: timestamp_bits=29 max_order=18 bucket_order=0
[    0.152927] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.155804] Key type asymmetric registered
[    0.155846] Asymmetric key parser 'x509' registered
[    0.155936] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 244)
[    0.155957] io scheduler noop registered
[    0.155980] io scheduler deadline registered
[    0.156169] io scheduler cfq registered (default)
[    0.156192] io scheduler mq-deadline registered
[    0.156208] io scheduler kyber registered
[    0.156384] io scheduler bfq registered
[    0.159634] rockchip-usb2phy-naneng ff4c0000.usb2-phy: GPIO lookup for consumer vup
[    0.159648] rockchip-usb2phy-naneng ff4c0000.usb2-phy: using device tree for GPIO lookup
[    0.159677] of_get_named_gpiod_flags: can't parse 'vup-gpios' property of node '/usb2-phy@ff4c0000'
[    0.159697] of_get_named_gpiod_flags: can't parse 'vup-gpio' property of node '/usb2-phy@ff4c0000'
[    0.159710] rockchip-usb2phy-naneng ff4c0000.usb2-phy: using lookup tables for GPIO lookup
[    0.159720] rockchip-usb2phy-naneng ff4c0000.usb2-phy: No GPIO consumer vup found
[    0.160671] phy phy-ff4c0000.usb2-phy.1: Linked as a consumer to regulator.5
[    0.162687] rockchip-usb2phy-naneng ff4c8000.usb2-phy: GPIO lookup for consumer vup
[    0.162701] rockchip-usb2phy-naneng ff4c8000.usb2-phy: using device tree for GPIO lookup
[    0.162730] of_get_named_gpiod_flags: can't parse 'vup-gpios' property of node '/usb2-phy@ff4c8000'
[    0.162750] of_get_named_gpiod_flags: can't parse 'vup-gpio' property of node '/usb2-phy@ff4c8000'
[    0.162763] rockchip-usb2phy-naneng ff4c8000.usb2-phy: using lookup tables for GPIO lookup
[    0.162774] rockchip-usb2phy-naneng ff4c8000.usb2-phy: No GPIO consumer vup found
[    0.162943] phy phy-ff4c8000.usb2-phy.2: Linked as a consumer to regulator.4
[    0.167042] pwm-backlight backlight: GPIO lookup for consumer enable
[    0.167056] pwm-backlight backlight: using device tree for GPIO lookup
[    0.167099] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/backlight' - status (0)
[    0.167126] gpio gpiochip1: Persistence not supported for GPIO 3
[    0.167130] no flags found for enable
[    0.167173] pwm-backlight backlight: backlight supply power not found, using dummy regulator
[    0.167340] pwm-backlight backlight: Linked as a consumer to regulator.0
[    0.167760] mpp_service mpp-srv: 92c80ddf68f6 author: Yandong Lin 2021-08-10 video: rockchip: mpp: workaround patch for rv1126 iommu issue
[    0.167796] mpp_service mpp-srv: probe start
[    0.168797] iommu: Adding device ffb80000.rkvdec to group 4
[    0.168858] mpp_rkvdec ffb80000.rkvdec: Linked as a consumer to ffb80480.iommu
[    0.169119] mpp_rkvdec ffb80000.rkvdec: probing start
[    0.169815] mpp_rkvdec ffb80000.rkvdec: shared_niu_a is not found!
[    0.169853] rkvdec_init:1190: No niu aclk reset resource define
[    0.169881] mpp_rkvdec ffb80000.rkvdec: shared_niu_h is not found!
[    0.169902] rkvdec_init:1193: No niu hclk reset resource define
[    0.170221] mpp_rkvdec ffb80000.rkvdec: probing finish
[    0.171049] iommu: Adding device ffbb0000.rkvenc to group 6
[    0.171113] mpp_rkvenc ffbb0000.rkvenc: Linked as a consumer to ffbb0f00.iommu
[    0.171455] mpp_rkvenc ffbb0000.rkvenc: probing start
[    0.172078] mpp_rkvenc ffbb0000.rkvenc: venc regulator not ready, retry
[    0.172113] rkvenc_init:1202: failed to add venc devfreq
[    0.173407] iommu: Adding device ffb90400.vdpu to group 5
[    0.173474] mpp_vdpu2 ffb90400.vdpu: Linked as a consumer to ffb90800.iommu
[    0.173584] mpp_vdpu2 ffb90400.vdpu: probe device
[    0.174157] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0
[    0.174211] mpp_vdpu2 ffb90400.vdpu: reset_group->rw_sem_on=0
[    0.174484] mpp_vdpu2 ffb90400.vdpu: probing finish
[    0.175144] iommu: Adding device ffb90000.vepu to group 5
[    0.175202] mpp_vepu2 ffb90000.vepu: Linked as a consumer to ffb90800.iommu
[    0.175355] mpp_vepu2 ffb90000.vepu: probe device
[    0.175933] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0
[    0.175979] mpp_vepu2 ffb90000.vepu: reset_group->rw_sem_on=0
[    0.176238] mpp_vepu2 ffb90000.vepu: probing finish
[    0.176811] iommu: Adding device ffb20000.iep to group 1
[    0.176874] mpp-iep2 ffb20000.iep: Linked as a consumer to ffb20800.iommu
[    0.177003] mpp-iep2 ffb20000.iep: probe device
[    0.177749] mpp-iep2 ffb20000.iep: allocate roi buffer failed
[    0.177972] mpp-iep2 ffb20000.iep: probing finish
[    0.178287] mpp_service mpp-srv: probe success
[    0.183775] dma-pl330 ff4e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.183825] dma-pl330 ff4e0000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16
[    0.185949] rockchip-system-monitor rockchip-system-monitor: system monitor probe
[    0.186900] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    0.187834] ff410000.serial: ttyS1 at MMIO 0xff410000 (irq = 30, base_baud = 1500000) is a 16550A
[    0.188658] ff560000.serial: ttyS0 at MMIO 0xff560000 (irq = 33, base_baud = 1500000) is a 16550A
[    0.189553] ff580000.serial: ttyS3 at MMIO 0xff580000 (irq = 34, base_baud = 1500000) is a 16550A
[    0.191769] random: fast init done
[    0.192175] random: crng init done
[    0.192675] iommu: Adding device ffb00000.vop to group 0
[    0.192740] rockchip-vop ffb00000.vop: Linked as a consumer to ffb00f00.iommu
[    0.210709] loop: module loaded
[    0.211462] zram: Added device: zram0
[    0.214083] mdio_bus fixed-0: GPIO lookup for consumer reset
[    0.214097] mdio_bus fixed-0: using lookup tables for GPIO lookup
[    0.214108] mdio_bus fixed-0: No GPIO consumer reset found
[    0.214146] libphy: Fixed MDIO Bus: probed
[    0.216269] rk_gmac-dwmac ffc40000.ethernet: no regulator found
[    0.216323] rk_gmac-dwmac ffc40000.ethernet: clock input or output? (output).
[    0.216346] rk_gmac-dwmac ffc40000.ethernet: TX delay(0x2a).
[    0.216374] rk_gmac-dwmac ffc40000.ethernet: RX delay(0x1a).
[    0.216404] rk_gmac-dwmac ffc40000.ethernet: integrated PHY? (no).
[    0.221510] rk_gmac-dwmac ffc40000.ethernet: init for RGMII
[    0.221891] rk_gmac-dwmac ffc40000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[    0.221929] rk_gmac-dwmac ffc40000.ethernet:         DWMAC4/5
[    0.221956] rk_gmac-dwmac ffc40000.ethernet: DMA HW capability register supported
[    0.221981] rk_gmac-dwmac ffc40000.ethernet: RX Checksum Offload Engine supported
[    0.222004] rk_gmac-dwmac ffc40000.ethernet: TX Checksum insertion supported
[    0.222026] rk_gmac-dwmac ffc40000.ethernet: Wake-Up On Lan supported
[    0.222093] rk_gmac-dwmac ffc40000.ethernet: TSO supported
[    0.222120] rk_gmac-dwmac ffc40000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.222146] rk_gmac-dwmac ffc40000.ethernet: TSO feature enabled
[    0.222332] mdio_bus stmmac-0: GPIO lookup for consumer reset
[    0.222341] mdio_bus stmmac-0: using device tree for GPIO lookup
[    0.222409] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@ffc40000/mdio'
[    0.222429] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/ethernet@ffc40000/mdio'
[    0.222443] mdio_bus stmmac-0: using lookup tables for GPIO lookup
[    0.222453] mdio_bus stmmac-0: No GPIO consumer reset found
[    0.222491] of_get_named_gpiod_flags: parsed 'snps,reset-gpio' property of node '/ethernet@ffc40000' - status (0)
[    0.359098] libphy: stmmac: probed
[    0.359882] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ethernet@ffc40000/mdio/phy@0'
[    0.361160] PPP generic driver version 2.4.2
[    0.361471] PPP BSD Compression module registered
[    0.361501] PPP Deflate Compression module registered
[    0.361544] PPP MPPE Compression module registered
[    0.361568] NET: Registered protocol family 24
[    0.361710] usbcore: registered new interface driver r8152
[    0.361795] usbcore: registered new interface driver asix
[    0.361885] usbcore: registered new interface driver ax88179_178a
[    0.361967] usbcore: registered new interface driver cdc_ether
[    0.362051] usbcore: registered new interface driver net1080
[    0.362125] usbcore: registered new interface driver cdc_subset
[    0.362196] usbcore: registered new interface driver zaurus
[    0.362287] usbcore: registered new interface driver cdc_ncm
[    0.362458] usbcore: registered new interface driver qmi_wwan
[    0.364359] dwc3 ffd00000.dwc3: Failed to get clk 'ref': -2
[    0.370954] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.371006] ehci-platform: EHCI generic platform driver
[    0.374660] ehci-platform ffe00000.usb: EHCI Host Controller
[    0.374752] ehci-platform ffe00000.usb: new USB bus registered, assigned bus number 1
[    0.374948] ehci-platform ffe00000.usb: irq 67, io mem 0xffe00000
[    0.385776] ehci-platform ffe00000.usb: USB 2.0 started, EHCI 1.00
[    0.386126] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[    0.386160] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.386185] usb usb1: Product: EHCI Host Controller
[    0.386209] usb usb1: Manufacturer: Linux 4.19.111 ehci_hcd
[    0.386232] usb usb1: SerialNumber: ffe00000.usb
[    0.387071] hub 1-0:1.0: USB hub found
[    0.387157] hub 1-0:1.0: 1 port detected
[    0.387157] hub 1-0:1.0: 1 port detected
[    0.387959] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.388018] ohci-platform: OHCI generic platform driver
[    0.388675] ohci-platform ffe10000.usb: Generic Platform OHCI controller
[    0.388748] ohci-platform ffe10000.usb: new USB bus registered, assigned bus number 2
[    0.388954] ohci-platform ffe10000.usb: irq 68, io mem 0xffe10000
[    0.446747] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 4.19
[    0.446801] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.446821] usb usb2: Product: Generic Platform OHCI controller
[    0.446866] usb usb2: Manufacturer: Linux 4.19.111 ohci_hcd
[    0.446886] usb usb2: SerialNumber: ffe10000.usb
[    0.447736] hub 2-0:1.0: USB hub found
[    0.447819] hub 2-0:1.0: 1 port detected
[    0.449636] usbcore: registered new interface driver cdc_wdm
[    0.449801] usbcore: registered new interface driver usb-storage
[    0.449974] usbcore: registered new interface driver option
[    0.450049] usbserial: USB Serial support registered for GSM modem (1-port)
[    0.451174] i2c /dev entries driver
[    0.453240] rk808 0-0020: chip id: 0x8090
[    0.453357] rk808 0-0020: No cache defaults, reading back from HW
[    0.459803] rk808 0-0020: source: on=0x40, off=0x00
[    0.459855] rk808 0-0020: support dcdc3 fb mode:-22, -1329954244
[    0.459879] rk808 0-0020: support pmic reset mode:0,0
[    0.460530] gpiochip_find_base: found new base at 511
[    0.460787] gpio gpiochip5: (rk817-gpio): added GPIO chardev (254:5)
[    0.460923] gpiochip_setup_dev: registered GPIOs 511 to 511 on device: gpiochip5 (rk817-gpio)
[    0.461070] gpio gpiochip5: (rk817-gpio): created GPIO range 0->0 ==> rk805-pinctrl PIN 0->0
[    0.464328] rk808 0-0020: GPIO lookup for consumer dvs
[    0.464341] rk808 0-0020: using device tree for GPIO lookup
[    0.464374] of_get_named_gpiod_flags: can't parse 'dvs-gpios' property of node '/i2c@ff3f0000/pmic@20'
[    0.464395] of_get_named_gpiod_flags: can't parse 'dvs-gpio' property of node '/i2c@ff3f0000/pmic@20'
[    0.464410] rk808 0-0020: using lookup tables for GPIO lookup
[    0.464419] rk808 0-0020: No GPIO consumer dvs found
[    0.464431] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    0.464491] rk808 0-0020: GPIO lookup for consumer dvs
[    0.464499] rk808 0-0020: using device tree for GPIO lookup
[    0.464522] of_get_named_gpiod_flags: can't parse 'dvs-gpios' property of node '/i2c@ff3f0000/pmic@20'
[    0.464542] of_get_named_gpiod_flags: can't parse 'dvs-gpio' property of node '/i2c@ff3f0000/pmic@20'
[    0.464552] rk808 0-0020: using lookup tables for GPIO lookup
[    0.464561] rk808 0-0020: No GPIO consumer dvs found
[    0.464571] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    0.464685] DCDC_REG1: supplied by vcc5v0_sys
[    0.465429] DCDC_REG2: supplied by vcc5v0_sys
[    0.466149] DCDC_REG3: supplied by vcc5v0_sys
[    0.466658] DCDC_REG4: supplied by vcc5v0_sys
[    0.467192] DCDC_REG5: supplied by vcc5v0_sys
[    0.467863] LDO_REG1: supplied by vcc_buck5
[    0.468508] LDO_REG2: supplied by vcc_buck5
[    0.469074] LDO_REG3: supplied by vcc_buck5
[    0.469603] LDO_REG4: supplied by vcc_buck5
[    0.470115] LDO_REG5: supplied by vcc_buck5
[    0.470630] LDO_REG6: supplied by vcc_buck5
[    0.470714] vcc_dvdd: Bringing 1100000uV into 1200000-1200000uV
[    0.471316] LDO_REG7: supplied by vcc5v0_sys
[    0.471844] LDO_REG8: supplied by vcc5v0_sys
[    0.472548] LDO_REG9: supplied by vcc5v0_sys
[    0.473200] SWITCH_REG1: supplied by vcc5v0_sys
[    0.473674] SWITCH_REG2: supplied by vcc3v3_sys
[    0.476048] input: rk805 pwrkey as /devices/platform/ff3f0000.i2c/i2c-0/0-0020/rk805-pwrkey/input/input0
[    0.479102] rk808-rtc rk808-rtc: registered as rtc0
[    0.479703] rk808-rtc rk808-rtc: setting system clock to 2017-08-04 09:00:02 UTC (1501837202)
[    0.481874] pca953x 1-0020: GPIO lookup for consumer reset
[    0.481887] pca953x 1-0020: using device tree for GPIO lookup
[    0.481915] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/i2c@ff510000/i2c1gpio@27'
[    0.481935] of_get_named_gpiod_flags: can't parse 'reset-gpio' property of node '/i2c@ff510000/i2c1gpio@27'
[    0.481947] pca953x 1-0020: using lookup tables for GPIO lookup
[    0.481957] pca953x 1-0020: No GPIO consumer reset found
[    0.482000] pca953x 1-0020: 1-0020 supply vcc not found, using dummy regulator
[    0.482130] pca953x 1-0020: Linked as a consumer to regulator.0
[    0.482250] pca953x 1-0020: failed reading register
[    0.482391] pca953x 1-0020: Dropping the link to regulator.0
[    0.482835] rk628 1-0050: GPIO lookup for consumer enable
[    0.482845] rk628 1-0050: using device tree for GPIO lookup
[    0.482871] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/i2c@ff510000/rk628@50'
[    0.482891] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/i2c@ff510000/rk628@50'
[    0.482902] rk628 1-0050: using lookup tables for GPIO lookup
[    0.482911] rk628 1-0050: No GPIO consumer enable found
[    0.482921] rk628 1-0050: GPIO lookup for consumer reset
[    0.482929] rk628 1-0050: using device tree for GPIO lookup
[    0.482966] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff510000/rk628@50' - status (0)
[    0.482995] gpio gpiochip4: Persistence not supported for GPIO 1
[    0.528801] rk628-cru rk628-cru: DMA mask not set
[    0.572636] rk628-pinctrl rk628-pinctrl: DMA mask not set
[    0.574143] gpiochip_find_base: found new base at 499
[    0.574430] gpio gpiochip6: (rk628-gpio0): added GPIO chardev (254:6)
[    0.574558] gpiochip_setup_dev: registered GPIOs 499 to 510 on device: gpiochip6 (rk628-gpio0)
[    0.574587] gpiochip_find_base: found new base at 485
[    0.574797] gpio gpiochip7: (rk628-gpio1): added GPIO chardev (254:7)
[    0.574924] gpiochip_setup_dev: registered GPIOs 485 to 498 on device: gpiochip7 (rk628-gpio1)
[    0.574942] gpiochip_find_base: found new base at 461
[    0.575176] gpio gpiochip8: (rk628-gpio2): added GPIO chardev (254:8)
[    0.575303] gpiochip_setup_dev: registered GPIOs 461 to 484 on device: gpiochip8 (rk628-gpio2)
[    0.575322] gpiochip_find_base: found new base at 448
[    0.575530] gpio gpiochip9: (rk628-gpio3): added GPIO chardev (254:9)
[    0.575654] gpiochip_setup_dev: registered GPIOs 448 to 460 on device: gpiochip9 (rk628-gpio3)
[    0.578745] rk628-combrxphy rk628-combrxphy: DMA mask not set
[    0.579590] rk628-combtxphy rk628-combtxphy: DMA mask not set
[    0.581342] rk628-hdmirx rk628-hdmirx: DMA mask not set
[    0.581983] rk628-dsi rk628-dsi1: DMA mask not set
[    0.582691] rk628-dsi rk628-dsi0: DMA mask not set
[    0.583301] rk628-rgb rk628-rgb-tx: DMA mask not set
[    0.583893] rk628-rgb rk628-yuv-rx: DMA mask not set
[    0.584481] rk628-rgb rk628-yuv-tx: DMA mask not set
[    0.585037] rk628-rgb rk628-bt1120-rx: DMA mask not set
[    0.585605] rk628-rgb rk628-bt1120-tx: DMA mask not set
[    0.586223] rk628-lvds rk628-lvds: DMA mask not set
[    0.586854] rk628-gvi rk628-gvi: DMA mask not set
[    0.590104] rk628-hdmi rk628-hdmi: DMA mask not set
[    0.591356] rk628-post-process rk628-post-process: DMA mask not set
[    0.591861] rockchip-pinctrl pinctrl: pin gpio3-0 already requested by ff580000.serial; cannot claim for ff530000.i2c
[    0.591899] rockchip-pinctrl pinctrl: pin-96 (ff530000.i2c) status -22
[    0.591929] rockchip-pinctrl pinctrl: could not request pin 96 (gpio3-0) from group i2c4m0-xferon device rockchip-pinctrl
[    0.591954] rk3x-i2c ff530000.i2c: Error applying setting, reverse things back
[    0.591996] rk3x-i2c: probe of ff530000.i2c failed with error -22
[    0.596169] rk628-csi rk628-csi: DMA mask not set
[    0.597365] rk628-csi rk628-csi: driver version: 00.00.03
[    0.597569] rk628-csi rk628-csi: GPIO lookup for consumer power
[    0.597580] rk628-csi rk628-csi: using device tree for GPIO lookup
[    0.597615] of_get_named_gpiod_flags: can't parse 'power-gpios' property of node '/i2c@ff510000/rk628@50/csi'
[    0.597636] of_get_named_gpiod_flags: can't parse 'power-gpio' property of node '/i2c@ff510000/rk628@50/csi'
[    0.597650] rk628-csi rk628-csi: using lookup tables for GPIO lookup
[    0.597661] rk628-csi rk628-csi: No GPIO consumer power found
[    0.597671] rk628-csi rk628-csi: GPIO lookup for consumer plugin-det
[    0.597679] rk628-csi rk628-csi: using device tree for GPIO lookup
[    0.597716] of_get_named_gpiod_flags: parsed 'plugin-det-gpios' property of node '/i2c@ff510000/rk628@50/csi' - status (0)
[    0.597744] gpio gpiochip2: Persistence not supported for GPIO 2
[    0.715762] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    0.732461] rk628-csi rk628-csi: lane module is not in stop state, ret=0, val=61444
[    0.798361] Freeing initrd memory: 8948K
[    0.864275] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=60.90
[    0.864323] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    0.864343] usb 1-1: Product: USB2.0 Hub
[    0.865472] hub 1-1:1.0: USB hub found
[    0.865890] hub 1-1:1.0: 4 ports detected
[    1.145752] usb 1-1.3: new high-speed USB device number 3 using ehci-platform
[    1.243767] usb 1-1.3: New USB device found, idVendor=0bda, idProduct=8152, bcdDevice=20.00
[    1.243803] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.243823] usb 1-1.3: Product: USB 10/100 LAN
[    1.243841] usb 1-1.3: Manufacturer: Realtek
[    1.243865] usb 1-1.3: SerialNumber: 00E04CF2DBDC
[    1.325798] usb 1-1.3: reset high-speed USB device number 3 using ehci-platform
[    1.490822] r8152 1-1.3:1.0 eth1: v2.12.0 (2019/04/29)
[    1.490862] r8152 1-1.3:1.0 eth1: This product is covered by one or more of the following patents:
                        US6,570,884, US6,115,776, and US6,327,625.
[    1.599086] phy phy-ff4c0000.usb2-phy.1: charger = USB_SDP_CHARGER
[    1.906468] rk628-combrxphy rk628-combrxphy: clk det over cnt:10, reg_0x6654:0x501f0000
[    1.906816] rk628-combrxphy rk628-combrxphy: clock detected failed, cfg resistance manual!
[    1.944756] rk628-combrxphy rk628-combrxphy: err, clk not stable, reg_0x6630:0x87000d, reg_0x6608:0x110100
[    1.944790] phy phy-rk628-combrxphy.3: phy poweron failed --> -22
[    1.944808] m00_b_rk628-csi rk628-csi: hdmi rxphy power on failed
[    2.286423] m00_b_rk628-csi rk628-csi: rk628_hdmirx_phy_setup hdmi rxphy lock failed, retry:0
[    3.421949] rk628-combrxphy rk628-combrxphy: clk det over cnt:10, reg_0x6654:0x501f0000
[    3.422290] rk628-combrxphy rk628-combrxphy: clock detected failed, cfg resistance manual!
[    3.460175] rk628-combrxphy rk628-combrxphy: err, clk not stable, reg_0x6630:0x87000d, reg_0x6608:0x110100
[    3.460208] phy phy-rk628-combrxphy.3: phy poweron failed --> -22
[    3.460224] m00_b_rk628-csi rk628-csi: hdmi rxphy power on failed
[    3.801925] m00_b_rk628-csi rk628-csi: rk628_hdmirx_phy_setup hdmi rxphy lock failed, retry:1
[    4.937495] rk628-combrxphy rk628-combrxphy: clk det over cnt:10, reg_0x6654:0x80070141
[    4.937836] rk628-combrxphy rk628-combrxphy: clock detected failed, cfg resistance manual!
[    4.943342] rk628-combrxphy rk628-combrxphy: clock stable!
[    4.943684] rk628-combrxphy rk628-combrxphy: cdr_mode:7, cdr_data:321
[    4.944227] rk628-combrxphy rk628-combrxphy: cdr_mode:7, pll_man:0x7964c
[    4.949534] rk628-combrxphy rk628-combrxphy: cdr_mode:7, dc_gain:0, rd_offset:0, edge:0x25c3f8
[    5.306137] rk628-combrxphy rk628-combrxphy: last equ gain ch0:0, ch1:0, ch2:3
[    5.430451] rk628-combrxphy rk628-combrxphy: channel alignment done
[    5.430485] rk628-combrxphy rk628-combrxphy: rx initial done
[    5.457510] m00_b_rk628-csi rk628-csi: rk628_csi_format_change: New format: 1280x720p60.0 (1650x750)
[    5.487027] m00_b_rk628-csi rk628-csi: rk628 found @ 0xa0 (rk3x-i2c)
[    5.489180] rkcifhw ffae0000.rkcif: no iommu attached, using non-iommu buffers
[    5.489240] rkcifhw ffae0000.rkcif: assigned reserved memory node isp
[    5.489388] rkcif rkcif_dvp: rkcif driver version: v00.01.0a
[    5.489495] rkcif rkcif_dvp: attach to cif hw node
[    5.489527] rkcif rkcif_dvp: rkcif wait line 0
[    5.490666] rkcif_dvp: cif_subdev_notifier: no subdev be found!
[    5.490696] rkcif_dvp: Failed to register subdev notifier(-19)
[    5.491679] rkcif rkcif_dvp: detach to cif hw node
[    5.493881] iommu: Adding device ffb50000.rkisp to group 2
[    5.493944] rkisp_hw ffb50000.rkisp: Linked as a consumer to ffb51a00.iommu
[    5.494300] rkisp_hw ffb50000.rkisp: is_thunderboot: 0
[    5.494336] rkisp_hw ffb50000.rkisp: Missing rockchip,grf property
[    5.494379] rkisp_hw ffb50000.rkisp: can't request region for resource
[    5.494738] rkisp_hw ffb50000.rkisp: assigned reserved memory node isp
[    5.495065] rkisp rkisp-vir1: rkisp driver version: v01.06.02
[    5.495171] rkisp rkisp-vir1: GPIO lookup for consumer vsirq
[    5.495181] rkisp rkisp-vir1: using device tree for GPIO lookup
[    5.495207] of_get_named_gpiod_flags: can't parse 'vsirq-gpios' property of node '/rkisp-vir1'
[    5.495228] of_get_named_gpiod_flags: can't parse 'vsirq-gpio' property of node '/rkisp-vir1'
[    5.495240] rkisp rkisp-vir1: using lookup tables for GPIO lookup
[    5.495250] rkisp rkisp-vir1: No GPIO consumer vsirq found
[    5.495307] rkisp rkisp-vir1: No memory-region-thunderboot specified
[    5.495572] rkisp rkisp-vir1: Entity type for entity rkisp-isp-subdev was not initialized!
[    5.495618] rkisp rkisp-vir1: Entity type for entity rkisp-csi-subdev was not initialized!
[    5.495651] rkisp rkisp-vir1: Entity type for entity rkisp-bridge-ispp was not initialized!
[    5.499591] iommu: Adding device ffb60000.rkispp to group 3
[    5.499657] rkispp_hw ffb60000.rkispp: Linked as a consumer to ffb60e00.iommu
[    5.500116] rkispp_hw ffb60000.rkispp: max input:0x0@0fps
[    5.500165] rkispp_hw ffb60000.rkispp: can't request region for resource
[    5.500424] rkispp_hw ffb60000.rkispp: failed to get cru reset
[    5.500718] rkispp rkispp-vir0: rkispp driver version: v01.06.02
[    5.503488] usbcore: registered new interface driver uvcvideo
[    5.503522] USB Video Class driver (1.1.1)
[    5.503993] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.20
[    5.504050] rockchip-iodomain fe020000.syscon:io-domains: vccio2(3300000 uV) supplied by vccio_sd
[    5.504205] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.16
[    5.504266] rockchip-iodomain fe020000.syscon:io-domains: vccio3(1800000 uV) supplied by vcc_1v8
[    5.504401] rockchip-iodomain fe020000.syscon:io-domains: vccio4(1800000 uV) supplied by vcc_1v8
[    5.504566] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.23
[    5.504628] rockchip-iodomain fe020000.syscon:io-domains: vccio5(3300000 uV) supplied by vcc_3v3
[    5.504825] rockchip-iodomain fe020000.syscon:io-domains: vccio6(3300000 uV) supplied by vcc_3v3
[    5.504993] rockchip-iodomain fe020000.syscon:io-domains: vccio7(1800000 uV) supplied by vcc_1v8
[    5.505114] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.14
[    5.505168] rockchip-iodomain fe020000.syscon:io-domains: pmuio0(1800000 uV) supplied by vcc1v8_pmu
[    5.505336] rockchip-iodomain fe020000.syscon:io-domains: Linked as a consumer to regulator.11
[    5.505391] rockchip-iodomain fe020000.syscon:io-domains: pmuio1(3300000 uV) supplied by vcc3v3_sys
[    5.509068] rockchip-thermal ff5f0000.tsadc: tsadc trimmed value = -11
[    5.509463] rockchip-thermal ff5f0000.tsadc: tsadc is probed successfully!
[    5.509959] rockchip-thermal ff5f8000.tsadc: tsadc trimmed value = -11
[    5.510250] rockchip-thermal ff5f8000.tsadc: tsadc is probed successfully!
[    5.511454] Bluetooth: HCI UART driver ver 2.3
[    5.511486] Bluetooth: HCI UART protocol H4 registered
[    5.511842] cpu cpu0: bin=0
[    5.511902] cpu cpu0: leakage=1.375
[    5.512047] cpu cpu0: Linked as a consumer to regulator.9
[    5.523747] cpu cpu0: temp=45200, pvtm=100616 (100512 + 104)
[    5.523865] cpu cpu0: pvtm-volt-sel=1
[    5.523969] cpu cpu0: Dropping the link to regulator.9
[    5.524035] cpu cpu0: bin-scale=5
[    5.524438] cpu cpu0: Linked as a consumer to regulator.9
[    5.524524] cpu cpu0: Dropping the link to regulator.9
[    5.524764] cpu cpu0: Linked as a consumer to regulator.9
[    5.526062] cpu cpu0: avs=0
[    5.526497] energy_model: Created perf domain 0-3
[    5.526562] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[    5.526609] cpu cpu0: failed to read out thermal zone (-22)
[    5.527504] cpu cpu0: failed to find power_model node
[    5.527587] cpuidle: enable-method property 'psci' found operations
[    5.527670] cpuidle: enable-method property 'psci' found operations
[    5.527750] cpuidle: enable-method property 'psci' found operations
[    5.527816] cpuidle: enable-method property 'psci' found operations
[    5.528171] pwrseq_simple sdio-pwrseq: GPIO lookup for consumer reset
[    5.528176] pwrseq_simple sdio-pwrseq: using device tree for GPIO lookup
[    5.528198] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/sdio-pwrseq' - status (0)
[    5.528213] gpio gpiochip0: Persistence not supported for GPIO 6
[    5.528497] Synopsys Designware Multimedia Card Interface Driver
[    5.529001] dwmmc_rockchip ffc50000.dwmmc: IDMAC supports 32-bit address mode.
[    5.529126] dwmmc_rockchip ffc50000.dwmmc: Using internal DMA controller.
[    5.529184] dwmmc_rockchip ffc50000.dwmmc: Version ID is 270a
[    5.529273] dwmmc_rockchip ffc50000.dwmmc: DW MMC controller at irq 62,32 bit host data width,256 deep fifo
[    5.529366] dwmmc_rockchip ffc50000.dwmmc: GPIO lookup for consumer wp
[    5.529372] dwmmc_rockchip ffc50000.dwmmc: using device tree for GPIO lookup
[    5.529388] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc50000'
[    5.529396] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc50000'
[    5.529404] dwmmc_rockchip ffc50000.dwmmc: using lookup tables for GPIO lookup
[    5.529409] dwmmc_rockchip ffc50000.dwmmc: No GPIO consumer wp found
[    5.529437] mmc_host mmc0: card is non-removable.
[    5.542685] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.556678] dwmmc_rockchip ffc60000.dwmmc: IDMAC supports 32-bit address mode.
[    5.556761] dwmmc_rockchip ffc60000.dwmmc: Using internal DMA controller.
[    5.556791] dwmmc_rockchip ffc60000.dwmmc: Version ID is 270a
[    5.556893] dwmmc_rockchip ffc60000.dwmmc: DW MMC controller at irq 63,32 bit host data width,256 deep fifo
[    5.557136] dwmmc_rockchip ffc60000.dwmmc: Linked as a consumer to regulator.21
[    5.557258] dwmmc_rockchip ffc60000.dwmmc: Linked as a consumer to regulator.20
[    5.557339] dwmmc_rockchip ffc60000.dwmmc: GPIO lookup for consumer cd
[    5.557349] dwmmc_rockchip ffc60000.dwmmc: using device tree for GPIO lookup
[    5.557380] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/dwmmc@ffc60000'
[    5.557401] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/dwmmc@ffc60000'
[    5.557414] dwmmc_rockchip ffc60000.dwmmc: using lookup tables for GPIO lookup
[    5.557424] dwmmc_rockchip ffc60000.dwmmc: No GPIO consumer cd found
[    5.557437] dwmmc_rockchip ffc60000.dwmmc: GPIO lookup for consumer wp
[    5.557446] dwmmc_rockchip ffc60000.dwmmc: using device tree for GPIO lookup
[    5.557466] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc60000'
[    5.557485] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc60000'
[    5.557496] dwmmc_rockchip ffc60000.dwmmc: using lookup tables for GPIO lookup
[    5.557506] dwmmc_rockchip ffc60000.dwmmc: No GPIO consumer wp found
[    5.569290] mmc_host mmc2: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.583252] dwmmc_rockchip ffc70000.dwmmc: IDMAC supports 32-bit address mode.
[    5.583343] dwmmc_rockchip ffc70000.dwmmc: Using internal DMA controller.
[    5.583380] dwmmc_rockchip ffc70000.dwmmc: Version ID is 270a
[    5.583493] dwmmc_rockchip ffc70000.dwmmc: DW MMC controller at irq 64,32 bit host data width,256 deep fifo
[    5.583652] dwmmc_rockchip ffc70000.dwmmc: GPIO lookup for consumer wp
[    5.583664] dwmmc_rockchip ffc70000.dwmmc: using device tree for GPIO lookup
[    5.583699] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/dwmmc@ffc70000'
[    5.583720] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/dwmmc@ffc70000'
[    5.583736] dwmmc_rockchip ffc70000.dwmmc: using lookup tables for GPIO lookup
[    5.583747] dwmmc_rockchip ffc70000.dwmmc: No GPIO consumer wp found
[    5.583812] dwmmc_rockchip ffc70000.dwmmc: allocated mmc-pwrseq
[    5.583868] mmc_host mmc1: card is non-removable.
[    5.588581] mmc_host mmc0: Bus speed (slot 0) = 198000000Hz (slot req 200000000Hz, actual 198000000HZ div = 0)
[    5.588644] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 90
[    5.588766] mmc0: new HS200 MMC card at address 0001
[    5.590759] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    5.592094] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    5.593499] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    5.594752] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (241:0)
[    5.597073] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    5.604573]mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8
[    5.610420] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/work' - status (0)
[    5.610446] gpio gpiochip0: Persistence not supported for GPIO 4
[    5.610449] no flags found for gpios
[    5.610584] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/user' - status (0)
[    5.610598] gpio gpiochip0: Persistence not supported for GPIO 16
[    5.610602] no flags found for gpios
[    5.611058] usbcore: registered new interface driver usbkbd
[    5.611130] usbcore: registered new interface driver usbmouse
[    5.613113] rockchip-saradc ff5e0000.saradc: Linked as a consumer to regulator.16
[    5.614237] rksfc_base v1.1 2016-01-08
[    5.614840] rksfc ffc90000.sfc: rksfc_probe clk rate = 79200000
[    5.614932] rkflash_dev_init enter
[    5.614957] sfc nor id: 0 0 0
[    5.614971] rkflash is invalid
[    5.614975] rkflash_dev_init enter
[    5.614996] sfc_nand id: 0 0 0
[    5.615004] rkflash is invalid
[    5.621575] rk817-codec rk817-codec: DMA mask not set
[    5.621724] rk817_codec_parse_dt_property: rk809 have no io-channels defined
[    5.621765] of_get_named_gpiod_flags: parsed 'hp-det' property of node '/i2c@ff3f0000/pmic@20/codec' - status (0)
[    5.621789] rk817-codec rk817-codec: GPIO lookup for consumer hp-ctl
[    5.621794] rk817-codec rk817-codec: using device tree for GPIO lookup
[    5.621812] of_get_named_gpiod_flags: parsed 'hp-ctl-gpios' property of node '/i2c@ff3f0000/pmic@20/codec' - status (0)
[    5.621823] gpio gpiochip1: Persistence not supported for GPIO 23
[    5.621835] rk817-codec rk817-codec: GPIO lookup for consumer spk-ctl
[    5.621839] rk817-codec rk817-codec: using device tree for GPIO lookup
[    5.621857] of_get_named_gpiod_flags: parsed 'spk-ctl-gpios' property of node '/i2c@ff3f0000/pmic@20/codec' - status (0)
[    5.621867] gpio gpiochip3: Persistence not supported for GPIO 30
[    5.627325] NET: Registered protocol family 17
[    5.627407] NET: Registered protocol family 15
[    5.627979] Bluetooth: RFCOMM TTY layer initialized
[    5.628025] Bluetooth: RFCOMM socket layer initialized
[    5.628130] Bluetooth: RFCOMM ver 1.11
[    5.628152] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.628168] Bluetooth: HIDP socket layer initialized
[    5.628179] : Enter rfkill_rk_init
[    5.628189] : Enter rfkill_wlan_init
[    5.628498] : Enter rfkill_wlan_probe
[    5.628543] : wlan_platdata_parse_dt: wifi_chip_type = ap6236
[    5.628556] : wlan_platdata_parse_dt: enable wifi power control.
[    5.628567] : wlan_platdata_parse_dt: wifi power controled by gpio.
[    5.628589] of_get_named_gpiod_flags: can't parse 'WIFI,poweren_gpio' property of node '/wireless-wlan'
[    5.628598] of_get_named_gpiod_flags: can't parse 'WIFI,vbat_gpio' property of node '/wireless-wlan'
[    5.628606] of_get_named_gpiod_flags: can't parse 'WIFI,reset_gpio' property of node '/wireless-wlan'
[    5.628625] of_get_named_gpiod_flags: parsed 'WIFI,host_wake_irq' property of node '/wireless-wlan' - status (0)
[    5.628629] : wlan_platdata_parse_dt: WIFI,host_wake_irq = 8, flags = 0.
[    5.628658] : rfkill_wlan_probe: init gpio
[    5.628670] : Exit rfkill_wlan_probe
[    5.629180] of_get_named_gpiod_flags: parsed 'uart_rts_gpios' property of node '/wireless-bluetooth' - status (0)
[    5.629190] : bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 48.
[    5.629273] of_get_named_gpiod_flags: parsed 'BT,power_gpio' property of node '/wireless-bluetooth' - status (0)
[    5.629278] : bluetooth_platdata_parse_dt: get property: BT,power_gpio = 7.
[    5.629305] of_get_named_gpiod_flags: can't parse 'BT,reset_gpio' property of node '/wireless-bluetooth'
[    5.629315] of_get_named_gpiod_flags: can't parse 'BT,wake_gpio' property of node '/wireless-bluetooth'
[    5.629335] of_get_named_gpiod_flags: parsed 'BT,wake_host_irq' property of node '/wireless-bluetooth' - status (0)
[    5.629339] : bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 5.
[    5.629386] : bluetooth_platdata_parse_dt: clk_get failed!!!.
[    5.629476] : Request irq for bt wakeup host
[    5.629676] : ** disable irq
[    5.629805] : bt shut off power
[    5.629866] : bt_default device registered.
[    5.631449] flash vendor_init_thread!
[    5.631480] flash vendor storage:20170308 ret = -1
[    5.632317] Registering SWP/SWPB emulation handler
[    5.633352] Loading compiled-in X.509 certificates
[    5.634738] rga2: Driver loaded successfully ver:3.2.56726
[    5.635078] rga2: Module initialized.
[    5.640624] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    5.642330] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    5.644242] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    5.647147] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    5.651272] mmc1: queuing unknown CIS tuple 0x81 (9 bytes)
[    5.651563] vendor storage:20190527 ret = 0
[    5.662561] mpp_rkvenc ffbb0000.rkvenc: probing start
[    5.663586] mpp_rkvenc ffbb0000.rkvenc: Linked as a consumer to regulator.8
[    5.663663] mpp_rkvenc ffbb0000.rkvenc: bin=0
[    5.663689] mpp_rkvenc ffbb0000.rkvenc: leakage=1.375
[    5.663738] mpp_rkvenc ffbb0000.rkvenc: Failed to get pvtm
[    5.663765] mpp_rkvenc ffbb0000.rkvenc: bin-scale=37
[    5.664040] mpp_rkvenc ffbb0000.rkvenc: avs=0
[    5.664294] mpp_rkvenc ffbb0000.rkvenc: failed to find power_model node
[    5.664309] mpp_rkvenc ffbb0000.rkvenc: failed to initialize power model
[    5.664433] mpp_rkvenc ffbb0000.rkvenc: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0 h_table=0
[    5.664455] mpp_rkvenc ffbb0000.rkvenc: failed to read out thermal zone (-22)
[    5.664740] mpp_rkvenc ffbb0000.rkvenc: probing finish
[    5.665189] input: adc-keys as /devices/platform/adc-keys/input/input1
[    5.665853] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/rk809-sound'
[    5.665878] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/rk809-sound'
[    5.667821] asoc-simple-card rk809-sound: rk817-hifi <-> ff800000.i2s mapping ok
[    5.667861] asoc-simple-card rk809-sound: ASoC: no source widget found for MICBIAS1
[    5.667874] asoc-simple-card rk809-sound: ASoC: Failed to add route MICBIAS1 -> direct -> Mic Jack
[    5.667885] asoc-simple-card rk809-sound: ASoC: no sink widget found for IN1P
[    5.667893] asoc-simple-card rk809-sound: ASoC: Failed to add route Mic Jack -> direct -> IN1P
[    5.667904] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOL
[    5.667914] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOL -> direct -> Headphone Jack
[    5.667924] asoc-simple-card rk809-sound: ASoC: no source widget found for HPOR
[    5.667934] asoc-simple-card rk809-sound: ASoC: Failed to add route HPOR -> direct -> Headphone Jack
[    5.668444] input: rockchip,rk809-codec Headphone Jack as /devices/platform/rk809-sound/sound/card0/input2
[    5.670937] dhd_module_init: in Dongle Host Driver, version 1.579.77.41.22 (r-20191105-2)(20191120-1)
[    5.670970] ======== dhd_wlan_init_plat_data ========
[    5.670982] : rockchip_wifi_get_oob_irq: Enter
[    5.671050] dhd_wlan_init_gpio: WL_HOST_WAKE=-1, oob_irq=122, oob_irq_flags=0x414
[    5.671063] dhd_wlan_init_gpio: WL_REG_ON=-1
[    5.671073] dhd_wifi_platform_load: Enter
[    5.671084] Power-up adapter 'DHD generic adapter'
[    5.671123] wifi_platform_set_power = 1
[    5.671135] ======== PULL WL_REG_ON(-1) HIGH! ========
[    5.671145] : rockchip_wifi_power: 1
[    5.671157] : wifi turn on power
[    5.671265] ==gsl_ts_init==
[    5.671316] ret=0
[    5.671999] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    5.681330] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    5.681785] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    5.681802] cfg80211: failed to load regulatory.db
[    5.691359] rkisp rkisp-vir1: clear unready subdev num: 1
[    5.691790] rkisp0: update sensor failed
[    5.746055] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    5.747839] mmc1: new high speed SDIO card at address 0001
[    5.789697] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 270
[    5.792017] dwmmc_rockchip ffc50000.dwmmc: Successfully tuned phase to 90
[    5.794053] ret 1024 0
[    5.795256] ALSA device list:
[    5.795334]   #0: rockchip,rk809-codec
[    5.795349]   #7: Loopback 1
[    5.797480] Freeing unused kernel memory: 1024K
[    5.797937] Run /init as init process
[    5.975729] wifi_platform_bus_enumerate device present 1
[    5.975758] ======== Card detection to detect SDIO card! ========
[    5.975767] mmc1:mmc host rescan start!
[    5.991940] bcmsdh_register: register client driver
[    5.992254] bcmsdh_sdmmc_probe: Enter num=1
[    5.992935] bcmsdh_sdmmc_probe: Enter num=2
[    5.992959] bus num (host idx)=1, slot num (rca)=1
[    5.992968] found adapter info 'DHD generic adapter'
[    5.993052] sdioh_attach: set sd_f2_blocksize 256
[    5.993110] sdioh_attach: sd clock rate = 0
[    5.993643] dhdsdio_probe : no mutex held. set lock
[    5.993781] F1 signature read @0x18000000=0x1542a9a6
[    5.999503] F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x2 pkg:0x4
[    6.001602] DHD: dongle ram size is set to 524288(orig 524288) at 0x0
[    6.001791] dhd_conf_set_chiprev : chip=0xa9a6, chiprev=2
[    6.001966] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211
[    6.002398] CFG80211-ERROR) wl_setup_wiphy : SAE support
[    6.002644] CFG80211-ERROR) wl_init_prof : wl_init_prof: No profile
[    6.003289] dhd_attach(): thread:dhd_watchdog_thread:7b started
[    6.003418] dhd_attach(): thread:dhd_dpc:7c started
[    6.003551] dhd_attach(): thread:dhd_rxf:7d started
[    6.003576] dhd_deferred_work_init: work queue initialized
[    6.003591] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -> mode 2
[    6.003632] dhd_bus_set_default_min_res_mask: Unhandled chip id
[    6.003948] sdioh_cis_read: func_cis_ptr=0x1070
[    6.012445] Dongle Host Driver, version 1.579.77.41.22 (r-20191105-2)(20191120-1)
[    6.013077] Register interface MAC: 70:4a:0e:5f:9e:ae
[    6.013148] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -> mode 0
[    6.013170] dhd_wl_ioctl: returning as busstate=0
[    6.013183] dhd_dbg_detach_pkt_monitor, 2204
[    6.013194] dhd_bus_devreset: == Power OFF ==
[    6.013443] bcmsdh_oob_intr_unregister: Enter
[    6.013455] bcmsdh_oob_intr_unregister: irq is not registered
[    6.013466] dhd_txglom_enable: enable 0
[    6.013472] dhd_bus_devreset:WLAN OFF DONE
[    6.013515] wifi_platform_set_power = 0
[    6.013530] ======== PULL WL_REG_ON(-1) LOW! ========
[    6.013542] : rockchip_wifi_power: 0
[    6.013562] : wifi shut off power
[    6.013574] dhdsdio_probe : the lock is released.
[    6.013965] dhd_module_init: Exit err=0
[    6.510926] m00_b_rk628-csi rk628-csi: rk628_csi_delayed_work_audio: HDMI_RX_AUD_FIFO_ISTS:0x1f, underflow or overflow
[    8.371004] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[    8.511116] EXT4-fs (mmcblk0p8): warning: mounting unchecked fs, running e2fsck is recommended
[    8.515146] EXT4-fs (mmcblk0p8): mounted filesystem without journal. Opts: (null)
[    8.534387] EXT4-fs error (device mmcblk0p8): ext4_mb_generate_buddy:747: group 548, block bitmap and bg descriptor inconsistent: 7788 vs 7790 free clusters
[    8.534474] EXT4-fs error (device mmcblk0p8): ext4_mb_generate_buddy:747: group 549, block bitmap and bg descriptor inconsistent: 7864 vs 7866 free clusters
[    8.535019] EXT4-fs error (device mmcblk0p8): ext4_mb_generate_buddy:747: group 550, block bitmap and bg descriptor inconsistent: 7902 vs 7904 free clusters
[    8.535062] EXT4-fs error (device mmcblk0p8): ext4_mb_generate_buddy:747: group 551, block bitmap and bg descriptor inconsistent: 7847 vs 7849 free clusters
[    8.855991] systemd: System time before build time, advancing clock.
[    8.864425] systemd: Failed to lookup module alias 'autofs4': Function not implemented
[    8.880368] systemd: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[    8.881638] systemd: Detected architecture arm.
[    8.887294] systemd: Set hostname to <firefly>.
[    9.051595] systemd: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[    9.051642] systemd: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[    9.348561] systemd: Listening on Journal Socket (/dev/log).
[    9.349852] systemd: Listening on initctl Compatibility Named Pipe.
[    9.351034] systemd: Listening on udev Control Socket.
[    9.351271] systemd: Condition check resulted in Arbitrary Executable File Formats File System Automount Point being skipped.
[    9.351990] systemd: Created slice system-serial\x2dgetty.slice.
[    9.836495] systemd-journald: Received request to flush runtime journal from PID 1
[   10.296770] galcore: loading out-of-tree module taints kernel.
[   10.340759] r8152 1-1.3:1.0 enx00e04cf2dbdc: renamed from eth1
[   10.343743] galcore: npu init.
[   10.344783] galcore: start npu probe.
[   10.344991] galcore ffbc0000.npu: Linked as a consumer to regulator.8
[   10.376011] npu: platform_get_irq irq = 66
[   10.376059] Galcore version 6.4.3.5.293908


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

[    5.457510] m00_b_rk628-csi rk628-csi: rk628_csi_format_change: New format: 1280x720p60.0 (1650x750)


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

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

Media device information
------------------------
driver          rkisp
model         rkisp0
serial
bus info
hw revision   0x0
driver version4.19.111

Device topology
- entity 1: rkisp-isp-subdev (4 pads, 9 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev1
      pad0: Sink
                [fmt:SBGGR10_1X10/800x600 field:none
               crop.bounds:(0,0)/800x600
               crop:(0,0)/800x600]
                <- "rkisp_rawrd0_m":0 []
                <- "rkisp_rawrd2_s":0 []
                <- "rkisp_rawrd1_l":0 []
      pad1: Sink
                <- "rkisp-input-params":0
      pad2: Source
                [fmt:YUYV8_2X8/800x600 field:none colorspace:smpte170m quantization:full-range
               crop.bounds:(0,0)/800x600
               crop:(0,0)/800x600]
                -> "rkisp-bridge-ispp":0
                -> "rkisp_mainpath":0 []
                -> "rkisp_selfpath":0
      pad3: Source
                -> "rkisp-statistics":0
                -> "rkisp-mipi-luma":0

- entity 6: rkisp-csi-subdev (6 pads, 4 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev2
      pad0: Sink
      pad1: Source
      pad2: Source
                -> "rkisp_rawwr0":0
      pad3: Source
                -> "rkisp_rawwr1":0
      pad4: Source
                -> "rkisp_rawwr2":0
      pad5: Source
                -> "rkisp_rawwr3":0

- entity 13: rkisp-bridge-ispp (1 pad, 1 link)
             type V4L2 subdev subtype Unknown flags 0
      pad0: Sink
                <- "rkisp-isp-subdev":2

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

- entity 23: rkisp_selfpath (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video1
      pad0: Sink
                <- "rkisp-isp-subdev":2

- entity 29: rkisp_rawwr0 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video2
      pad0: Sink
                <- "rkisp-csi-subdev":2

- entity 35: rkisp_rawwr1 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video3
      pad0: Sink
                <- "rkisp-csi-subdev":3

- entity 41: rkisp_rawwr2 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video4
      pad0: Sink
                <- "rkisp-csi-subdev":4

- entity 47: rkisp_rawwr3 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video5
      pad0: Sink
                <- "rkisp-csi-subdev":5

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

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

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

- entity 71: rkisp-statistics (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video9
      pad0: Sink
                <- "rkisp-isp-subdev":3

- entity 77: rkisp-input-params (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video10
      pad0: Source
                -> "rkisp-isp-subdev":1

- entity 83: rkisp-mipi-luma (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video11
      pad0: Sink
                <- "rkisp-isp-subdev":3
media-ctl -d /dev/media1 -p
Media controller API version 4.19.111

Media device information
------------------------
driver          rkispp
model         rkispp0
serial
bus info
hw revision   0x0
driver version4.19.111

Device topology
- entity 1: rkispp_input_image (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video12
      pad0: Source
                -> "rkispp-subdev":0

- entity 5: rkispp_m_bypass (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video13
      pad0: Sink
                <- "rkispp-subdev":2

- entity 9: rkispp_scale0 (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video14
      pad0: Sink
                <- "rkispp-subdev":2

- entity 13: rkispp_scale1 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video15
      pad0: Sink
                <- "rkispp-subdev":2

- entity 17: rkispp_scale2 (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video16
      pad0: Sink
                <- "rkispp-subdev":2

- entity 21: rkispp_iqtool (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video17
      pad0: Sink
                <- "rkispp-subdev":2

- entity 25: rkispp_input_params (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video18
      pad0: Source
                -> "rkispp-subdev":1

- entity 29: rkispp-stats (1 pad, 1 link)
             type Node subtype V4L flags 0
             device node name /dev/video19
      pad0: Sink
                <- "rkispp-subdev":3

- entity 33: rkispp-subdev (4 pads, 8 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev0
      pad0: Sink
                [fmt:unknown/0x0
               crop.bounds:(0,0)/0x0
               crop:(0,0)/0x0
               compose.bounds:(0,0)/0x0
               compose:(0,0)/0x0]
                <- "rkispp_input_image":0
      pad1: Sink
                <- "rkispp_input_params":0
      pad2: Source
               
                -> "rkispp_m_bypass":0
                -> "rkispp_scale0":0
                -> "rkispp_scale1":0
                -> "rkispp_scale2":0
                -> "rkispp_iqtool":0
      pad3: Source
                -> "rkispp-stats":0


目前感觉和这个报错有关

[    0.732461] rk628-csi rk628-csi: lane module is not in stop state, ret=0, val=61444

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

static int mipi_dphy_reset(struct rk628_csi *csi)
{
      u32 val, mask;
      int ret;

      mipi_dphy_enableclk_deassert(csi);
      mipi_dphy_shutdownz_assert(csi);
      mipi_dphy_rstz_assert(csi);
      testif_testclr_assert(csi);

      /* Set all REQUEST inputs to zero */
      regmap_update_bits(csi->grf, GRF_MIPI_TX0_CON,
                     FORCETXSTOPMODE_MASK | FORCERXMODE_MASK,
                     FORCETXSTOPMODE(0) | FORCERXMODE(0));
      udelay(1);
      testif_testclr_deassert(csi);
      mipi_dphy_enableclk_assert(csi);
      mipi_dphy_shutdownz_deassert(csi);
      mipi_dphy_rstz_deassert(csi);
      usleep_range(1500, 2000);

      mask = STOPSTATE_CLK | STOPSTATE_LANE0;
      ret = regmap_read_poll_timeout(csi->csi_regmap, CSITX_CSITX_STATUS1,
                                       val, (val & mask) == mask,
                                       0, 1000);
      if (ret < 0) {
                int ___ret;
                ___ret = regmap_read(csi->csi_regmap, CSITX_CSITX_STATUS1, &val);
                dev_err(csi->dev, "lane module is not in stop state, ret=%d, val=%u\n", ___ret, val);
                return ret;
      }

      return 0;
}


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

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

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

msmmbl 发表于 2023-9-17 23:29:40

研究了一周后突然发现dts文件中rkisp_vir1没连到rkispp,现在有图象了。
唉,感觉搞硬件的壁垒比软件高多了。
页: [1]
查看完整版本: 求助RK628做HDMI IN没有生成subdev