SoC Camera kernel driver: On CSI stream restart, V4L2 API don't recover

Hi support,

We have integrated a driver for tc358743 chip (HDMI 2 CSI bridge).
This driver is using the Nvida kernel API, the soc_camera API:

soc_camera_power_on(&client->dev, scsd);

When we load the driver tc358743 and launch our V4L2 program, the CSI synchronisation suceed (The HDMI source is a computer).

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.40-gafe5771-dirty (qualistream@qse-test-1) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #44 SMP PREEMPT Thu Dec 8 09:39:38 CET 2016
[    0.000000] CPU: ARMv7 Processor [413fc0f3] revision 3 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine: jetson-tk1, model: NVIDIA Tegra124 PM375, serial: 0
[    0.000000] Truncating memory at 0x80000000 to fit in 32-bit physical address space
[    0.000000] Found tsec, start=0xf4900000 size=2000000
[    0.000000] Tegra reserved memory:
[    0.000000] LP0:                    f46ff000 - f46ff80f
[    0.000000] Bootloader framebuffer: 00000000 - 00000000
[    0.000000] Bootloader framebuffer2: 00000000 - 00000000
[    0.000000] Framebuffer:            f8500000 - f96fffff
[    0.000000] 2nd Framebuffer:        f9700000 - fdefffff
[    0.000000] Carveout:               00000000 - 00000000
[    0.000000] Vpr:                    00000000 - 00000000
[    0.000000] Tsec:                   f4900000 - f68fffff
[    0.000000] cma: CMA: reserved 16 MiB at 9e000000
[    0.000000] Memory policy: ECC disabled, Data cache writealloc
[    0.000000] On node 0 totalpages: 492288
[    0.000000] free_area_init_node: node 0, pgdat c0cfc300, node_mem_map c0e09000
[    0.000000]   Normal zone: 992 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 126976 pages, LIFO batch:31
[    0.000000]   HighMem zone: 3038 pages used for memmap
[    0.000000]   HighMem zone: 365312 pages, LIFO batch:31
[    0.000000] DTS File Name: arch/arm/boot/dts/tegra124-jetson_tk1-pm375-000-c00-00.dts
[    0.000000] Tegra12: CPU Speedo value 2292, Soc Speedo value 2287, Gpu Speedo value 2120
[    0.000000] Tegra12: CPU Speedo ID 1, Soc Speedo ID 1, Gpu Speedo ID 1
[    0.000000] Tegra12: CPU Process ID 1,Soc Process ID 1,Gpu Process ID 1
[    0.000000] Tegra Revision: A01 SKU: 0x81 CPU Process: 1 Core Process: 1
[    0.000000] tegra: PLLP fixed rate: 408000000
[    0.000000] tegra_clk_shared_bus_user_init: c2bus client se left ON
[    0.000000] tegra_clk_shared_bus_user_init: c4bus client vi left ON
[    0.000000] Lowering cpu_lp maximum rate from 1350000000 to 1092000000
[    0.000000] Lowering sbus maximum rate from 420000000 to 384000000
[    0.000000] Lowering vic03 maximum rate from 900000000 to 828000000
[    0.000000] Lowering tsec maximum rate from 900000000 to 828000000
[    0.000000] Lowering msenc maximum rate from 600000000 to 528000000
[    0.000000] Lowering se maximum rate from 600000000 to 528000000
[    0.000000] Lowering vde maximum rate from 600000000 to 528000000
[    0.000000] Lowering host1x maximum rate from 500000000 to 444000000
[    0.000000] Lowering vi maximum rate from 700000000 to 600000000
[    0.000000] Lowering isp maximum rate from 700000000 to 600000000
[    0.000000] Lowering c4bus maximum rate from 700000000 to 600000000
[    0.000000] Lowering pll_c maximum rate from 1400000000 to 1066000000
[    0.000000] Lowering pll_c2 maximum rate from 1200000000 to 1066000000
[    0.000000] Lowering pll_c3 maximum rate from 1200000000 to 1066000000
[    0.000000] Lowering hdmi maximum rate from 594000000 to 297000000
[    0.000000] Lowering sdmmc1 maximum rate from 208000000 to 204000000
[    0.000000] Lowering sdmmc3 maximum rate from 208000000 to 204000000
[    0.000000] Lowering gbus maximum rate from 1032000000 to 852000000
[    0.000000] Lowering cpu_g maximum rate from 3000000000 to 2320500000
[    0.000000] tegra dvfs: VDD_CPU nominal 1260mV, scaling enabled
[    0.000000] tegra dvfs: VDD_CORE nominal 1150mV, scaling enabled
[    0.000000] tegra dvfs: VDD_GPU nominal 1200mV, scaling enabled
[    0.000000] Switching to timer-based delay loop
[    0.000000] ------------[ cut here ]------------
[    0.000000] WARNING: at arch/arm/mach-tegra/clock.c:969 tegra_common_init_clock+0x54/0x84()
[    0.000000] tegra: sbc1 boot rate 12000000 exceeds max rate 2000000
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 3.10.40-gafe5771-dirty #44
[    0.000000] [<c0016418>] (unwind_backtrace+0x0/0x140) from [<c0012f48>] (show_stack+0x18/0x1c)
[    0.000000] [<c0012f48>] (show_stack+0x18/0x1c) from [<c00638ec>] (warn_slowpath_common+0x54/0x70)
[    0.000000] [<c00638ec>] (warn_slowpath_common+0x54/0x70) from [<c00639b4>] (warn_slowpath_fmt+0x38/0x48)
[    0.000000] [<c00639b4>] (warn_slowpath_fmt+0x38/0x48) from [<c0b3f818>] (tegra_common_init_clock+0x54/0x84)
[    0.000000] [<c0b3f818>] (tegra_common_init_clock+0x54/0x84) from [<c0b3ef7c>] (tegra12x_init_early+0xe4/0x160)
[    0.000000] [<c0b3ef7c>] (tegra12x_init_early+0xe4/0x160) from [<c0b3a0e0>] (setup_arch+0x150/0x19c)
[    0.000000] [<c0b3a0e0>] (setup_arch+0x150/0x19c) from [<c0b37878>] (start_kernel+0x78/0x2bc)
[    0.000000] [<c0b37878>] (start_kernel+0x78/0x2bc) from [<80008074>] (0x80008074)
[    0.000000] ---[ end trace 1b75b31a2719ed1c ]---
[    0.000000] tegra_powergate_init: DONE
[    0.000000] tegra12_plle_clk_enable: pll_e is already enabled
[    0.000000] PERCPU: Embedded 9 pages/cpu @c1df1000 s15360 r8192 d13312 u36864
[    0.000000] pcpu-alloc: s15360 r8192 d13312 u36864 alloc=9*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 491296
[    0.000000] Kernel command line: console=ttyS0,115200n8 console=tty1 no_console_suspend=1 lp0_vec=2064@0xf46ff000 mem=2015M@2048M memtype=255 ddr_die=2048M@2048M section=256M pmuboard=0x0177:0x0000:0x02:0x43:0x00 tsec=32M@3913M otf_key=c75e5bb91eb3bd947560357b64422f85 usbcore.old_scheme_first=1 core_edp_mv=1150 core_edp_ma=4000 tegraid=40.1.1.0.0 debug_uartport=lsport,3 power_supply=Adapter audio_codec=rt5640 modem_id=0 android.kerneltype=normal fbcon=map:1 commchip_id=0 usb_port_owner_info=0 lane_owner_info=6 emc_max_dvfs=0 touch_id=0@0 board_info=0x0177:0x0000:0x02:0x43:0x00 root=/dev/mmcblk0p1 rw rootwait tegraboot=sdmmc gpt vmalloc=512M
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 1923MB = 1923MB total
[    0.000000] Memory: 1921404k/1921404k available, 141956k reserved, 1461244K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xdf800000 - 0xff000000   ( 504 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xdf000000   ( 496 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0b366b0   (11450 kB)
[    0.000000]       .init : 0xc0b37000 - 0xc0bb6c00   ( 511 kB)
[    0.000000]       .data : 0xc0bb8000 - 0xc0d15560   (1398 kB)
[    0.000000]        .bss : 0xc0d15560 - 0xc0db0454   ( 620 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:960
[    0.000000] the number of interrupt controllers found is 5
[    0.000000] Architected local timer running at 12.00MHz (phys).
[    0.000000] sched_clock: 56 bits at 12MHz, resolution 83ns, wraps every 2863311536128ns
[    0.000000] Ignoring duplicate/late registration of read_current_timer delay
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [tty1] enabled
[    0.004566] Calibrating delay loop (skipped), value calculated using timer frequency.. lpj=12000
[    0.004638] pid_max: default: 32768 minimum: 301
[    0.004946] Mount-cache hash table entries: 512
[    0.027441] Initializing cgroup subsys debug
[    0.027487] Initializing cgroup subsys freezer
[    0.027596] CPU: Testing write buffer coherency: ok
[    0.027671] ftrace: allocating 34472 entries in 68 pages
[    0.072690] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.072736] Setting up static identity map for 0xc08048c8 - 0xc0804974
[    0.076713] ftrace: Allocated trace_printk buffers
[    0.084361] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.087380] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.090405] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.090598] Brought up 4 CPUs
[    0.090664] SMP: Total of 4 processors activated.
[    0.090683] CPU: All CPU(s) started in SVC mode.
[    0.091659] devtmpfs: initialized
[    0.100231] pinctrl core: initialized pinctrl subsystem
[    0.100567] regulator-dummy: no parameters
[    0.101301] NET: Registered protocol family 16
[    0.103691] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.105010] tegra_smmu tegra_smmu: Loaded Tegra IOMMU driver
[    0.106489] console [pstore-1] enabled
[    0.106529] ramoops: attached 0x200000@0xf8300000, ecc: 0/0
[    0.106918] cpuidle: using governor ladder
[    0.106942] cpuidle: using governor menu
[    0.110021] Unable to clip rate for parent pll_p of clock sbc1: -22
[    0.110653] ardbeg_camera_auxdata: update camera lookup table.
[    0.119237] tegra-gpio 6000d000.gpio: Initialising GPIO state 0: name default
[    0.119636] gpiochip_add: registered GPIOs 0 to 255 on device: tegra-gpio
[    0.126493] Wake16 for irq=34
[    0.128963] Wake58 for irq=81
[    0.129013] Wake41 for irq=129
[    0.129032] Wake43 for irq=129
[    0.129095] Wake40 for irq=53
[    0.129115] Wake42 for irq=53
[    0.133179] board_info: id:sku:fab:major:minor = 0x0177:0x0000:0x43:0x44:0x00
[    0.133264] board_info: id:sku:fab:major:minor = 0x0177:0x0000:0x43:0x44:0x00
[    0.133331] disp1 pclk=154700000
[    0.133341] disp2 pclk=297000000
[    0.133350] Selecting UARTD as the debug console
[    0.133397] The debug console clock name is uartd
[    0.133817] ardbeg_modem_init: modem_id = 0
[    0.136495] Clear bootloader IO dpd settings
[    0.136733] Loading jetson TK1 EMC tables.
[    0.136983] tegra: pll_m is selected as scalable EMC clock source
[    0.137030] Lowering emc maximum rate from 1200000000 to 924000000
[    0.137060] tegra: validated EMC DFS table
[    0.137191] ardbeg_edp_init: CPU regulator 11000 mA
[    0.493630] ardbeg_edp_init: GPU regulator 11400 mA
[    0.494646] swapper/0 isomgr_init(): iso emc max clk=924000KHz
[    0.494668] swapper/0 isomgr_init(): max_iso_bw=7392000KB<6>[    0.577849] platform tegradc.0: IOVA linear map 0xf8500000(1200000)
[    0.581189] platform tegradc.0: IOVA linear map 0xf9700000(4800000)
[    0.586245] platform tegradc.1: IOVA linear map 0xf8500000(1200000)
[    0.589579] platform tegradc.1: IOVA linear map 0xf9700000(4800000)
[    0.589717] ardbeg_camera_init: QSCSI ++
[    0.589888] *** tc358743 START *** tc358743uirq_init...
[    0.589934] *** tc358743 END *** tc358743irq_init...
[    0.590162] FUSE: cp_rev 0 ft_rev 0
[    0.590336] tegra11_soctherem_oc_int_init(): OC interrupts are not enabled
[    0.590758] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.590789] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.591092] mc-err: Started MC error interface!
[    0.601639] bio: create slab <bio-0> at 0
[    0.603502] reg-fixed-voltage 0.regulator: Consumer c1 does not have device name
[    0.603540] reg-fixed-voltage 0.regulator: Consumer c2 does not have device name
[    0.603572] of_get_named_gpio_flags: can't parse gpios property
[    0.603698] vdd-ac-bat: 8400 mV 
[    0.603835] reg-fixed-voltage 1.regulator: Consumer c1 does not have device name
[    0.603871] reg-fixed-voltage 1.regulator: Consumer c2 does not have device name
[    0.603902] of_get_named_gpio_flags: can't parse gpios property
[    0.604000] vdd-3v3-aon: 3300 mV 
[    0.604149] reg-fixed-voltage 8.regulator: Consumer c1 does not have device name
[    0.604184] reg-fixed-voltage 8.regulator: Consumer c2 does not have device name
[    0.604217] reg-fixed-voltage 8.regulator: Consumer c3 does not have device name
[    0.604256] reg-fixed-voltage 8.regulator: Consumer c6 does not have device name
[    0.604289] reg-fixed-voltage 8.regulator: Consumer c7 does not have device name
[    0.604321] reg-fixed-voltage 8.regulator: Consumer c8 does not have device name
[    0.604353] reg-fixed-voltage 8.regulator: Consumer c9 does not have device name
[    0.604385] reg-fixed-voltage 8.regulator: Consumer c10 does not have device name
[    0.604419] reg-fixed-voltage 8.regulator: Consumer c11 does not have device name
[    0.604451] reg-fixed-voltage 8.regulator: Consumer c12 does not have device name
[    0.604497] of_get_named_gpio_flags: can't parse gpios property
[    0.604587] reg-3v3-supply: 3300 mV 
[    0.606210] vgaarb: loaded
[    0.606858] SCSI subsystem initialized
[    0.607053] libata version 3.00 loaded.
[    0.607233] usbcore: registered new interface driver usbfs
[    0.607298] usbcore: registered new interface driver hub
[    0.607406] usbcore: registered new device driver usb
[    0.607641] of_get_named_gpio_flags exited with status 20
[    0.607679] of_get_named_gpio_flags exited with status 21
[    0.608085] of_get_named_gpio_flags exited with status 157
[    0.608103] of_get_named_gpio_flags exited with status 158
[    0.608332] of_get_named_gpio_flags exited with status 217
[    0.608349] of_get_named_gpio_flags exited with status 218
[    0.608580] of_get_named_gpio_flags exited with status 172
[    0.608598] of_get_named_gpio_flags exited with status 173
[    0.608854] of_get_named_gpio_flags exited with status 206
[    0.608871] of_get_named_gpio_flags exited with status 207
[    0.610279] as3722 4-0040: AS3722 ID: ID1:ID2:ID3 = 0x0c:0x01:0x15
[    0.610311] as3722 4-0040: Final OTP version 1V21
[    0.614921] gpiochip_find_base: found new base at 1016
[    0.615011] gpiochip_add: registered GPIOs 1016 to 1023 on device: as3722-gpio
[    0.615048] GPIO chip as3722-gpio: created GPIO range 0->7 ==> as3722-pinctrl PIN 0->7
[    0.615214] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.615274] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.615329] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.615363] as3722-regulator as3722-regulator.0: Consumer c2 does not have device name
[    0.615397] as3722-regulator as3722-regulator.0: Consumer c3 does not have device name
[    0.615430] as3722-regulator as3722-regulator.0: Consumer c4 does not have device name
[    0.615490] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.615524] as3722-regulator as3722-regulator.0: Consumer c2 does not have device name
[    0.615557] as3722-regulator as3722-regulator.0: Consumer c3 does not have device name
[    0.615590] as3722-regulator as3722-regulator.0: Consumer c4 does not have device name
[    0.615624] as3722-regulator as3722-regulator.0: Consumer c5 does not have device name
[    0.615656] as3722-regulator as3722-regulator.0: Consumer c6 does not have device name
[    0.615690] as3722-regulator as3722-regulator.0: Consumer c7 does not have device name
[    0.615778] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.615812] as3722-regulator as3722-regulator.0: Consumer c2 does not have device name
[    0.615846] as3722-regulator as3722-regulator.0: Consumer c3 does not have device name
[    0.615879] as3722-regulator as3722-regulator.0: Consumer c4 does not have device name
[    0.615914] as3722-regulator as3722-regulator.0: Consumer c6 does not have device name
[    0.615950] as3722-regulator as3722-regulator.0: Consumer c8 does not have device name
[    0.615983] as3722-regulator as3722-regulator.0: Consumer c9 does not have device name
[    0.616016] as3722-regulator as3722-regulator.0: Consumer c10 does not have device name
[    0.616049] as3722-regulator as3722-regulator.0: Consumer c11 does not have device name
[    0.616083] as3722-regulator as3722-regulator.0: Consumer c12 does not have device name
[    0.616116] as3722-regulator as3722-regulator.0: Consumer c13 does not have device name
[    0.616149] as3722-regulator as3722-regulator.0: Consumer c14 does not have device name
[    0.616182] as3722-regulator as3722-regulator.0: Consumer c15 does not have device name
[    0.616238] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.616271] as3722-regulator as3722-regulator.0: Consumer c2 does not have device name
[    0.616326] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.616359] as3722-regulator as3722-regulator.0: Consumer c2 does not have device name
[    0.616392] as3722-regulator as3722-regulator.0: Consumer c3 does not have device name
[    0.616425] as3722-regulator as3722-regulator.0: Consumer c4 does not have device name
[    0.616458] as3722-regulator as3722-regulator.0: Consumer c5 does not have device name
[    0.616491] as3722-regulator as3722-regulator.0: Consumer c6 does not have device name
[    0.616524] as3722-regulator as3722-regulator.0: Consumer c7 does not have device name
[    0.616557] as3722-regulator as3722-regulator.0: Consumer c8 does not have device name
[    0.616590] as3722-regulator as3722-regulator.0: Consumer c9 does not have device name
[    0.616649] as3722-regulator as3722-regulator.0: Consumer c2 does not have device name
[    0.616683] as3722-regulator as3722-regulator.0: Consumer c3 does not have device name
[    0.616792] as3722-regulator as3722-regulator.0: Consumer c8 does not have device name
[    0.616826] as3722-regulator as3722-regulator.0: Consumer c9 does not have device name
[    0.616859] as3722-regulator as3722-regulator.0: Consumer c10 does not have device name
[    0.616915] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.616967] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.617001] as3722-regulator as3722-regulator.0: Consumer c2 does not have device name
[    0.617034] as3722-regulator as3722-regulator.0: Consumer c3 does not have device name
[    0.617091] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.617124] as3722-regulator as3722-regulator.0: Consumer c2 does not have device name
[    0.617182] as3722-regulator as3722-regulator.0: Consumer c2 does not have device name
[    0.617238] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.617271] as3722-regulator as3722-regulator.0: Consumer c2 does not have device name
[    0.617346] as3722-regulator as3722-regulator.0: Consumer c1 does not have device name
[    0.617379] as3722-regulator as3722-regulator.0: Consumer c2 does not have device name
[    0.617412] as3722-regulator as3722-regulator.0: Consumer c3 does not have device name
[    0.618338] vdd-cpu: 650 <--> 1300 mV at 1000 mV 3500 mA 
[    0.619110] vdd-core: applied init 1000000uV constraint
[    0.619711] vdd-core: 700 <--> 1350 mV at 1000 mV 3500 mA 
[    0.620917] vddio-ddr: at 1350 mV 
[    0.621241] as3722-sd3: no parameters
[    0.621840] avdd-pll-pex: 1050 mV 
[    0.623028] vdd-1v8: at 1800 mV 
[    0.623386] vdd-gpu: applied init 1000000uV constraint
[    0.624265] vdd-gpu: 650 <--> 1200 mV at 1000 mV 3500 mA 
[    0.624761] avdd-pll: at 1050 mV at 300 mA 
[    0.626045] vdd-cam: 1800 mV at 150 mA 
[    0.626720] avdd-dsi-csi: at 1200 mV at 150 mA 
[    0.627939] vdd-rtc: 800 mV at 150 mA 
[    0.628420] avdd-cam: 2800 mV at 150 mA 
[    0.628929] vdd-1v2-cam: 1175 mV at 150 mA 
[    0.629300] vddio-sdmmc-2: 1800 <--> 3300 mV at 150 mA 
[    0.629800] vdd-1v1-cam: 1275 mV at 150 mA 
[    0.630771] avdd-spi: 3300 mV at 150 mA 
[    0.631300] vdd-2v7-cam: 2800 mV at 150 mA 
[    0.631819] vpp-fuse: 1800 mV at 150 mA 
[    0.632406] of_get_named_gpio_flags: can't parse gpios property
[    0.632417] of_get_named_gpio_flags: can't parse gpios property
[    0.632875] Linux video capture interface: v2.00
[    0.634002] Advanced Linux Sound Architecture Driver Initialized.
[    0.634454] ardbeg_wifi_power: 1
[    0.734862] of_get_named_gpio_flags exited with status 108
[    0.734992] usb0-vbus: 5000 mV 
[    0.735179] of_get_named_gpio_flags exited with status 109
[    0.735302] usb1-usb2-vbus: 5000 mV 
[    0.735475] of_get_named_gpio_flags exited with status 86
[    0.735584] vdd-hdmi: 5000 mV 
[    0.735784] of_get_named_gpio_flags exited with status 63
[    0.735890] avdd-hdmi-pll: 3300 mV 
[    0.735940] avdd-hdmi-pll: supplied by avdd-pll-pex
[    0.736130] reg-fixed-sync-voltage 9.regulator: Consumer c3 does not have device name
[    0.736164] of_get_named_gpio_flags: can't parse gpios property
[    0.736253] reg-5v0-supply: 5000 mV 
[    0.736426] reg-fixed-sync-voltage a.regulator: Consumer c1 does not have device name
[    0.736461] reg-fixed-sync-voltage a.regulator: Consumer c2 does not have device name
[    0.736495] reg-fixed-sync-voltage a.regulator: Consumer c3 does not have device name
[    0.736546] reg-fixed-sync-voltage a.regulator: Consumer c10 does not have device name
[    0.736580] reg-fixed-sync-voltage a.regulator: Consumer c11 does not have device name
[    0.736613] reg-fixed-sync-voltage a.regulator: Consumer c12 does not have device name
[    0.736647] reg-fixed-sync-voltage a.regulator: Consumer c13 does not have device name
[    0.736680] reg-fixed-sync-voltage a.regulator: Consumer c14 does not have device name
[    0.736731] reg-fixed-sync-voltage a.regulator: Consumer c15 does not have device name
[    0.736790] of_get_named_gpio_flags: can't parse gpios property
[    0.736890] reg-1v8-supply: 1800 mV 
[    0.737184] reg-fixed-sync-voltage b.regulator: Consumer c1 does not have device name
[    0.737230] of_get_named_gpio_flags exited with status 138
[    0.737339] reg-dcdc-1v2: 1200 mV 
[    0.737509] reg-fixed-sync-voltage c.regulator: Consumer c7 does not have device name
[    0.737545] reg-fixed-sync-voltage c.regulator: Consumer c8 does not have device name
[    0.737590] of_get_named_gpio_flags exited with status 1018
[    0.738102] as3722-gpio2-supply: 3300 mV 
[    0.738317] reg-fixed-sync-voltage d.regulator: Consumer c1 does not have device name
[    0.738365] of_get_named_gpio_flags exited with status 1020
[    0.738839] as3722-gpio4-supply: 3300 mV 
[    0.739012] of_get_named_gpio_flags exited with status 136
[    0.739127] sdmmc-en-supply: 3300 mV 
[    0.739291] of_get_named_gpio_flags exited with status 138
[    0.739382] vdd-cdc-1v2-aud: 1200 mV 
[    0.739545] reg-fixed-sync-voltage 10.regulator: Consumer c1 does not have device name
[    0.739581] reg-fixed-sync-voltage 10.regulator: Consumer c2 does not have device name
[    0.739615] reg-fixed-sync-voltage 10.regulator: Consumer c3 does not have device name
[    0.739646] of_get_named_gpio_flags: can't parse gpios property
[    0.739746] reg-aon-1v8: 1800 mV 
[    0.739925] reg-fixed-sync-voltage 11.regulator: Consumer c1 does not have device name
[    0.739958] of_get_named_gpio_flags: can't parse gpios property
[    0.740047] reg-aon-1v2: 1200 mV 
[    0.743045] as3722-adc-extcon as3722-adc-extcon.2: USB-Host is disconnected
[    0.746395] tegra: started io power detection dynamic control
[    0.746422] tegra: NO_IO_POWER setting 0x0
[    0.746449] Switching to clocksource arch_sys_counter
[    0.768905] nvmap_heap_init: nvmap_heap_init: created heap block cache
[    0.769097] nvmap_page_pool_init: Total MB RAM: 1892
[    0.769123] nvmap_page_pool_init: nvmap page pool size: 60555 pages (236 MB)
[    0.769291] nvmap_background_zero_thread: PP zeroing thread starting.
[    0.769457]  iram: dma coherent mem declare 0x40001000,258048
[    0.770297] misc nvmap: created heap iram base 0x40001000 size (252KiB)
[    0.770462] nvmap:inner cache maint threshold=2097152
[    0.780177] Wake39 for irq=52
[    0.780274] tegra-otg tegra-otg: otg transceiver registered
[    0.780649] NET: Registered protocol family 2
[    0.781347] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.781468] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[    0.781601] TCP: Hash tables configured (established 4096 bind 4096)
[    0.781664] TCP: reno registered
[    0.781689] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.781732] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.782032] NET: Registered protocol family 1
[    0.782426] RPC: Registered named UNIX socket transport module.
[    0.782451] RPC: Registered udp transport module.
[    0.782472] RPC: Registered tcp transport module.
[    0.782493] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.782539] PCI: CLS 0 bytes, default 64
[    0.782794] tegra-fuse tegra-fuse: Fuse driver initialized succesfully
[    0.788280] host1x host1x: initialized
[    0.789530] CPU PMU: probing PMU on CPU 0
[    0.789566] hw perfevents: enabled with ARMv7 Cortex-A15 PMU driver, 7 counters available
[    0.790195] tegra_throttle : init passed
[    0.790309] Tegra cpuquiet initialized: disabled
[    0.790450] cpu-tegra: init EDP limit: 2320 MHz
[    0.791446] thermal thermal_zone0: Registering thermal zone thermal_zone0 for type CPU-therm
[    0.791855] thermal thermal_zone1: Registering thermal zone thermal_zone1 for type GPU-therm
[    0.792086] thermal thermal_zone2: Registering thermal zone thermal_zone2 for type MEM-therm
[    0.792328] thermal thermal_zone3: Registering thermal zone thermal_zone3 for type PLL-therm
[    0.793854] bounce pool size: 64 pages
[    0.795296] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.795597] NTFS driver 2.1.30 [Flags: R/O].
[    0.795742] fuse init (API version 7.22)
[    0.795983] msgmni has been set to 930
[    0.797378] io scheduler noop registered (default)
[    0.797711] of_get_named_gpio_flags: can't parse gpios property
[    0.797721] of_get_named_gpio_flags: can't parse gpios property
[    0.797730] of_get_named_gpio_flags: can't parse gpios property
[    0.998668] PCIE: port 0: link down, retrying
[    1.198713] PCIE: port 0: link down, retrying
[    1.398755] PCIE: port 0: link down, retrying
[    1.398777] PCIE: port 0: link down, ignoring
[    1.403932] PCI host bridge to bus 0000:00
[    1.403961] pci_bus 0000:00: root bus resource [mem 0x32100000-0x3fffffff]
[    1.403992] pci_bus 0000:00: root bus resource [mem 0x12100000-0x320fffff pref]
[    1.404025] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    1.404052] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.404118] pci 0000:00:00.0: [10de:0e13] type 01 class 0x060400
[    1.404214] pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.404440] PCI: bus0: Fast back to back transfers disabled
[    1.404470] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.404699] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[    1.404734] pci 0000:01:00.0: reg 10: [io  0x0000-0x00ff]
[    1.404781] pci 0000:01:00.0: reg 18: [mem 0x00000000-0x00000fff 64bit]
[    1.404814] pci 0000:01:00.0: reg 20: [mem 0x00000000-0x00003fff 64bit pref]
[    1.404918] pci 0000:01:00.0: supports D1 D2
[    1.404930] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.406565] PCI: bus1: Fast back to back transfers disabled
[    1.406598] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.406616] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    1.406908] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    1.406938] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt
[    1.406969] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
[    1.407087] aer 0000:00:00.0:pcie02: service driver aer loaded
[    1.407182] pcieport 0000:00:00.0: BAR 8: assigned [mem 0x32100000-0x321fffff]
[    1.407218] pcieport 0000:00:00.0: BAR 9: assigned [mem 0x12100000-0x121fffff 64bit pref]
[    1.407254] pcieport 0000:00:00.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.407288] pci 0000:01:00.0: BAR 4: assigned [mem 0x12100000-0x12103fff 64bit pref]
[    1.407337] pci 0000:01:00.0: BAR 2: assigned [mem 0x32100000-0x32100fff 64bit]
[    1.407384] pci 0000:01:00.0: BAR 0: assigned [io  0x1000-0x10ff]
[    1.407417] pcieport 0000:00:00.0: PCI bridge to [bus 01]
[    1.407445] pcieport 0000:00:00.0:   bridge window [io  0x1000-0x1fff]
[    1.407475] pcieport 0000:00:00.0:   bridge window [mem 0x32100000-0x321fffff]
[    1.407530] pcieport 0000:00:00.0:   bridge window [mem 0x12100000-0x121fffff 64bit pref]
[    1.407574] PCIE: No Link speed change happened
[    1.408125] pwm-backlight pwm-backlight: unable to request PWM, trying legacy API
[    1.408233] sysedp_create_consumer: unable to create pwm-backlight, no consumer_data for pwm-backlight found
[    1.409126] tsec tsec: initialized
[    1.410633] isp isp.0: initialized
[    1.411612] isp isp.1: initialized
[    1.413156] falcon vic03.0: initialized
[    1.414340] falcon msenc: initialized
[    1.415161] tegradc tegradc.0: DSI: HS clock rate is 464500
[    1.416325] vdd_lcd_bl regulator get failed
[    1.416349] dsi regulator get failed
[    1.418263] tegradc tegradc.0: nominal-pclk:154700000 parent:154500000 div:1.0 pclk:154500000 153153000~168623000
[    1.507696] tegradc tegradc.0: DSI pad calibration done
[    1.514847] tegradc tegradc.0: probed
[    1.515322] tegradc tegradc.0: fb registered
[    1.515346] tegradc tegradc.0: nominal-pclk:154679000 parent:463500000 div:3.0 pclk:154500000 153132210~168600110
[    1.521190] gpio wake4 for gpio=111
[    1.521470] tegra-i2c tegra12-i2c.3: no acknowledge from address 0x50
[    1.522447] tegradc tegradc.1: probed
[    1.526312] Console: switching to colour frame buffer device 80x30
[    1.530805] tegradc tegradc.1: fb registered
[    1.532472] hdmi_state_machine_worker (tid dd30d580): state 7 (Takeover from bootloader), hpd 0, pending_hpd_evt 1
[    1.535739] hdmi_state_machine_set_state_l: switching from state 7 (Takeover from bootloader) to state 0 (Reset)
[    1.539234] tegra-apbdma tegra-apbdma: Tegra20 APB DMA driver register 32 channels
[    1.543280] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.546389] serial8250.0: ttyS0 at MMIO 0x70006300 (irq = 122) is a Tegra
[    1.578547] hdmi_state_machine_worker (tid dd30d580): state 0 (Reset), hpd 0, pending_hpd_evt 0
[    1.578551] hdmi_disable_l: audio_switch 0
[    1.578554] hdmi_disable_l: hpd_switch 0
[    1.578560] hdmi_state_machine_set_state_l: switching from state 0 (Reset) to state 1 (Check Plug)
[    1.588544] hdmi_state_machine_worker (tid dd30d580): state 1 (Check Plug), hpd 0, pending_hpd_evt 0
[    1.588547] hdmi_disable_l: audio_switch 0
[    1.588550] hdmi_disable_l: hpd_switch 0
[    1.588555] hdmi_state_machine_set_state_l: switching from state 1 (Check Plug) to state 3 (Disabled)
[    3.966046] console [ttyS0] enabled
[    3.971886] serial-tegra.0: ttyTHS0 at MMIO 0x70006000 (irq = 68) is a SERIAL_TEGRA
[    3.983668] serial-tegra.1: ttyTHS1 at MMIO 0x70006040 (irq = 69) is a SERIAL_TEGRA
[    3.995574] serial-tegra.2: ttyTHS2 at MMIO 0x70006200 (irq = 78) is a SERIAL_TEGRA
[    4.012424] loop: module loaded
[    4.017861] nct1008_nct72 0-004c: success in enabling rail vdd_nct72
[    4.029444] gpio wake35 for gpio=70
[    4.035132] nct1008_nct72 0-004c: nct1008_probe: initialized
[    4.043469] thermal thermal_zone4: Registering thermal zone thermal_zone4 for type Tboard_tegra
[    4.057418] thermal thermal_zone5: Registering thermal zone thermal_zone5 for type Tdiode_tegra
[    4.072191] tegra_profiler: Branch: Dev
[    4.078226] tegra_profiler: Version: 1.103
[    4.084433] tegra_profiler: Samples version: 34
[    4.091045] tegra_profiler: IO version: 18
[    4.097127] armv7_pmu: arch: Cortex A15, type: 4, ver: 0
[    4.104600] tegra_profiler: auth: init
[    4.110596] GPS: mt3332_gps_mod_init: platform_driver_register ret = 0
[    4.119702] tegra-sata tegra-sata.0: version 1.0
[    4.119717] of_get_named_gpio_flags: can't parse gpios property
[    4.120352] tegra-sata tegra-sata.0: AHCI 0001.0301 32 slots 2 ports 3 Gbps 0x1 impl TEGRA-SATA mode
[    4.133330] tegra-sata tegra-sata.0: flags: 64bit ncq sntf pm led pmp pio slum part sadm apst 
[    4.146835] scsi0 : tegra-sata
[    4.152105] scsi1 : tegra-sata
[    4.157168] ata1: SATA max UDMA/133 irq 55
[    4.163010] ata2: DUMMY
[    4.168294] tegra_spi_setup : speed=1000000
[    4.174438] tegra_spi_probe : spi-max-frequency 1000000
[    4.181803] tegra_spi_probe : spi-max-frequency 25000000
[    4.189267] tun: Universal TUN/TAP device driver, 1.6
[    4.195900] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    4.203914] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[    4.213304] r8169 0000:01:00.0 eth0: RTL8168g/8111g at 0xdf83e000, 00:04:4b:70:8f:cc, XID 0c000800 IRQ 641
[    4.226082] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    4.237851] usbcore: registered new interface driver asix
[    4.244939] usbcore: registered new interface driver ax88179_178a
[    4.252754] usbcore: registered new interface driver cdc_ether
[    4.260268] usbcore: registered new interface driver smsc95xx
[    4.267643] usbcore: registered new interface driver cdc_subset
[    4.275218] usbcore: registered new interface driver cdc_ncm
[    4.282388] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.290624] tegra USB phy - inst[1] platform info:
[    4.296896] port_otg: no
[    4.300807] has_hostpc: yes
[    4.304922] phy_interface: USB_PHY_INTF_UTMI
[    4.310531] op_mode: TEGRA_USB_OPMODE_HOST
[    4.315996] qc2_voltage: 0
[    4.320087] vbus_gpio: -1
[    4.324047] hot_plug: disabled
[    4.328427] remote_wakeup: enabled
[    4.334659] tegra-ehci tegra-ehci.1: Tegra EHCI Host Controller
[    4.342063] tegra-ehci tegra-ehci.1: new USB bus registered, assigned bus number 1
[    4.352521] Wake40 for irq=53
[    4.356835] Wake42 for irq=53
[    4.361110] tegra-ehci tegra-ehci.1: irq 53, io mem 0x7d004000
[    4.373547] tegra-ehci tegra-ehci.1: USB 2.0 started, EHCI 1.10
[    4.380797] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.388871] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.398520] usb usb1: Product: Tegra EHCI Host Controller
[    4.405251] usb usb1: Manufacturer: Linux 3.10.40-gafe5771-dirty ehci_hcd
[    4.413466] usb usb1: SerialNumber: tegra-ehci.1
[    4.420008] hub 1-0:1.0: USB hub found
[    4.425214] hub 1-0:1.0: 1 port detected
[    4.430850] tegra USB phy - inst[2] platform info:
[    4.437058] port_otg: no
[    4.440934] has_hostpc: yes
[    4.445071] phy_interface: USB_PHY_INTF_UTMI
[    4.450702] op_mode: TEGRA_USB_OPMODE_HOST
[    4.456164] qc2_voltage: 0
[    4.460238] vbus_gpio: -1
[    4.464199] hot_plug: disabled
[    4.468600] remote_wakeup: enabled
[    4.472560] ata1: SATA link down (SStatus 0 SControl 300)
[    4.481585] tegra-ehci tegra-ehci.2: Tegra EHCI Host Controller
[    4.488933] tegra-ehci tegra-ehci.2: new USB bus registered, assigned bus number 2
[    4.499283] Wake41 for irq=129
[    4.503723] Wake43 for irq=129
[    4.508177] tegra-ehci tegra-ehci.2: irq 129, io mem 0x7d008000
[    4.521545] tegra-ehci tegra-ehci.2: USB 2.0 started, EHCI 1.10
[    4.528933] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    4.537194] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.547073] usb usb2: Product: Tegra EHCI Host Controller
[    4.553881] usb usb2: Manufacturer: Linux 3.10.40-gafe5771-dirty ehci_hcd
[    4.562066] usb usb2: SerialNumber: tegra-ehci.2
[    4.568536] hub 2-0:1.0: USB hub found
[    4.573738] hub 2-0:1.0: 1 port detected
[    4.579373] ehci-pci: EHCI PCI platform driver
[    4.585440] tegra_xusb_read_usb_calib: usb_calib0 = 0x0285038b
[    4.592936] usbcore: registered new interface driver usb-storage
[    4.600549] usbcore: registered new interface driver usbserial
[    4.607863] usbcore: registered new interface driver option
[    4.614875] usbserial: USB Serial support registered for GSM modem (1-port)
[    4.623447] usbcore: registered new interface driver pl2303
[    4.630554] usbserial: USB Serial support registered for pl2303
[    4.638030] Nvidia Tegra High-Speed USB Device Controller driver (Apr 30, 2012)
[    4.648584] tegra USB phy - inst[0] platform info:
[    4.654968] port_otg: yes
[    4.659098] has_hostpc: yes
[    4.663386] phy_interface: USB_PHY_INTF_UTMI
[    4.669243] op_mode: TEGRA_USB_OPMODE_DEVICE
[    4.675041] qc2_voltage: 0
[    4.679301] vbus_pmu_irq: 0
[    4.683557] vbus_gpio: -1
[    4.687603] charging: enabled
[    4.691959] remote_wakeup: disabled
[    4.699501] tegra-udc tegra-udc.0: usb_bat_chg regulator not registered: USB charging will not be enabled
[    4.714751] as3722-rtc as3722-rtc.1: rtc core: registered as3722 as rtc0
[    4.722942] as3722-rtc as3722-rtc.1: RTC interrupt 449
[    4.732241] i2c /dev entries driver
[    4.738358] virtual_init
[    4.744063] nvavp nvavp: allocated IOVA at 8ff00000 for AVP os
[    4.752034] tegra_dtv_probe: probing dtv.
[    4.757607] setup_stream: bufsize = 4096, bufnum = 4
[    4.762765] ar0832_init: ++
[    4.768949] i2c-core: driver [max77387] using legacy suspend method
[    4.776769] i2c-core: driver [max77387] using legacy resume method
[    4.784468] i2c-core: driver [as364x] using legacy suspend method
[    4.792004] i2c-core: driver [as364x] using legacy resume method
[    4.799549] [IMX135] sensor driver loading
[    4.805045] [IMX179] sensor driver loading
[    4.810495] [IMX185] sensor driver loading
[    4.815966] [imx132] sensor driver loading
[    4.821406] [AR0330] sensor driver loading
[    4.826780] [ar0261] sensor driver loading
[    4.832119] [AR1335] sensor driver loading
[    4.837463] [ov4689] sensor driver loading
[    4.843553] usbcore: registered new interface driver uvcvideo
[    4.850556] USB Video Class driver (1.1.1)
[    4.856764] zram: Created 1 device(s) ...
[    4.862547] otg state changed: SUSPEND --> PERIPHERAL
[    4.869370] tegra_wdt tegra_wdt.0: last reset is due to power on reset
[    4.877329] tegra_wdt_probe done
[    4.882021] sdhci: Secure Digital Host Controller Interface driver
[    4.889498] sdhci: Copyright(c) Pierre Ossman
[    4.895083] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.902312] sdhci-tegra sdhci-tegra.3: vddio_sd_slot regulator not found: -517. Assuming vddio_sd_slot is not required.
[    4.915791] sdhci-tegra sdhci-tegra.3: Speedo value 2287
[    4.922492] sdhci-tegra sdhci-tegra.3: Tuning constraints: nom_mv 1150, boot_mv 1150, min_or_mv 1100
[    4.934745] mmc0: no vqmmc regulator found
[    4.940204] mmc0: no vmmc regulator found
[    4.945559] mmc0: Invalid maximum block size, assuming 512 bytes
[    4.952946] sysedp_create_consumer: unable to create sdhci-tegra.3, no consumer_data for sdhci-tegra.3 found
[    4.987555] mmc0: SDHCI controller on sdhci-tegra.3 [sdhci-tegra.3] using ADMA
[    5.000275] sdhci-tegra sdhci-tegra.2: Speedo value 2287
[    5.007400] sdhci-tegra sdhci-tegra.2: Tuning constraints: nom_mv 1150, boot_mv 1150, min_or_mv 1100
[    5.022670] mmc1: no vqmmc regulator found
[    5.028612] mmc1: no vmmc regulator found
[    5.034398] mmc1: Invalid maximum block size, assuming 512 bytes
[    5.064776] mmc0: BKOPS_EN bit is not set
[    5.075940] sdhci-tegra sdhci-tegra.3: Found T2T coeffs data
[    5.042329] sysedp_create_consumer: unable to create sdhci-tegra.2, no consumer_data for sdhci-tegra.2 found
[    5.077552] mmc1: SDHCI controller on sdhci-tegra.2 [sdhci-tegra.2] using ADMA
[    5.094620] gpio wake56 for gpio=170
[    5.094627] sdhci-tegra sdhci-tegra.3: 200MHz tap hole coeffs found
[    5.113433] tegra-se tegra12-se: tegra_se_probe: complete
[    5.122976] usbcore: registered new interface driver usbhid
[    5.130394] usbhid: USB HID core driver
[    5.136410] tegra-hier-ictlr tegra-hier-ictlr: probed
[    5.222164] usbcore: registered new interface driver snd-usb-audio
[    5.230743] MAX98090 driver built on Sep 20 2016 at 10:39:12
[    5.238973] tegra_offload_platform probe successfull.
[    5.246868] succefully registered offload opstegra30_avp_audio_platform_probe successful.
[    5.521145] rt5639 0-001c: read 0xfd=0x6
[    5.542319] rt5639 0-001c: ASoC: mux INR Mux has no paths
[    5.549498] rt5639 0-001c: ASoC: mux INL Mux has no paths
[    5.557298] gpio wake49 for gpio=143
[    5.638085] **********Auto tuning windows*************
[    5.644901] WIN_ATTR legend: 0-BOUN_ST, 1-BOUN_END, 2-HOLE
[    5.652097] win[0]: 0(0) - 62(1)
[    5.657001] win[1]: 67(0) - 131(1)
[    5.662022] win[2]: 136(0) - 199(1)
[    5.667063] win[3]: 204(0) - 255(1)
[    5.672030] ***************************************
[    5.678381] ********tuning windows after inserting holes*****
[    5.685570] WIN_ATTR legend: 0-BOUN_ST, 1-BOUN_END, 2-HOLE
[    5.692561] win[0]:-1(0) - 30(2)
[    5.697280] win[1]:32(2) - 62(1)
[    5.701952] win[2]:67(0) - 98(2)
[    5.706572] win[3]:100(2) - 131(1)
[    5.711332] win[4]:136(0) - 166(2)
[    5.716051] win[5]:168(2) - 199(1)
[    5.720733] win[6]:204(0) - 234(2)
[    5.725365] win[7]:236(2) - 255(1)
[    5.729972] ***********************************************
[    5.736807] **********Tuning values*********
[    5.742230] **estimated values**
[    5.746542] T2T_Vmax 56, T2T_Vmin 78, 1'st_hole_Vmax 48, UI_Vmax 89
[    5.753950] **Calculated values**
[    5.758398] T2T_Vmax 73, 1'st_hole_Vmax 31, UI_Vmax 68
[    5.764741] T2T_Vmin 73, 1'st_hole_Vmin 31, UI_Vmin 68
[    5.771041] ***********************************
[    5.776721] ***********final tuning windows**********
[    5.782907] win[0]: 12 - 23
[    5.786799] win[1]: 40 - 49
[    5.790682] win[2]: 80 - 87
[    5.794549] win[3]: 112 - 118
[    5.798604] win[4]: 149 - 150
[    5.802613] win[5]: 185 - 186
[    5.806582] win[6]: 217 - 213
[    5.810501] win[7]: 255 - 242
[    5.814373] ********************************
[    5.819595] best tap win - (12-23), best tap value 18 prev_best_tap 0
[    6.372468] **********Auto tuning windows*************
[    6.378696] WIN_ATTR legend: 0-BOUN_ST, 1-BOUN_END, 2-HOLE
[    6.385316] win[0]: 0(0) - 61(1)
[    6.389690] win[1]: 67(0) - 131(1)
[    6.394244] win[2]: 136(0) - 199(1)
[    6.398895] win[3]: 205(0) - 255(1)
[    6.403499] ***************************************
[    6.409536] ********tuning windows after inserting holes*****
[    6.416455] WIN_ATTR legend: 0-BOUN_ST, 1-BOUN_END, 2-HOLE
[    6.423103] win[0]:-2(0) - 31(2)
[    6.427452] win[1]:33(2) - 61(1)
[    6.431761] win[2]:67(0) - 100(2)
[    6.436162] win[3]:102(2) - 131(1)
[    6.440624] win[4]:136(0) - 169(2)
[    6.445067] win[5]:171(2) - 199(1)
[    6.449470] win[6]:205(0) - 238(2)
[    6.453879] win[7]:240(2) - 255(1)
[    6.458292] ***********************************************
[    6.464950] **********Tuning values*********
[    6.470314] **estimated values**
[    6.474652] T2T_Vmax 56, T2T_Vmin 78, 1'st_hole_Vmax 48, UI_Vmax 89
[    6.482122] **Calculated values**
[    6.486661] T2T_Vmax 72, 1'st_hole_Vmax 32, UI_Vmax 69
[    6.493057] T2T_Vmin 72, 1'st_hole_Vmin 32, UI_Vmin 69
[    6.499392] ***********************************
[    6.505097] ***********final tuning windows**********
[    6.511303] win[0]: 11 - 24
[    6.515218] win[1]: 41 - 48
[    6.519119] win[2]: 80 - 88
[    6.523005] win[3]: 115 - 118
[    6.527070] win[4]: 149 - 153
[    6.531094] win[5]: 188 - 186
[    6.535078] win[6]: 218 - 217
[    6.539011] win[7]: 255 - 242
[    6.542893] ********************************
[    6.548127] best tap win - (11-24), best tap value 18 prev_best_tap 18
[    6.555710] sdhci-tegra sdhci-tegra.3: sdhci_tegra_verify_best_tap: tuning freq 200000000hz, best tap 18
[    6.564547] rt5639 0-001c: rt5639_headset_detect RT5639_PWR_ANLG1(0x63) = 0xa814
[    6.564795] rt5639 0-001c: rt5639_headset_detect RT5639_IRQ_CTRL2(0xbe) = 0x0
[    6.589449] mmc0: new HS200 MMC card at address 0001
[    6.596735] mmcblk mmc0:0001: Card claimed for testing.
[    6.603567] mmcblk0: mmc0:0001 SEM16G 14.6 GiB 
[    6.609720] mmcblk0rpmb: mmc0:0001 SEM16G partition 3 4.00 MiB
[    6.621616]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9
[    6.633630] rt5639 0-001c: rt5639_headset_detect jack_type = 2
[    6.641250] tegra-snd-rt5639 tegra-snd-rt5639.0:  rt5639-aif1 <-> tegra30-i2s.1 mapping ok
[    6.652883] tegra-snd-rt5639 tegra-snd-rt5639.0:  dit-hifi <-> tegra30-spdif mapping ok
[    6.664477] tegra-snd-rt5639 tegra-snd-rt5639.0:  dit-hifi <-> tegra30-i2s.3 mapping ok
[    6.676369] tegra-snd-rt5639 tegra-snd-rt5639.0:  rt5639-aif1 <-> dit-hifi mapping ok
[    6.688329] tegra-snd-rt5639 tegra-snd-rt5639.0:  dit-hifi <-> dit-hifi mapping ok
[    6.700292] tegra-snd-rt5639 tegra-snd-rt5639.0: Allocating for stream playback
[    6.711989] tegra-snd-rt5639 tegra-snd-rt5639.0: Allocating for stream capture
[    6.723703] tegra-snd-rt5639 tegra-snd-rt5639.0:  snd-soc-dummy-dai <-> tegra-offload-pcm mapping ok
[    6.737534] compress asoc: snd-soc-dummy-dai <-> tegra-offload-compr mapping ok
[    6.749781] tegra-snd-rt5639 tegra-snd-rt5639.0: Allocating for stream playback
[    6.761621] tegra-snd-rt5639 tegra-snd-rt5639.0: Allocating for stream capture
[    6.773553] tegra-snd-rt5639 tegra-snd-rt5639.0:  snd-soc-dummy-dai <-> tegra-offload-pcm mapping ok
[    6.787637] tegra-snd-rt5639 tegra-snd-rt5639.0:  rt5639-aif1 <-> tegra30-i2s.1 mapping ok
[    6.803684] input: tegra-rt5639 Headphone Jack as /devices/platform/tegra-snd-rt5639.0/sound/card1/input0
[    6.818787] sysedp_create_consumer: unable to create speaker, no consumer_data for speaker found
[    6.830640] oprofile: using timer interrupt.
[    6.839876] GACT probability NOT on
[    6.845666] Mirror/redirect action on
[    6.851594] u32 classifier
[    6.856475]     Actions configured
[    6.861994] Netfilter messages via NETLINK v0.30.
[    6.868856] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[    6.877478] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    6.886536] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    6.894723] xt_time: kernel timezone is -0000
[    6.901238] ipip: IPv4 over IPv4 tunneling driver
[    6.908453] ip_tables: (C) 2000-2006 Netfilter Core Team
[    6.915860] arp_tables: (C) 2002 David S. Miller
[    6.922459] TCP: cubic registered
[    6.927808] NET: Registered protocol family 10
[    6.934914] mip6: Mobile IPv6
[    6.939714] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    6.947028] sit: IPv6 over IPv4 tunneling driver
[    6.954292] NET: Registered protocol family 17
[    6.960457] NET: Registered protocol family 15
[    6.966612] NET: Registered protocol family 35
[    6.972644] NET: Registered protocol family 37
[    6.978500] NET: Registered protocol family 41
[    6.985617] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    7.020556] Registering SWP/SWPB emulation handler
[    7.026746] last reset is due to power on reset
[    7.026746] 
[    7.035497] Disabling clocks left on by bootloader:
[    7.041758]    audio_2x
[    7.045587]    audio
[    7.049080]    audio4
[    7.052585]    audio3
[    7.056067]    audio2
[    7.059458]    audio1
[    7.062800]    audio0
[    7.066171]    hdmi_audio
[    7.069782]    entropy
[    7.073109]    dsi2-fixed
[    7.076687]    dsi1-fixed
[    7.080215]    nor
[    7.083077]    trace
[    7.086068]    sdmmc4_ddr
[    7.089471]    sdmmc3_ddr
[    7.092901]    cclk_lp
[    7.096046]    pll_x_out0
[    7.099496]    pll_m_out1
[    7.103035] tegra_dvfs: vdd_cpu connected to regulator
[    7.109044] tegra_dvfs: vdd_core connected to regulator
[    7.115066] tegra_dvfs: vdd_gpu connected to regulator
[    7.122149] cpu_cold cooling device is registered
[    7.127744] cpu_hot cooling device is registered
[    7.127896] Tegra CPU DFLL is initialized with use_dfll = 1
[    7.127957] CPU rate: 696 MHz
[    7.408357] tegra dvfs: tegra sysfs cap interface is initialized
[    7.415293] tegra dvfs: tegra sysfs gpu & emc interface is initialized
[    7.423330] tegra_actmon.emc: Completed initialization (0)
[    7.429974] tegra_actmon.avp: Completed initialization (0)
[    7.436544] tegra_mon.cpu_emc: Completed initialization (0)
[    7.445990] reg-aon-1v2: incomplete constraints, leaving on
[    7.452622] reg-aon-1v8: incomplete constraints, leaving on
[    7.459323] sdmmc-en-supply: incomplete constraints, leaving on
[    7.466296] as3722-gpio4-supply: incomplete constraints, leaving on
[    7.473666] reg-dcdc-1v2: incomplete constraints, leaving on
[    7.480482] reg-5v0-supply: incomplete constraints, leaving on
[    7.487522] avdd-hdmi-pll: incomplete constraints, leaving on
[    7.494523] usb0-vbus: incomplete constraints, leaving on
[    7.501212] vpp-fuse: incomplete constraints, leaving on
[    7.507869] vdd-2v7-cam: incomplete constraints, leaving on
[    7.514828] avdd-spi: incomplete constraints, leaving on
[    7.521575] vdd-1v1-cam: incomplete constraints, leaving on
[    7.528633] vddio-sdmmc-2: incomplete constraints, leaving on
[    7.535869] vdd-1v2-cam: incomplete constraints, leaving on
[    7.542998] avdd-cam: incomplete constraints, leaving on
[    7.549847] vdd-cam: incomplete constraints, leaving on
[    7.556653] as3722-sd3: incomplete constraints, leaving on
[    7.563736] vdd-3v3-aon: incomplete constraints, leaving on
[    7.570865] vdd-ac-bat: incomplete constraints, leaving on
[    7.577948] regulator-dummy: incomplete constraints, leaving on
[    7.586157] of_get_named_gpio_flags exited with status 128
[    7.586214] gpio wake51 for gpio=128
[    7.591641] input: gpio-keys.4 as /devices/platform/gpio-keys.4/input/input1
[    7.601103] as3722-rtc as3722-rtc.1: setting system clock to 2017-02-14 09:17:17 UTC (1487063837)
[    7.614002] ALSA device list:
[    7.618499]   #0: HDA NVIDIA Tegra at 0x70038000 irq 113
[    7.625523]   #1: tegra-rt5639
[    7.631286] EXT4-fs (mmcblk0p1): couldn't mount as ext3 due to feature incompatibilities
[    7.643250] EXT4-fs (mmcblk0p1): couldn't mount as ext2 due to feature incompatibilities
[    7.717441] EXT4-fs (mmcblk0p1): recovery complete
[    7.724871] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    7.736558] VFS: Mounted root (ext4 filesystem) on device 179:1.
[    7.747353] devtmpfs: mounted
[    7.752471] Freeing unused kernel memory: 508K (c0b37000 - c0bb6000)
[    8.009730] init: plymouth-upstart-bridge main process (118) terminated with status 1
[    8.021759] init: plymouth-upstart-bridge main process ended, respawning
[    8.068234] init: plymouth-upstart-bridge main process (128) terminated with status 1
[    8.079917] init: plymouth-upstart-bridge main process ended, respawning
[    8.093422] init: ureadahead main process (121) terminated with status 5
[    8.130441] init: plymouth-upstart-bridge main process (132) terminated with status 1
[    8.142245] init: plymouth-upstart-bridge main process ended, respawning
[    9.210451] systemd-udevd[284]: starting version 204
[    9.496407] ------------[ cut here ]------------
[    9.496442] WARNING: at drivers/regulator/core.c:2018 _regulator_disable+0xd8/0x100()
[    9.496450] unbalanced disables for as3722-gpio4-supply
[    9.496461] Modules linked in:
[    9.496475] CPU: 3 PID: 318 Comm: sh Tainted: G        W    3.10.40-gafe5771-dirty #44
[    9.496517] [<c0016418>] (unwind_backtrace+0x0/0x140) from [<c0012f48>] (show_stack+0x18/0x1c)
[    9.496565] [<c0012f48>] (show_stack+0x18/0x1c) from [<c00638ec>] (warn_slowpath_common+0x54/0x70)
[    9.496586] [<c00638ec>] (warn_slowpath_common+0x54/0x70) from [<c00639b4>] (warn_slowpath_fmt+0x38/0x48)
[    9.496602] [<c00639b4>] (warn_slowpath_fmt+0x38/0x48) from [<c0389a5c>] (_regulator_disable+0xd8/0x100)
[    9.496623] [<c0389a5c>] (_regulator_disable+0xd8/0x100) from [<c0389ac0>] (regulator_disable+0x3c/0x7c)
[    9.496644] [<c0389ac0>] (regulator_disable+0x3c/0x7c) from [<c00555d4>] (dsi_p_wuxga_10_1_disable+0x50/0x8c)
[    9.496672] [<c00555d4>] (dsi_p_wuxga_10_1_disable+0x50/0x8c) from [<c033a970>] (_tegra_dc_controller_disable+0xe8/0x2c0)
[    9.496694] [<c033a970>] (_tegra_dc_controller_disable+0xe8/0x2c0) from [<c033ab84>] (_tegra_dc_disable+0x3c/0x98)
[    9.496710] [<c033ab84>] (_tegra_dc_disable+0x3c/0x98) from [<c033cdb4>] (tegra_dc_disable+0x10c/0x1a0)
[    9.496733] [<c033cdb4>] (tegra_dc_disable+0x10c/0x1a0) from [<c0372594>] (tegra_fb_blank+0x6c/0x18c)
[    9.496760] [<c0372594>] (tegra_fb_blank+0x6c/0x18c) from [<c02f6f50>] (fb_blank+0x5c/0xa0)
[    9.496782] [<c02f6f50>] (fb_blank+0x5c/0xa0) from [<c02fc358>] (store_blank+0x58/0x80)
[    9.496801] [<c02fc358>] (store_blank+0x58/0x80) from [<c0403d84>] (dev_attr_store+0x20/0x2c)
[    9.496823] [<c0403d84>] (dev_attr_store+0x20/0x2c) from [<c01a7094>] (sysfs_write_file+0x84/0xb8)
[    9.496847] [<c01a7094>] (sysfs_write_file+0x84/0xb8) from [<c0146b24>] (vfs_write+0xc4/0x18c)
[    9.496863] [<c0146b24>] (vfs_write+0xc4/0x18c) from [<c0147014>] (SyS_write+0x60/0x190)
[    9.496883] [<c0147014>] (SyS_write+0x60/0x190) from [<c000ee80>] (ret_fast_syscall+0x0/0x30)
[    9.496892] ---[ end trace 1b75b31a2719ed1e ]---
[    9.498945] otg state changed: PERIPHERAL --> SUSPEND
[    9.499122] tegra-udc tegra-udc.0: USB cable/charger disconnected
[    9.499422] otg state changed: SUSPEND --> HOST
[    9.504186] tegra USB phy - inst[0] platform info:
[    9.504204] port_otg: yes
[    9.504220] has_hostpc: yes
[    9.504229] phy_interface: USB_PHY_INTF_UTMI
[    9.504237] op_mode: TEGRA_USB_OPMODE_HOST
[    9.504247] qc2_voltage: 0
[    9.504264] vbus_gpio: -1
[    9.504275] hot_plug: disabled
[    9.504286] remote_wakeup: enabled
[   10.052264] systemd-udevd[347]: could not open moddep file '/lib/modules/3.10.40-gafe5771-dirty/modules.dep.bin'
[   10.093833] init: bluetooth main process (377) terminated with status 1
[   10.094471] init: bluetooth main process ended, respawning
[   10.455748] init: udev-fallback-graphics main process (452) terminated with status 1
[   10.509427] tegra-ehci tegra-ehci.0: Tegra EHCI Host Controller
[   10.509492] tegra-ehci tegra-ehci.0: new USB bus registered, assigned bus number 3
[   10.509748] tegra-ehci tegra-ehci.0: irq 52, io mem 0x7d000000
[   10.515574] tegra-ehci tegra-ehci.0: USB 2.0 started, EHCI 1.10
[   10.515778] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[   10.515801] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   10.515821] usb usb3: Product: Tegra EHCI Host Controller
[   10.515837] usb usb3: Manufacturer: Linux 3.10.40-gafe5771-dirty ehci_hcd
[   10.515852] usb usb3: SerialNumber: tegra-ehci.0
[   10.517955] hub 3-0:1.0: USB hub found
[   10.518008] hub 3-0:1.0: 1 port detected
[   10.689243] init: bluetooth main process (461) terminated with status 1
[   10.689273] init: bluetooth main process ended, respawning
[   10.750682] r8169 0000:01:00.0 eth0: link down
[   10.750727] r8169 0000:01:00.0 eth0: link down
[   10.750810] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.842334] init: bluetooth main process (624) terminated with status 1
[   10.842358] init: bluetooth main process ended, respawning
[   10.947563] init: bluetooth main process (688) terminated with status 1
[   10.947585] init: bluetooth main process ended, respawning
[   10.995205] init: bluetooth main process (739) terminated with status 1
[   10.995226] init: bluetooth main process ended, respawning
[   11.046455] init: bluetooth main process (762) terminated with status 1
[   11.046475] init: bluetooth main process ended, respawning
[   11.225757] init: bluetooth main process (820) terminated with status 1
[   11.225786] init: bluetooth main process ended, respawning
[   11.361574] init: bluetooth main process (868) terminated with status 1
[   11.361599] init: bluetooth main process ended, respawning
[   11.389300] init: Failed to obtain startpar-bridge instance: Unknown parameter: INSTANCE
[   11.430410] init: bluetooth main process (898) terminated with status 1
[   11.430430] init: bluetooth main process ended, respawning
[   11.469177] init: bluetooth main process (924) terminated with status 1
[   11.469207] init: bluetooth main process ended, respawning
[   11.505611] init: bluetooth main process (948) terminated with status 1
[   11.505634] init: bluetooth respawning too fast, stopped
[   13.718744] r8169 0000:01:00.0 eth0: link up
[   13.718756] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   15.119395] r8169 0000:01:00.0 eth0: link down
[   18.925483] r8169 0000:01:00.0 eth0: link up
[   21.500256] init: failsafe main process (845) killed by TERM signal
[   22.012428] init: plymouth-upstart-bridge main process ended, respawning
[   51.466264] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[   66.933711] EBBChar: Initializing the EBBChar LKM
[   66.933731] EBBChar: registered correctly with major number 241
[   66.935135] EBBChar: device class registered correctly
[   66.935996] EBBChar: device class created correctly
[   66.950873] vi vi.0: initialized
[   66.951270] platform vi.1: Driver vi requests probe deferral
[   66.951318] soc-camera-pdrv soc-camera-pdrv.4: Probing soc-camera-pdrv.4
[   66.956458] tc358743_probe : CHIPID=0x00 REVISIONID=0x00
[   68.570891] Write EDID: 256 (1)
[   68.688270] Activate EDID Mode DDC2B 1 0
[   68.689669] tc358743_enable_interrupts: cable connected = 1
[   69.311319] tc358743_probe : force initial interrupt mask: 0x043f : Reset Needed ? 
[   69.318997] tc358743_init_interrupts : Done
[   69.319585] tc358743_probe : IRQ 403 5V Present
[   69.319762] tc358743_probe : devm_request_threaded_irq succeed
[   69.320457] tc358743_enable_interrupts: cable connected = 1
[   69.325623] tc358743_g_edid : Dump EDID lenRead=256 Mode=2 
[   69.326498] 00 ff ff ff ff ff ff 00 46 65 00 50 01 00 00 00 01 
[   69.341268] 1a 01 03 a2 00 00 00 02 ee 95 a3 54 4c 99 26 0f 
[   69.355163] 50 54 04 43 00 01 01 01 01 01 01 01 01 01 01 01 
[   69.369069] 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c 45 
[   69.382959] 00 c4 8e 21 00 00 1e 00 00 00 fc 00 51 53 20 45 
[   69.396857] 4e 47 49 4e 45 20 48 49 44 00 00 00 fd 00 18 4b 
[   69.410879] 0f 51 09 00 0a 20 20 20 20 20 20 00 00 00 fe 00 
[   69.424897] 48 49 44 56 32 30 31 36 51 31 20 20 20 01 a1 02 
[   69.438915] 03 16 f0 41 90 23 09 07 07 83 01 00 00 67 03 0c 
[   69.452932] 00 00 00 b8 21 02 3a 80 18 71 38 2d 40 58 58 45 
[   69.466980] 00 80 38 74 00 00 18 00 00 00 00 00 00 00 00 00 
[   69.480996] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[   69.495012] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[   69.509028] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[   69.523047] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[   69.537073] 00 00 00 00 00 00 00 00 00 00 00 00 00 70 84 
[   69.553413] Link status : Signal OK Sync OK  HDMI PHY with DE PLL lock 5V Yes<5>[   69.553536] vi vi.0: Supporting mbus format code 0x2006 using YUV422 (UYVY) packed
[   69.553548] vi vi.0: Supporting mbus format code 0x2006 using YUV422 (VYUY) packed
[   69.553560] vi vi.0: Supporting mbus format code 0x2006 using YUV422 (YUYV) packed
[   69.553576] vi vi.0: Supporting mbus format code 0x2006 using YUV422 (YVYU) packed
[   69.553588] vi vi.0: Supporting mbus format code 0x2006 using YUV420 (YU12) planar
[   69.553601] vi vi.0: Supporting mbus format code 0x2006 using YVU420 (YV12) planar
[   69.555122] vi vi.0: Tegra camera driver loaded.
[   69.558948] vi vi.1: initialized
[   69.558969] soc-camera-pdrv soc-camera-pdrv.1: Probing soc-camera-pdrv.1
[   69.564297] vi vi.1: Tegra camera driver loaded.
[   69.565183] otg state changed: HOST --> SUSPEND
[   69.566356] tc358743_s_power : state = 1
[   69.572993] Image is 1920x1080@60, ~1991 Gbps bandwidth (~996MHz/lane) [Wrong width]
[   69.573000] Wrong width (1920 vs 640)
[   69.574074] tegra-ehci tegra-ehci.0: remove, state 4
[   69.574087] usb usb3: USB disconnect, device number 1
[   69.574805] tegra-ehci tegra-ehci.0: USB bus 3 deregistered
[   69.575446] otg state changed: SUSPEND --> PERIPHERAL
[   69.576802] Setting pll to frequency 1075 (1075) MHz
[   69.588040] tc358743_enable_interrupts: cable connected = 1
[   69.590924] Starting CSI 2 LANS
[   69.602518] tc358743_s_power : state = 0
[   69.979909] g_hid_mk gadget: QSE_HID_MK
[   69.979924] g_hid_mk gadget: g_hid_mk ready
[   69.979939] tegra-udc: bind to driver g_hid_mk
[   69.980686] tegra-udc: bind to driver g_hid_mk
[   70.452053] g_hid_mk gadget: high-speed config #1: Hid MK
[   70.452120] tegra-udc tegra-udc.0: connected to SDP
[  113.333838] tc358743_s_power : state = 1
<b>[  113.339668] Image is 1920x1080@60, ~1991 Gbps bandwidth (~996MHz/lane) [Wrong width]</b>
[  113.339672] Wrong width (1920 vs 640)
[  113.343491] Setting pll to frequency 1075 (1075) MHz
[  113.353922] tc358743_enable_interrupts: cable connected = 1
[  113.356890] Starting CSI 2 LANS
[  113.374182] Image is 1920x1080@60, ~1991 Gbps bandwidth (~996MHz/lane)
[  113.374186] Setting pll to frequency 1075 (1075) MHz
[  113.384613] tc358743_enable_interrupts: cable connected = 1
[  113.387496] Starting CSI 2 LANS
[  113.552554] enable_stream: enable
[  113.553804] tc358743_s_stream:Enable

These 2 lines indicates that the CSI synchronisation succeeded.
[ 69.553413] Link status : Signal OK Sync OK HDMI PHY with DE PLL lock 5V Yes<5>
[ 113.339668] Image is 1920x1080@60, ~1991 Gbps bandwidth (~996MHz/lane) [Wrong width]

When we restart the computer (HDMI source), the CSI data stream and clocks are stopped then restarted, and the Soc Camera driver (vi) is not able to synchronize again.
We got the following output (while our V4L2 program tries to get frames):

Feb 14 09:20:44 tegra-ubuntu kernel: [  213.756615] tc358743_isr: IntStatus = 0x0200
Feb 14 09:20:44 tegra-ubuntu kernel: [  213.757753] tc358743_isr : HDMI_INT0=0x0002 HDMI_INT1=0x0000
Feb 14 09:20:44 tegra-ubuntu kernel: [  213.759336] tc358743_hdmi_misc_int_handler: MISC_INT = 0x02
Feb 14 09:20:44 tegra-ubuntu kernel: [  213.759917] _tc358743_reset_phy:
Feb 14 09:20:44 tegra-ubuntu kernel: [  213.769793] Image is 1920x1080@0, ~0 Gbps bandwidth (~0MHz/lane) Hsize=2200 Vsize=1125
Feb 14 09:20:44 tegra-ubuntu kernel: [  213.773750] Link status : Signal KO Sync KO  HDMI PHY with DE PLL Unlock 5V Yes
Feb 14 09:20:44 tegra-ubuntu kernel: [  213.774317] tc358743_get_detected_timings: no valid signal
Feb 14 09:20:44 tegra-ubuntu kernel: [  213.774320] enable_stream: disable
Feb 14 09:20:44 tegra-ubuntu kernel: [  213.775534] tc358743_format_change: No signal
Feb 14 09:20:45 tegra-ubuntu kernel: [  213.939373] vi vi.0: vi2_capture_start : CSI_A syncpt timeout, syncpt = 6006, err = -11
Feb 14 09:20:45 tegra-ubuntu kernel: [  213.947427] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000012
Feb 14 09:20:45 tegra-ubuntu kernel: [  213.952208] TEGRA_CSI_CSI_CILA_STATUS 0x00060040
Feb 14 09:20:45 tegra-ubuntu kernel: [  213.956855] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  213.961591] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  213.966320] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  213.971044] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  213.975824] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  213.981334] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  213.986870] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  213.991679] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.196369] vi vi.0: vi2_capture_start : CSI_A syncpt timeout, syncpt = 6007, err = -11
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.204403] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000012
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.209170] TEGRA_CSI_CSI_CILA_STATUS 0x00060040
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.213806] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.218527] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.223248] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.227968] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.232704] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.238608] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.244507] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.249710] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.454367] vi vi.0: vi2_capture_start : CSI_A syncpt timeout, syncpt = 6008, err = -11
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.463167] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000012
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.468296] TEGRA_CSI_CSI_CILA_STATUS 0x00060040
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.473333] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.478462] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.483567] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.488645] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.493704] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.499553] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.505395] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.510556] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.515719] tegra_camera_capture_frame : Reset hw for errors
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.522773] vi vi.0: Failed to create debugfs directory
Feb 14 09:20:45 tegra-ubuntu kernel: [  214.722374] vi vi.0: vi2_capture_start : CSI_A syncpt timeout, syncpt = 6009, err = -11

In order to enable the CSI driver to synchronize again, we have to stop our V4L2 program and reload the driver tegra_camera.

[  340.541415] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
[  340.547263] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
[  340.553104] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
[  340.558277] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
[  340.563433] tegra_camera_capture_frame : Reset hw for errors
[  340.770072] vi2_capture_stop ret=-11
[  340.770078] vi vi.0: CSI_A syncpt timeout, syncpt = 6486, err = -11
[  340.776746] TEGRA_CSI_CSI_CIL_A_STATUS 0x00000010
[  340.781856] TEGRA_CSI_CSI_CILA_STATUS 0x00040040
[  340.786882] TEGRA_CSI_CSI_CIL_B_STATUS 0x00000000
[  340.791996] TEGRA_CSI_CSI_CIL_C_STATUS 0x00000000
[  340.797099] TEGRA_CSI_CSI_CIL_D_STATUS 0x00000000
[  340.802183] TEGRA_CSI_CSI_CIL_E_STATUS 0x00000000
[  340.807234] TEGRA_CSI_CSI_PIXEL_PARSER_A_STATUS 0x00000000
[  340.813075] TEGRA_CSI_CSI_PIXEL_PARSER_B_STATUS 0x00000000
[  340.818896] TEGRA_VI_CSI_0_ERROR_STATUS 0x00000000
[  340.824032] TEGRA_VI_CSI_1_ERROR_STATUS 0x00000000
[  340.839524] tc358743_s_power : state = 0
[  345.789676] vi vi.1: Tegra camera host driver unloaded
[  345.791754] vi vi.0: Tegra camera host driver unloaded
[  345.817328] vi vi.0: initialized
[  345.817382] soc-camera-pdrv soc-camera-pdrv.4: Probing soc-camera-pdrv.4
[  345.822724] tc358743_probe : CHIPID=0x00 REVISIONID=0x00
[  347.436717] Write EDID: 256 (1)
[  347.554114] Activate EDID Mode DDC2B 1 0
[  347.555512] tc358743_enable_interrupts: cable connected = 1
[  348.177188] tc358743_probe : force initial interrupt mask: 0x043f : Reset Needed ? 
[  348.184805] tc358743_init_interrupts : Done
[  348.185392] tc358743_probe : IRQ 403 5V Present
[  348.185457] tc358743_probe : devm_request_threaded_irq succeed
[  348.186038] tc358743_enable_interrupts: cable connected = 1
[  348.191152] tc358743_g_edid : Dump EDID lenRead=256 Mode=2 
[  348.192031] 00 ff ff ff ff ff ff 00 46 65 00 50 01 00 00 00 01 
[  348.206795] 1a 01 03 a2 00 00 00 02 ee 95 a3 54 4c 99 26 0f 
[  348.220687] 50 54 04 43 00 01 01 01 01 01 01 01 01 01 01 01 
[  348.234584] 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c 45 
[  348.248473] 00 c4 8e 21 00 00 1e 00 00 00 fc 00 51 53 20 45 
[  348.262363] 4e 47 49 4e 45 20 48 49 44 00 00 00 fd 00 18 4b 
[  348.276373] 0f 51 09 00 0a 20 20 20 20 20 20 00 00 00 fe 00 
[  348.290393] 48 49 44 56 32 30 31 36 51 31 20 20 20 01 a1 02 
[  348.304410] 03 16 f0 41 90 23 09 07 07 83 01 00 00 67 03 0c 
[  348.318453] 00 00 00 b8 21 02 3a 80 18 71 38 2d 40 58 58 45 
[  348.332468] 00 80 38 74 00 00 18 00 00 00 00 00 00 00 00 00 
[  348.346484] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[  348.360504] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[  348.374519] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[  348.388537] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
[  348.402568] 00 00 00 00 00 00 00 00 00 00 00 00 00 70 84 
[  348.418891] Link status : Signal OK Sync OK  HDMI PHY with DE PLL lock 5V Yes<5>[  348.418935] vi vi.0: Supporting mbus format code 0x2006 using YUV422 (UYVY) packed
[  348.418940] vi vi.0: Supporting mbus format code 0x2006 using YUV422 (VYUY) packed
[  348.418944] vi vi.0: Supporting mbus format code 0x2006 using YUV422 (YUYV) packed
[  348.418948] vi vi.0: Supporting mbus format code 0x2006 using YUV422 (YVYU) packed
[  348.418952] vi vi.0: Supporting mbus format code 0x2006 using YUV420 (YU12) planar
[  348.418955] vi vi.0: Supporting mbus format code 0x2006 using YVU420 (YV12) planar
[  348.419907] vi vi.0: Tegra camera driver loaded.
[  348.422948] vi vi.1: initialized
[  348.422982] soc-camera-pdrv soc-camera-pdrv.1: Probing soc-camera-pdrv.1
[  348.424625] tc358743_s_power : state = 1
[  348.427959] vi vi.1: Tegra camera driver loaded.
[  348.431495] Image is 1920x1080@60, ~1991 Gbps bandwidth (~996MHz/lane)
[  348.431504] Setting pll to frequency 1075 (1075) MHz
[  348.441831] tc358743_enable_interrupts: cable connected = 1
[  348.444664] Starting CSI 2 LANS
[  348.456910] tc358743_s_power : state = 0

Do you have any patch to solve this CSI restart issue ?

Best regards,

Hi Romary
There is no solution to recover the CSI on TK1 now.
But there’s a way you can try to implement. Implement a HDMI hot plug interrupt to inform soc_camera vi driver to stop capture.