This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: ADV7842 Subdevice Driver

Part Number: AM5728
Other Parts Discussed in Thread: DRA752, TPD12S015, TMP102, TLV320AIC3104, PMP

Tool/software: Linux

Hello,

we connected a custom adv7842 board with the vip on the evm5728.

The adv7842 video device driver included in the kernel 4.4.19 doesn't support the device tree. So I made the following changes in the probe function:

1. Set platform data manually (could later be retrieved from device tree)

2. Call v4l2_async_register_subdev(sd) at end of probe function

No other changes are made in the driver.

static int adv7842_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct adv7842_state *state;
static const struct v4l2_dv_timings cea640x480 =
V4L2_DV_BT_CEA_640X480P59_94;
struct adv7842_platform_data *pdata;
struct v4l2_ctrl_handler *hdl;
struct v4l2_subdev *sd;
u16 rev;
int err;

/* Check if the adapter supports the needed features */
if (!i2c_check_functionality(client->adapter, I2C_FUNC_SMBUS_BYTE_DATA))
return -EIO;

v4l_dbg(1, debug, client, "detecting adv7842 client on address 0x%x\n",
client->addr << 1);

/****** NEW *******/
struct adv7842_platform_data adv7842_pdata = {
.disable_pwrdnb = 1,
.ain_sel = ADV7842_AIN1_2_3_NC_SYNC_1_2,
.bus_order = ADV7842_BUS_ORDER_RBG,
.op_format_mode_sel = ADV7842_OP_FORMAT_MODE0,
.blank_data = 1,
.op_656_range = 1,
.dr_str_data = 3,
.dr_str_clk = 3,
.dr_str_sync = 3,
.mode = ADV7842_MODE_HDMI,
.hdmi_free_run_enable = 1,
.vid_std_select = ADV7842_HDMI_COMP_VID_STD_HD_1250P,
.i2c_sdp_io = 0x4a,
.i2c_sdp = 0x48,
.i2c_cp = 0x22,
.i2c_vdp = 0x24,
.i2c_afe = 0x26,
.i2c_hdmi = 0x34,
.i2c_repeater = 0x32,
.i2c_edid = 0x36,
.i2c_infoframe = 0x3e,
.i2c_cec = 0x40,
.i2c_avlink = 0x42,
};

pdata = &adv7842_pdata;

/***** END NEW *****/

state = devm_kzalloc(&client->dev, sizeof(struct adv7842_state), GFP_KERNEL);
if (!state) {
v4l_err(client, "Could not allocate adv7842_state memory!\n");
return -ENOMEM;
}

/* platform data */
state->pdata = *pdata;
state->timings = cea640x480;
state->format = adv7842_format_info(state, MEDIA_BUS_FMT_YUYV8_2X8);

sd = &state->sd;
v4l2_i2c_subdev_init(sd, client, &adv7842_ops);
sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE | V4L2_SUBDEV_FL_HAS_EVENTS;
state->mode = pdata->mode;

state->hdmi_port_a = pdata->input == ADV7842_SELECT_HDMI_PORT_A;
state->restart_stdi_once = true;

/* i2c access to adv7842? */
rev = adv_smbus_read_byte_data_check(client, 0xea, true) << 8 |
adv_smbus_read_byte_data_check(client, 0xeb, true);
if (rev != 0x2012) {
v4l2_info(sd, "got rev=0x%04x on first read attempt\n", rev);
rev = adv_smbus_read_byte_data_check(client, 0xea, true) << 8 |
adv_smbus_read_byte_data_check(client, 0xeb, true);
}
if (rev != 0x2012) {
v4l2_info(sd, "not an adv7842 on address 0x%x (rev=0x%04x)\n",
client->addr << 1, rev);
return -ENODEV;
}

if (pdata->chip_reset)
main_reset(sd);

/* control handlers */
hdl = &state->hdl;
v4l2_ctrl_handler_init(hdl, 6);

/* add in ascending ID order */
v4l2_ctrl_new_std(hdl, &adv7842_ctrl_ops,
V4L2_CID_BRIGHTNESS, -128, 127, 1, 0);
v4l2_ctrl_new_std(hdl, &adv7842_ctrl_ops,
V4L2_CID_CONTRAST, 0, 255, 1, 128);
v4l2_ctrl_new_std(hdl, &adv7842_ctrl_ops,
V4L2_CID_SATURATION, 0, 255, 1, 128);
v4l2_ctrl_new_std(hdl, &adv7842_ctrl_ops,
V4L2_CID_HUE, 0, 128, 1, 0);

/* custom controls */
state->detect_tx_5v_ctrl = v4l2_ctrl_new_std(hdl, NULL,
V4L2_CID_DV_RX_POWER_PRESENT, 0, 3, 0, 0);
state->analog_sampling_phase_ctrl = v4l2_ctrl_new_custom(hdl,
&adv7842_ctrl_analog_sampling_phase, NULL);
state->free_run_color_ctrl_manual = v4l2_ctrl_new_custom(hdl,
&adv7842_ctrl_free_run_color_manual, NULL);
state->free_run_color_ctrl = v4l2_ctrl_new_custom(hdl,
&adv7842_ctrl_free_run_color, NULL);
state->rgb_quantization_range_ctrl =
v4l2_ctrl_new_std_menu(hdl, &adv7842_ctrl_ops,
V4L2_CID_DV_RX_RGB_RANGE, V4L2_DV_RGB_RANGE_FULL,
0, V4L2_DV_RGB_RANGE_AUTO);
sd->ctrl_handler = hdl;
if (hdl->error) {
err = hdl->error;
goto err_hdl;
}
state->detect_tx_5v_ctrl->is_private = true;
state->rgb_quantization_range_ctrl->is_private = true;
state->analog_sampling_phase_ctrl->is_private = true;
state->free_run_color_ctrl_manual->is_private = true;
state->free_run_color_ctrl->is_private = true;

if (adv7842_s_detect_tx_5v_ctrl(sd)) {
err = -ENODEV;
goto err_hdl;
}

if (adv7842_register_clients(sd) < 0) {
err = -ENOMEM;
v4l2_err(sd, "failed to create all i2c clients\n");
goto err_i2c;
}

/* work queues */
state->work_queues = create_singlethread_workqueue(client->name);
if (!state->work_queues) {
v4l2_err(sd, "Could not create work queue\n");
err = -ENOMEM;
goto err_i2c;
}

INIT_DELAYED_WORK(&state->delayed_work_enable_hotplug,
adv7842_delayed_work_enable_hotplug);

state->pad.flags = MEDIA_PAD_FL_SOURCE;
err = media_entity_init(&sd->entity, 1, &state->pad, 0);
if (err)
goto err_work_queues;

err = adv7842_core_init(sd);
if (err)
goto err_entity;

v4l2_info(sd, "%s found @ 0x%x (%s)\n", client->name,
client->addr << 1, client->adapter->name);

/***** NEW ******/
err = v4l2_async_register_subdev(sd);
if (err)
goto err_entity;

/**** END NEW *****/


return 0;

err_entity:
media_entity_cleanup(&sd->entity);
err_work_queues:
cancel_delayed_work(&state->delayed_work_enable_hotplug);
destroy_workqueue(state->work_queues);
err_i2c:
adv7842_unregister_clients(sd);
err_hdl:
v4l2_ctrl_handler_free(hdl);
return err;
}

Additionally I use the following device tree entries:

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

  adv7842@20 {
    compatible = "adi,adv7842";
    reg = <0x20>;

    port {
      adv7842_1: endpoint {
        remote-endpoint = <&vin3a>;          
       };
    };
  };
};

&vin3a {
  status = "okay";
  endpoint {
    slave-mode;
    remote-endpoint = <&adv7842_1>;
  };
};

dmesg shows the following output:

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.19-gdb0b54cdad (marc@marc-VirtualBox) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #57 SMP PREEMPT Wed Jun 21 11:30:40 CEST 2017
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: TI AM572x EVM Rev A3
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
[ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
[ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
[ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
[ 0.000000] Forcing write-allocate cache policy for SMP
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
[ 0.000000] On node 0 totalpages: 474368
[ 0.000000] free_area_init_node: node 0, pgdat c096afc0, node_mem_map eeda2000
[ 0.000000] DMA zone: 1728 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 147456 pages, LIFO batch:31
[ 0.000000] HighMem zone: 326912 pages, LIFO batch:31
[ 0.000000] DRA752 ES2.0
[ 0.000000] PERCPU: Embedded 11 pages/cpu @eed30000 s14848 r8192 d22016 u45056
[ 0.000000] pcpu-alloc: s14848 r8192 d22016 u45056 alloc=11*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 472640
[ 0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=192.168.3.221:/home/marc/ti-processor-sdk-linux-am57xx-evm-03.01.00.06/targetNFS,nolock,v3,tcp,rsize=4096,wsize=4096 rw ip=dhcp
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 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] Memory: 1680704K/1897472K available (6535K kernel code, 358K rwdata, 2392K rodata, 332K init, 289K bss, 28352K reserved, 188416K cma-reserved, 1283072K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc08c004c (8929 kB)
.init : 0xc08c1000 - 0xc0914000 ( 332 kB)
.data : 0xc0914000 - 0xc096dab0 ( 359 kB)
.bss : 0xc096f000 - 0xc09b76c0 ( 290 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
[ 0.000000] Architected cp15 timer(s) running at 6.14MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.000015] Switching to timer-based delay loop, resolution 162ns
[ 0.000329] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000337] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000761] Console: colour dummy device 80x30
[ 0.000778] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[ 0.000784] This ensures that you still see kernel messages. Please
[ 0.000790] update your kernel commandline.
[ 0.000803] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.000816] pid_max: default: 32768 minimum: 301
[ 0.000909] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000919] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001454] Initializing cgroup subsys io
[ 0.001471] Initializing cgroup subsys memory
[ 0.001495] Initializing cgroup subsys devices
[ 0.001508] Initializing cgroup subsys freezer
[ 0.001519] Initializing cgroup subsys perf_event
[ 0.001530] Initializing cgroup subsys pids
[ 0.001555] CPU: Testing write buffer coherency: ok
[ 0.001754] /cpus/cpu@0 missing clock-frequency property
[ 0.001769] /cpus/cpu@1 missing clock-frequency property
[ 0.001779] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001813] Setting up static identity map for 0x800082c0 - 0x80008318
[ 0.080082] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.080140] Brought up 2 CPUs
[ 0.080153] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[ 0.080159] CPU: All CPU(s) started in SVC mode.
[ 0.080528] devtmpfs: initialized
[ 0.108546] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.109516] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.314064] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.317960] pinctrl core: initialized pinctrl subsystem
[ 0.318803] NET: Registered protocol family 16
[ 0.319715] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.350239] cpuidle: using governor ladder
[ 0.380263] cpuidle: using governor menu
[ 0.388326] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[ 0.388865] OMAP GPIO hardware version 0.1
[ 0.389531] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[ 0.390454] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[ 0.391332] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[ 0.392180] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
[ 0.393030] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
[ 0.393875] gpiochip_add: registered GPIOs 192 to 223 on device: gpio
[ 0.394725] gpiochip_add: registered GPIOs 224 to 255 on device: gpio
[ 0.395336] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[ 0.420989] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.420999] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.421461] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.421470] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.422032] OMAP DMA hardware revision 0.0
[ 0.454489] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[ 0.455621] edma 43300000.edma: memcpy is disabled
[ 0.460417] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.460820] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-vdd_3v3[0]'
[ 0.461035] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator-aic_dvdd[0]'
[ 0.461272] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-vtt[0]' - status (0)
[ 0.461533] of_get_named_gpiod_flags: parsed 'gpio' property of node '/fixedregulator-mmcwl[0]' - status (0)
[ 0.464392] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 0.464573] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 0.464725] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 0.464877] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 0.465150] omap-iommu 41501000.mmu: 41501000.mmu registered
[ 0.465342] omap-iommu 41502000.mmu: 41502000.mmu registered
[ 0.468267] palmas 0-0058: Irq flag is 0x00000008
[ 0.481959] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
[ 0.563557] gpiochip_find_base: found new base at 504
[ 0.563660] gpiochip_add: registered GPIOs 504 to 511 on device: 48070000.i2c:tps659038@58:tps659038_gpio
[ 0.564083] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 0.564584] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[ 0.565156] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
[ 0.565364] media: Linux media interface: v0.10
[ 0.565415] Linux video capture interface: v2.00
[ 0.565456] pps_core: LinuxPPS API ver. 1 registered
[ 0.565462] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.565486] PTP clock support registered
[ 0.565538] EDAC MC: Ver: 3.0.0
[ 0.566279] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
[ 0.566571] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
[ 0.566862] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 0.567143] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 0.567467] Advanced Linux Sound Architecture Driver Initialized.
[ 0.568272] clocksource: Switched to clocksource arch_sys_counter
[ 0.579271] NET: Registered protocol family 2
[ 0.579763] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.579826] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.579951] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.580000] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.580031] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.580170] NET: Registered protocol family 1
[ 0.580442] RPC: Registered named UNIX socket transport module.
[ 0.580451] RPC: Registered udp transport module.
[ 0.580458] RPC: Registered tcp transport module.
[ 0.580464] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.580481] PCI: CLS 0 bytes, default 64
[ 0.581492] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.583889] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.591664] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.592294] NFS: Registering the id_resolver key type
[ 0.592320] Key type id_resolver registered
[ 0.592328] Key type id_legacy registered
[ 0.592386] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.594344] bounce: pool size: 64 pages
[ 0.594493] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.594508] io scheduler noop registered
[ 0.594521] io scheduler deadline registered
[ 0.594556] io scheduler cfq registered (default)
[ 0.599544] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 0.603038] dra7-pcie 51000000.pcie: GPIO lookup for consumer (null)
[ 0.603050] dra7-pcie 51000000.pcie: using device tree for GPIO lookup
[ 0.603081] of_get_named_gpiod_flags: parsed 'gpios' property of node '/ocp/axi@0/pcie@51000000[0]' - status (0)
[ 0.603194] PCI host bridge /ocp/axi@0/pcie@51000000 ranges:
[ 0.603205] No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
[ 0.603238] IO 0x20003000..0x20012fff -> 0x00000000
[ 0.603258] MEM 0x20013000..0x2fffffff -> 0x20013000
[ 0.633566] dra7-pcie 51000000.pcie: link is not up
[ 0.633741] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[ 0.633753] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.633763] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.633772] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[ 0.633805] pci 0000:00:00.0: [104c:8888] type 01 class 0x060400
[ 0.633848] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[ 0.633870] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[ 0.633938] pci 0000:00:00.0: supports D1
[ 0.633948] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.634185] PCI: bus0: Fast back to back transfers disabled
[ 0.634309] PCI: bus1: Fast back to back transfers enabled
[ 0.634358] irq: no irq domain found for /ocp/axi@0/pcie@51000000/interrupt-controller !
[ 0.634394] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[ 0.634408] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[ 0.634421] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.634641] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 0.634654] pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
[ 0.634772] aer 0000:00:00.0:pcie02: service driver aer loaded
[ 0.635879] pwm-backlight backlight: GPIO lookup for consumer enable
[ 0.635889] pwm-backlight backlight: using device tree for GPIO lookup
[ 0.635898] of_get_named_gpiod_flags: can't parse 'enable-gpios' property of node '/backlight[0]'
[ 0.635907] of_get_named_gpiod_flags: can't parse 'enable-gpio' property of node '/backlight[0]'
[ 0.635915] pwm-backlight backlight: using lookup tables for GPIO lookup
[ 0.635924] pwm-backlight backlight: lookup for GPIO enable failed
[ 0.635956] backlight supply power not found, using dummy regulator
[ 0.695588] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.698963] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
[ 1.660478] console [ttyS2] enabled
[ 1.664807] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
[ 1.674902] [drm] Initialized drm 1.1.0 20060810
[ 1.681559] OMAP DSS rev 6.1
[ 1.685332] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 1.693809] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[ 1.702773] tpd12s015 encoder: GPIO lookup for consumer (null)
[ 1.702784] tpd12s015 encoder: using device tree for GPIO lookup
[ 1.702814] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[0]' - status (0)
[ 1.702831] tpd12s015 encoder: GPIO lookup for consumer (null)
[ 1.702840] tpd12s015 encoder: using device tree for GPIO lookup
[ 1.702877] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[1]' - status (0)
[ 1.702891] tpd12s015 encoder: GPIO lookup for consumer (null)
[ 1.702898] tpd12s015 encoder: using device tree for GPIO lookup
[ 1.702949] of_get_named_gpiod_flags: parsed 'gpios' property of node '/encoder[2]' - status (0)
[ 1.703503] of_get_named_gpiod_flags: can't parse 'hpd-gpios' property of node '/connector[0]'
[ 1.703792] panel-dpi display: GPIO lookup for consumer enable
[ 1.703802] panel-dpi display: using device tree for GPIO lookup
[ 1.703830] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/display[0]' - status (0)
[ 1.710000] loop: module loaded
[ 1.715935] libphy: Fixed MDIO Bus: probed
[ 1.768306] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[ 1.774429] davinci_mdio 48485000.mdio: detected phy mask fffffff9
[ 1.784917] libphy: 48485000.mdio: probed
[ 1.788989] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
[ 1.798722] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
[ 1.809109] cpsw 48484000.ethernet: Detected MACID = a0:f6:fd:bd:76:7c
[ 1.816384] cpsw 48484000.ethernet: cpsw: Detected MACID = a0:f6:fd:bd:76:7d
[ 1.824942] mousedev: PS/2 mouse device common for all mice
[ 1.831038] i2c /dev entries driver
[ 1.836108] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_fan[0]' - status (0)
[ 1.837340] gpio-fan gpio_fan: GPIO fan initialized
[ 1.843275] tmp102 0-0048: initialized
[ 1.850080] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer cd
[ 1.850091] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
[ 1.850121] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc@4809c000[0]' - status (0)
[ 1.850157] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 1.854799] omap_hsmmc 4809c000.mmc: GPIO lookup for consumer wp
[ 1.854808] omap_hsmmc 4809c000.mmc: using device tree for GPIO lookup
[ 1.854817] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@4809c000[0]'
[ 1.854826] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@4809c000[0]'
[ 1.854834] omap_hsmmc 4809c000.mmc: using lookup tables for GPIO lookup
[ 1.854842] omap_hsmmc 4809c000.mmc: lookup for GPIO wp failed
[ 1.855172] vdd_3v3: supplied by regen1
[ 1.908509] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer cd
[ 1.908520] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
[ 1.908530] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480b4000[0]'
[ 1.908539] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480b4000[0]'
[ 1.908548] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
[ 1.908556] omap_hsmmc 480b4000.mmc: lookup for GPIO cd failed
[ 1.908566] omap_hsmmc 480b4000.mmc: GPIO lookup for consumer wp
[ 1.908573] omap_hsmmc 480b4000.mmc: using device tree for GPIO lookup
[ 1.908581] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480b4000[0]'
[ 1.908590] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480b4000[0]'
[ 1.908598] omap_hsmmc 480b4000.mmc: using lookup tables for GPIO lookup
[ 1.908605] omap_hsmmc 480b4000.mmc: lookup for GPIO wp failed
[ 1.908770] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[ 1.915154] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[ 1.978564] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer cd
[ 1.978574] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
[ 1.978584] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc@480ad000[0]'
[ 1.978593] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc@480ad000[0]'
[ 1.978601] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
[ 1.978609] omap_hsmmc 480ad000.mmc: lookup for GPIO cd failed
[ 1.978619] omap_hsmmc 480ad000.mmc: GPIO lookup for consumer wp
[ 1.978626] omap_hsmmc 480ad000.mmc: using device tree for GPIO lookup
[ 1.978634] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc@480ad000[0]'
[ 1.978643] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc@480ad000[0]'
[ 1.978650] omap_hsmmc 480ad000.mmc: using lookup tables for GPIO lookup
[ 1.978657] omap_hsmmc 480ad000.mmc: lookup for GPIO wp failed
[ 2.018755] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@0[0]' - status (0)
[ 2.018881] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@1[0]' - status (0)
[ 2.018995] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@2[0]' - status (0)
[ 2.019127] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led@3[0]' - status (0)
[ 2.019639] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.030764] NET: Registered protocol family 10
[ 2.046074] sit: IPv6 over IPv4 tunneling driver
[ 2.051373] NET: Registered protocol family 17
[ 2.056059] Key type dns_resolver registered
[ 2.060464] omap_voltage_late_init: Voltage driver support not added
[ 2.067344] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[ 2.073568] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[ 2.080268] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[ 2.086478] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[ 2.094641] Power Management for TI OMAP4+ devices.
[ 2.099758] Registering SWP/SWPB emulation handler
[ 2.106607] dmm 4e000000.dmm: initialized all PAT entries
[ 2.131051] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.137694] [drm] No driver support for vblank timestamp query.
[ 2.145965] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.156696] mmc0: new high speed SDHC card at address 0007
[ 2.172569] mmcblk0: mmc0:0007 SD08G 7.42 GiB
[ 2.178393] mmcblk0: p1 p2
[ 2.222855] mmc1: MAN_BKOPS_EN bit is not set
[ 2.235805] mmc1: new DDR MMC card at address 0001
[ 2.240927] mmcblk1: mmc1:0001 S10004 3.56 GiB
[ 2.245619] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
[ 2.251722] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
[ 2.258233] mmcblk1: p1 p2 p3
[ 2.412129] [drm] Enabling DMM ywrap scrolling
[ 2.451052] Console: switching to colour frame buffer device 100x30
[ 2.459937] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[ 2.488554] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[ 2.495124] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER1[0]' - status (0)
[ 2.495155] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER2[0]' - status (0)
[ 2.495184] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER3[0]' - status (0)
[ 2.495211] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER4[0]' - status (0)
[ 2.495237] of_get_named_gpiod_flags: parsed 'gpios' property of node '/gpio_keys/USER5[0]' - status (0)
[ 2.495858] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[ 2.502823] hctosys: unable to open rtc device (rtc0)
[ 2.518100] net eth0: initializing cpsw version 1.15 (0)
[ 2.523491] net eth0: initialized cpsw ale version 1.4
[ 2.528666] net eth0: ALE Table size 1024
[ 2.620640] net eth0: phy found : id is : 0x221622
[ 2.631976] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 2.637861] net eth1: initializing cpsw version 1.15 (0)
[ 2.730359] net eth1: phy found : id is : 0x221622
[ 2.740126] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 6.626911] cpsw 48484000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[ 6.638305] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 6.658289] Sending DHCP requests ., OK
[ 6.718293] IP-Config: Got DHCP answer from 192.168.3.254, my address is 192.168.3.204
[ 6.739213] IP-Config: Complete:
[ 6.742460] device=eth0, hwaddr=a0:f6:fd:bd:76:7c, ipaddr=192.168.3.204, mask=255.255.255.0, gw=192.168.3.254
[ 6.752872] host=192.168.3.204, domain=, nis-domain=(none)
[ 6.758834] bootserver=0.0.0.0, rootserver=192.168.3.221, rootpath=
[ 6.765387] nameserver0=192.168.3.254

[ 6.769860] aic_dvdd_fixed: disabling
[ 6.773538] vmmcwl_fixed: disabling
[ 6.777211] ldousb: disabling
[ 6.780711] ALSA device list:
[ 6.783691] No soundcards found.
[ 6.811526] VFS: Mounted root (nfs filesystem) on device 0:15.
[ 6.818203] devtmpfs: mounted
[ 6.821405] Freeing unused kernel memory: 332K (c08c1000 - c0914000)
[ 6.827786] This architecture does not have kernel memory protection.
[ 6.972992] systemd[1]: System time before build time, advancing clock.
[ 7.004063] random: systemd: uninitialized urandom read (16 bytes read, 67 bits of entropy available)
[ 7.019226] random: systemd: uninitialized urandom read (16 bytes read, 69 bits of entropy available)
[ 7.030659] systemd[1]: systemd 229 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 7.049138] systemd[1]: Detected architecture arm.
[ 7.070313] systemd[1]: Set hostname to <am57xx-evm>.
[ 7.154465] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 80 bits of entropy available)
[ 7.178467] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 83 bits of entropy available)
[ 7.222201] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 86 bits of entropy available)
[ 7.313090] random: systemd: uninitialized urandom read (16 bytes read, 93 bits of entropy available)
[ 7.322583] random: systemd: uninitialized urandom read (16 bytes read, 93 bits of entropy available)
[ 7.341597] random: systemd: uninitialized urandom read (16 bytes read, 94 bits of entropy available)
[ 7.351777] random: systemd: uninitialized urandom read (16 bytes read, 94 bits of entropy available)
[ 7.383629] random: systemd: uninitialized urandom read (16 bytes read, 98 bits of entropy available)
[ 7.625119] systemd[1]: sysinit.target: Found ordering cycle on sysinit.target/start
[ 7.640552] systemd[1]: sysinit.target: Found dependency on alignment.service/start
[ 7.648248] systemd[1]: sysinit.target: Found dependency on basic.target/start
[ 7.655533] systemd[1]: sysinit.target: Found dependency on sockets.target/start
[ 7.662975] systemd[1]: sysinit.target: Found dependency on avahi-daemon.socket/start
[ 7.670855] systemd[1]: sysinit.target: Found dependency on sysinit.target/start
[ 7.678298] systemd[1]: sysinit.target: Breaking ordering cycle by deleting job alignment.service/start
[ 7.687755] systemd[1]: alignment.service: Job alignment.service/start deleted to break ordering cycle starting with sysinit.target/start
[ 7.721590] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 7.749718] systemd[1]: Listening on Network Service Netlink Socket.
[ 7.784421] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 7.819238] systemd[1]: Listening on udev Kernel Socket.
[ 7.840077] systemd[1]: Created slice System Slice.
[ 7.859056] systemd[1]: Created slice User and Session Slice.
[ 7.878454] systemd[1]: Reached target Slices.
[ 7.899070] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 7.920564] systemd[1]: Listening on Journal Socket (/dev/log).
[ 7.938628] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 7.968449] systemd[1]: Reached target Paths.
[ 7.988458] systemd[1]: Reached target Swap.
[ 8.009667] systemd[1]: Listening on Journal Socket.
[ 8.058654] systemd[1]: Starting Setup Virtual Console...
[ 8.081504] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 8.086134] random: nonblocking pool is initialized
[ 8.122838] systemd[1]: Mounting Temporary Directory...
[ 8.188677] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 8.220666] systemd[1]: Mounting Debug File System...
[ 8.234899] systemd[1]: Mounting POSIX Message Queue File System...
[ 8.258643] systemd[1]: Reached target Remote File Systems.
[ 8.289257] systemd[1]: Created slice system-getty.slice.
[ 8.319243] systemd[1]: Listening on Syslog Socket.
[ 8.388699] systemd[1]: Starting Journal Service...
[ 8.425925] systemd[1]: Starting Load Kernel Modules...
[ 8.437813] systemd[1]: Listening on udev Control Socket.
[ 8.466272] CMEMK module: reference Linux version 4.4.19
[ 8.481385] allocated heap buffer 0x40500000 of size 0x100000
[ 8.487186] cmemk initialized
[ 8.507464] cryptodev: driver 1.8 loaded.
[ 8.515637] systemd[1]: Mounted POSIX Message Queue File System.
[ 8.548673] systemd[1]: Mounted Debug File System.
[ 8.568588] systemd[1]: Mounted Temporary Directory.
[ 8.588756] systemd[1]: Started Journal Service.
[ 9.199318] systemd-journald[143]: Received request to flush runtime journal from PID 1
[ 9.628236] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
[ 9.673321] remoteproc0: 58820000.ipu is available
[ 9.684910] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 9.720834] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 9.737838] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
[ 9.750770] remoteproc1: 55020000.ipu is available
[ 9.760352] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ 9.781686] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 9.794189] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
[ 9.807731] remoteproc2: 40800000.dsp is available
[ 9.826558] remoteproc2: Note: remoteproc is still under development and considered experimental.
[ 9.841370] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 9.855940] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
[ 9.864821] remoteproc3: 41000000.dsp is available
[ 9.870336] remoteproc3: Note: remoteproc is still under development and considered experimental.
[ 9.880073] remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 10.184998] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[ 10.236766] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@48070000/tlv320aic3104@18[0]'
[ 10.237618] aic_dvdd_fixed: supplied by vdd_3v3
[ 10.248621] rtc-ds1307 2-006f: read: 81 10 21 2a 03 30 16
[ 10.248639] rtc-ds1307 2-006f: read secs=1, mins=10, hours=21, mday=3, mon=9, year=116, wday=1
[ 10.251248] rtc-ds1307 2-006f: read: 81 10 21 2a 03 30 16
[ 10.251259] rtc-ds1307 2-006f: read secs=1, mins=10, hours=21, mday=3, mon=9, year=116, wday=1
[ 10.251835] alg: skcipher: setkey failed on test 5 for ecb-des-omap: flags=100
[ 10.251987] rtc-ds1307 2-006f: mcp794xx_read_alarm, sec=0 min=0 hour=0 wday=0 mday=1 mon=0 enabled=0 polarity=0 irq=0 match=0
[ 10.261133] rtc-ds1307 2-006f: read: 81 10 21 2a 03 30 16
[ 10.261145] rtc-ds1307 2-006f: read secs=1, mins=10, hours=21, mday=3, mon=9, year=116, wday=1
[ 10.261153] rtc rtc0: alarm rollover: year
[ 10.262137] rtc-ds1307 2-006f: read: 81 10 21 2a 03 30 16
[ 10.262148] rtc-ds1307 2-006f: read secs=1, mins=10, hours=21, mday=3, mon=9, year=116, wday=1
[ 10.262993] rtc rtc0: mcp7941x: dev (254:0)
[ 10.263010] rtc-ds1307 2-006f: rtc core: registered mcp7941x as rtc0
[ 10.269937] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
[ 10.284505] rtc-ds1307 2-006f: got IRQ 471
[ 10.284530] rtc-ds1307 2-006f: 64 bytes nvram
[ 10.285478] adv7842 4-0020: detecting adv7842 client on address 0x40
[ 10.325575] alg: skcipher-ddst: setkey failed on test 5 for ecb-des-omap: flags=100
[ 10.351212] adv7842 4-0020: adv7842_s_detect_tx_5v_ctrl: 0x0 -> 0x0
[ 10.369140] rtc rtc1: 48070000.i2c:tps659: dev (254:1)
[ 10.369156] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
[ 10.408246] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[ 10.442954] adv7842 4-0020: set_rgb_quantization_range: RGB quantization range: 0, RGB out: 0, HDMI: 0
[ 10.442966] adv7842 4-0020: adv7842_set_gain: Auto gain: a = 0x100, b = 0x100, c = 0x100
[ 10.443146] adv7842 4-0020: adv7842_set_offset: Auto offset: a = 0x3ff, b = 0x3ff, c = 0x3ff
[ 10.443729] adv7842 4-0020: adv7842_set_gain: Manual gain: a = 0xe0, b = 0xe0, c = 0xe0
[ 10.443916] adv7842 4-0020: adv7842_set_offset: Manual offset: a = 0x70, b = 0x70, c = 0x70
[ 10.457254] adv7842 4-0020: R 0, G 0, B 0
[ 10.457272] adv7842 4-0020: Y 10, U 80, V 80
[ 10.466190] adv7842 4-0020: set_rgb_quantization_range: RGB quantization range: 0, RGB out: 0, HDMI: 0
[ 10.466298] adv7842 4-0020: adv7842_set_gain: Auto gain: a = 0x100, b = 0x100, c = 0x100
[ 10.469884] adv7842 4-0020: adv7842_set_offset: Auto offset: a = 0x3ff, b = 0x3ff, c = 0x3ff
[ 10.475651] adv7842 4-0020: adv7842_set_gain: Manual gain: a = 0xe0, b = 0xe0, c = 0xe0
[ 10.475878] adv7842 4-0020: adv7842_set_offset: Manual offset: a = 0x70, b = 0x70, c = 0x70
[ 10.477617] adv7842 4-0020: adv7842 found @ 0x40 (OMAP I2C adapter)
[ 10.492231] pixcir_ts 4-005c: GPIO lookup for consumer attb
[ 10.492247] pixcir_ts 4-005c: using device tree for GPIO lookup
[ 10.492259] of_get_named_gpiod_flags: can't parse 'attb-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
[ 10.492285] of_get_named_gpiod_flags: parsed 'attb-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
[ 10.492299] pixcir_ts 4-005c: GPIO lookup for consumer reset
[ 10.492306] pixcir_ts 4-005c: using device tree for GPIO lookup
[ 10.492314] of_get_named_gpiod_flags: can't parse 'reset-gpios' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]'
[ 10.492334] of_get_named_gpiod_flags: parsed 'reset-gpio' property of node '/ocp/i2c@4807c000/pixcir_ts@5c[0]' - status (0)
[ 10.496269] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer id
[ 10.496293] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
[ 10.496308] of_get_named_gpiod_flags: can't parse 'id-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
[ 10.496317] of_get_named_gpiod_flags: can't parse 'id-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
[ 10.496324] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using lookup tables for GPIO lookup
[ 10.496332] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: lookup for GPIO id failed
[ 10.496339] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer vbus
[ 10.496344] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
[ 10.496351] of_get_named_gpiod_flags: can't parse 'vbus-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]'
[ 10.496398] of_get_named_gpiod_flags: parsed 'vbus-gpio' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]' - status (0)
[ 10.529839] remoteproc1: registered virtio0 (type 7)
[ 10.600786] input: pixcir_tangoc as /devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-005c/input/input1
[ 10.677307] remoteproc0: registered virtio1 (type 7)
[ 10.735014] rtc rtc2: 48838000.rtc: dev (254:2)
[ 10.735028] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
[ 10.920735] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
[ 10.949477] vpe 489d0000.vpe: Device registered as /dev/video0
[ 11.136300] SCSI subsystem initialized
[ 11.161266] vip2-s0: vip_set_slice_path:
[ 11.161279] vip2-s0: vip_set_slice_path: DATA_PATH_SELECT(0000010C): 80008000
[ 11.162391] vip2-s1: vip_set_slice_path:
[ 11.162404] vip2-s1: vip_set_slice_path: DATA_PATH_SELECT(00000110): 80008000
[ 11.162433] vip 48990000.vip: loading firmware vpdma-1b8.bin
[ 11.188419] vip 48990000.vip: VPDMA firmware loaded
[ 11.197523] vip2-s0: can't get next endpoint: loop: 1
[ 11.197534] vip2-s0: register async notifier for 1 subdevs
[ 11.197542] vip2-s0: vip_async_bound
[ 11.197548] vip2-s0: Port A: Using subdev adv7842 4-0020 for capture
[ 11.209068] vip2-s0: subdev adv7842 4-0020: code: 100a idx: 0
[ 11.209079] vip2-s0: matched fourcc: RGB3: code: 100a idx: 0
[ 11.209086] vip2-s0: subdev adv7842 4-0020: code: 2008 idx: 1
[ 11.209092] vip2-s0: subdev adv7842 4-0020: code: 2009 idx: 2
[ 11.209097] vip2-s0: subdev adv7842 4-0020: code: 200b idx: 3
[ 11.209102] vip2-s0: subdev adv7842 4-0020: code: 200c idx: 4
[ 11.209107] vip2-s0: subdev adv7842 4-0020: code: 201e idx: 5
[ 11.209112] vip2-s0: subdev adv7842 4-0020: code: 201f idx: 6
[ 11.209116] vip2-s0: subdev adv7842 4-0020: code: 200f idx: 7
[ 11.209120] vip2-s0: subdev adv7842 4-0020: code: 2010 idx: 8
[ 11.209125] vip2-s0: subdev adv7842 4-0020: code: 2011 idx: 9
[ 11.209129] vip2-s0: subdev adv7842 4-0020: code: 2012 idx: 10
[ 11.209134] vip2-s0: subdev adv7842 4-0020: code: 201a idx: 11
[ 11.209138] vip2-s0: subdev adv7842 4-0020: code: 201b idx: 12
[ 11.209143] vip2-s0: subdev adv7842 4-0020: code: 200d idx: 13
[ 11.209148] vip2-s0: subdev adv7842 4-0020: code: 200e idx: 14
[ 11.209152] vip2-s0: subdev adv7842 4-0020: code: 2020 idx: 15
[ 11.209157] vip2-s0: subdev adv7842 4-0020: code: 2021 idx: 16
[ 11.209161] vip2-s0: subdev adv7842 4-0020: code: 2022 idx: 17
[ 11.209165] vip2-s0: subdev adv7842 4-0020: code: 2023 idx: 18
[ 11.209183] vip2-s0: vip_async_complete
[ 11.231875] libata version 3.00 loaded.
[ 11.304869] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
[ 11.333138] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 11.342869] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
[ 11.379804] scsi host0: ahci
[ 11.387811] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 348
[ 11.463457] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 11.478627] ti-pruss 4b200000.pruss: creating PRU cores and other child platform devices
[ 11.489903] irq: no irq domain found for /ocp/pruss@4b200000/intc@4b220000 !
[ 11.500457] irq: no irq domain found for /ocp/pruss@4b200000/intc@4b220000 !
[ 11.512768] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[ 11.796734] rtc-ds1307 2-006f: write secs=15, mins=6, hours=21, mday=3, mon=9, year=116, wday=1
[ 11.796799] rtc-ds1307 2-006f: write: 95 06 21 0a 03 10 16
[ 11.804208] rtc-ds1307 2-006f: read: 95 06 21 2a 03 30 16
[ 11.804222] rtc-ds1307 2-006f: read secs=15, mins=6, hours=21, mday=3, mon=9, year=116, wday=1
[ 11.808630] ata1: SATA link down (SStatus 0 SControl 300)
[ 12.123693] remoteproc3: registered virtio2 (type 7)
[ 12.144573] remoteproc2: registered virtio3 (type 7)
[ 12.233819] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
[ 12.269707] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 12.284564] EXT4-fs (mmcblk0p2): mounting ext3 file system using the ext4 subsystem
[ 12.297466] FAT-fs (mmcblk1p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 12.335548] FAT-fs (mmcblk1p3): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 12.383724] ti-pruss 4b280000.pruss: creating PRU cores and other child platform devices
[ 12.393135] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 12.411120] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 12.434337] irq: no irq domain found for /ocp/pruss@4b280000/intc@4b2a0000 !
[ 12.447124] irq: no irq domain found for /ocp/pruss@4b280000/intc@4b2a0000 !
[ 12.457979] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[ 12.478116] remoteproc4: 4b234000.pru0 is available
[ 12.488231] remoteproc4: Note: remoteproc is still under development and considered experimental.
[ 12.507942] remoteproc4: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 12.554763] remoteproc4: registered virtio4 (type 7)
[ 12.565348] pru-rproc 4b234000.pru0: PRU rproc node /ocp/pruss@4b200000/pru0@4b234000 probed successfully
[ 12.587160] remoteproc5: 4b238000.pru1 is available
[ 12.592437] remoteproc5: Note: remoteproc is still under development and considered experimental.
[ 12.622940] remoteproc5: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 12.661555] remoteproc5: registered virtio5 (type 7)
[ 12.676521] pru-rproc 4b238000.pru1: PRU rproc node /ocp/pruss@4b200000/pru1@4b238000 probed successfully
[ 12.724928] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[ 12.729293] remoteproc6: 4b2b4000.pru0 is available
[ 12.729296] remoteproc6: Note: remoteproc is still under development and considered experimental.
[ 12.729299] remoteproc6: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 12.762824] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
[ 12.794491] remoteproc6: registered virtio6 (type 7)
[ 12.800687] pru-rproc 4b2b4000.pru0: PRU rproc node /ocp/pruss@4b280000/pru0@4b2b4000 probed successfully
[ 12.827651] remoteproc7: 4b2b8000.pru1 is available
[ 12.833462] remoteproc7: Note: remoteproc is still under development and considered experimental.
[ 12.859149] remoteproc7: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 12.896086] remoteproc7: registered virtio7 (type 7)
[ 12.902574] pru-rproc 4b2b8000.pru1: PRU rproc node /ocp/pruss@4b280000/pru1@4b2b8000 probed successfully
[ 13.018027] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound@0[0]'
[ 13.018039] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound@0[0]'
[ 13.021627] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
[ 13.572792] Bluetooth: Core ver 2.21
[ 13.595781] NET: Registered protocol family 31
[ 13.648794] Bluetooth: HCI device and connection manager initialized
[ 13.679704] NET: Registered protocol family 15
[ 13.703872] Bluetooth: HCI socket layer initialized
[ 13.741657] Bluetooth: L2CAP socket layer initialized
[ 13.774874] Bluetooth: SCO socket layer initialized
[ 13.958545] Initializing XFRM netlink socket
[ 14.405572] remoteproc1: powering up 55020000.ipu
[ 14.477910] remoteproc1: Booting fw image dra7-ipu2-fw.xem4, size 3497308
[ 14.524954] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1
[ 14.772665] remoteproc1: remote processor 55020000.ipu is now up
[ 14.806990] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 14.810043] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x65
[ 14.810941] virtio_rpmsg_bus virtio0: creating channel rpmsg-rpc addr 0x66
[ 14.881355] remoteproc0: powering up 58820000.ipu
[ 14.922890] remoteproc0: Booting fw image dra7-ipu1-fw.xem4, size 4953116
[ 14.950401] omap-iommu 58882000.mmu: 58882000.mmu: version 2.1
[ 14.988124] remoteproc0: remote processor 58820000.ipu is now up
[ 15.020779] virtio_rpmsg_bus virtio1: rpmsg host is online
[ 15.022444] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x32
[ 15.022598] virtio_rpmsg_bus virtio1: creating channel rpmsg-client-sample addr 0x33
[ 15.023094] virtio_rpmsg_bus virtio1: creating channel rpmsg-omx addr 0x3c
[ 15.023204] virtio_rpmsg_bus virtio1: creating channel rpmsg-rpc addr 0x65
[ 15.084303] remoteproc3: powering up 41000000.dsp
[ 15.167328] remoteproc3: Booting fw image dra7-dsp2-fw.xe66, size 22037092
[ 15.193832] omap_hwmod: mmu0_dsp2: _wait_target_disable failed
[ 15.199727] omap-iommu 41501000.mmu: 41501000.mmu: version 3.0
[ 15.205675] omap-iommu 41502000.mmu: 41502000.mmu: version 3.0
[ 15.280954] remoteproc3: remote processor 41000000.dsp is now up
[ 15.303561] virtio_rpmsg_bus virtio2: rpmsg host is online
[ 15.303639] virtio_rpmsg_bus virtio2: creating channel rpmsg-proto addr 0x3d
[ 15.330828] remoteproc2: powering up 40800000.dsp
[ 15.353917] usbcore: registered new interface driver usbfs
[ 15.394142] usbcore: registered new interface driver hub
[ 15.409495] usbcore: registered new device driver usb
[ 15.425530] remoteproc2: Booting fw image dra7-dsp1-fw.xe66, size 22037092
[ 15.440841] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 15.446735] omap-iommu 40d01000.mmu: 40d01000.mmu: version 3.0
[ 15.452696] omap-iommu 40d02000.mmu: 40d02000.mmu: version 3.0
[ 15.466852] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 15.475677] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 15.496108] remoteproc2: remote processor 40800000.dsp is now up
[ 15.502910] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
[ 15.517416] virtio_rpmsg_bus virtio3: rpmsg host is online
[ 15.517728] virtio_rpmsg_bus virtio3: creating channel rpmsg-proto addr 0x3d
[ 15.531025] xhci-hcd xhci-hcd.1.auto: irq 474, io mem 0x48890000
[ 15.541333] remoteproc4: powering up 4b234000.pru0
[ 15.541790] hub 1-0:1.0: USB hub found
[ 15.550923] hub 1-0:1.0: 1 port detected
[ 15.556517] remoteproc4: Booting fw image am57xx-pru1_0-fw, size 74812
[ 15.567965] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 15.575697] ti-pruss 4b200000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
[ 15.590105] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[ 15.599458] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 15.607845] remoteproc4: remote processor 4b234000.pru0 is now up
[ 15.616164] virtio_rpmsg_bus virtio4: rpmsg host is online
[ 15.621724] virtio_rpmsg_bus virtio4: creating channel rpmsg-pru addr 0x1e
[ 15.633617] hub 2-0:1.0: USB hub found
[ 15.637683] hub 2-0:1.0: 1 port detected
[ 15.651382] remoteproc5: powering up 4b238000.pru1
[ 15.659934] remoteproc5: Booting fw image am57xx-pru1_1-fw, size 74812
[ 15.666908] ti-pruss 4b200000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
[ 15.682592] remoteproc5: remote processor 4b238000.pru1 is now up
[ 15.691302] virtio_rpmsg_bus virtio5: rpmsg host is online
[ 15.696840] virtio_rpmsg_bus virtio5: creating channel rpmsg-pru addr 0x1f
[ 15.712676] remoteproc6: powering up 4b2b4000.pru0
[ 15.720937] remoteproc6: Booting fw image am57xx-pru2_0-fw, size 74812
[ 15.729137] ti-pruss 4b280000.pruss: configured system_events = 0x0000000000030000 intr_channels = 0x00000005 host_intr = 0x00000005
[ 15.741640] remoteproc6: remote processor 4b2b4000.pru0 is now up
[ 15.750567] virtio_rpmsg_bus virtio6: rpmsg host is online
[ 15.756103] virtio_rpmsg_bus virtio6: creating channel rpmsg-pru addr 0x20
[ 15.781612] remoteproc7: powering up 4b2b8000.pru1
[ 15.799883] remoteproc7: Booting fw image am57xx-pru2_1-fw, size 74812
[ 15.810681] ti-pruss 4b280000.pruss: configured system_events = 0x00000000000c0000 intr_channels = 0x0000000a host_intr = 0x0000000a
[ 15.823829] remoteproc7: remote processor 4b2b8000.pru1 is now up
[ 15.832208] virtio_rpmsg_bus virtio7: rpmsg host is online
[ 15.837746] virtio_rpmsg_bus virtio7: creating channel rpmsg-pru addr 0x21
[ 15.888414] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 15.903235] rpmsg_pru rpmsg8: new rpmsg_pru device: /dev/rpmsg_pru30
[ 15.911299] rpmsg_pru rpmsg9: new rpmsg_pru device: /dev/rpmsg_pru31
[ 15.928720] rpmsg_pru rpmsg10: new rpmsg_pru device: /dev/rpmsg_pru32
[ 15.938682] rpmsg_rpc rpmsg0: probing service dce-callback with src 1024 dst 101
[ 15.952923] NET: Registered protocol family 41
[ 15.958038] rpmsg_pru rpmsg11: new rpmsg_pru device: /dev/rpmsg_pru33
[ 15.968724] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 15.985887] rpmsg_rpc rpmsg1: probing service rpmsg-dce with src 1025 dst 102
[ 15.986259] rpmsg_rpc rpmsg0: published functions = 4
[ 16.016212] hub 2-1:1.0: USB hub found
[ 16.020500] hub 2-1:1.0: 4 ports detected
[ 16.025627] rpmsg_rpc rpmsg5: probing service rpc_example_2 with src 1024 dst 101
[ 16.025952] rpmsg_rpc rpmsg1: published functions = 9
[ 16.091016] rpmsg_rpc rpmsg5: published functions = 8
[ 16.111682] hub 1-1:1.0: USB hub found
[ 16.115985] hub 1-1:1.0: 4 ports detected
[ 17.350987] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]
[ 26.045716] omap_hwmod: mmu1_dsp1: _wait_target_disable failed
[ 26.059742] omap_hwmod: mmu1_dsp2: _wait_target_disable failed
[ 26.073500] omap_hwmod: mmu0_dsp1: _wait_target_disable failed
[ 26.087292] omap_hwmod: mmu0_dsp2: _wait_target_disable failed

As you can see the vip is bound to the adv7842 subdevice. The problem is that no /dev/video1 device is registered. What could be the reason for that? Is it allowed to manually set the platform data as I did it in the probe function?

I really would appreciate your help since I am new to v4l2 an linux in general. 

Thanks and have e nice day

Marc

  • Hi Marc,

    Is it allowed to manually set the platform data as I did it in the probe function?


    This should be taken from the dts file & you should bind the adv driver with device tree. Problem is you should modify the source of adv7842.c entirely, adding support for the of.h apis.

    Have a look at the mainline kernel from kernel.org to see if this has already been done.

    Best Regards,
    Yordan
  • Hi Marc,

    I suggest you a tutorial about how to create and register manually character video device:
    01.org/.../v4l2-dev.html

    BR
    Tsvetolin Shulev
  • Hi Yordan,

    thanks for your answer. In mainline kernel, there is no support for the device tree for adv7842. We just would like to evaluate the adv7842 together with the evm5728. Our application is to record and stream video via gstreamer. Isn't there a way to hardcode some data in the existing adv7842 driver? As you can see in the log, vip and adv are bound and some settings in adv7842 are also done via i2c. So there is already something running. Our first goal is it to get the video into the evm5728. How much work is it to integrate the DT into the existing driver?
  • Hello,

    could you please tell me which of the following media formats are suitable for the vip driver?

    static const struct adv7842_format_info adv7842_formats[] = {
    { MEDIA_BUS_FMT_RGB888_1X24, ADV7842_OP_CH_SEL_RGB, true, false,
    ADV7842_OP_MODE_SEL_SDR_444 | ADV7842_OP_FORMAT_SEL_8BIT },
    { MEDIA_BUS_FMT_YUYV8_2X8, ADV7842_OP_CH_SEL_RGB, false, false,
    ADV7842_OP_MODE_SEL_SDR_422 | ADV7842_OP_FORMAT_SEL_8BIT },
    { MEDIA_BUS_FMT_YVYU8_2X8, ADV7842_OP_CH_SEL_RGB, false, true,
    ADV7842_OP_MODE_SEL_SDR_422 | ADV7842_OP_FORMAT_SEL_8BIT },
    { MEDIA_BUS_FMT_YUYV10_2X10, ADV7842_OP_CH_SEL_RGB, false, false,
    ADV7842_OP_MODE_SEL_SDR_422 | ADV7842_OP_FORMAT_SEL_10BIT },
    { MEDIA_BUS_FMT_YVYU10_2X10, ADV7842_OP_CH_SEL_RGB, false, true,
    ADV7842_OP_MODE_SEL_SDR_422 | ADV7842_OP_FORMAT_SEL_10BIT },
    { MEDIA_BUS_FMT_YUYV12_2X12, ADV7842_OP_CH_SEL_RGB, false, false,
    ADV7842_OP_MODE_SEL_SDR_422 | ADV7842_OP_FORMAT_SEL_12BIT },
    { MEDIA_BUS_FMT_YVYU12_2X12, ADV7842_OP_CH_SEL_RGB, false, true,
    ADV7842_OP_MODE_SEL_SDR_422 | ADV7842_OP_FORMAT_SEL_12BIT },
    { MEDIA_BUS_FMT_UYVY8_1X16, ADV7842_OP_CH_SEL_RBG, false, false,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_8BIT },
    { MEDIA_BUS_FMT_VYUY8_1X16, ADV7842_OP_CH_SEL_RBG, false, true,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_8BIT },
    { MEDIA_BUS_FMT_YUYV8_1X16, ADV7842_OP_CH_SEL_RGB, false, false,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_8BIT },
    { MEDIA_BUS_FMT_YVYU8_1X16, ADV7842_OP_CH_SEL_RGB, false, true,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_8BIT },
    { MEDIA_BUS_FMT_UYVY10_1X20, ADV7842_OP_CH_SEL_RBG, false, false,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_10BIT },
    { MEDIA_BUS_FMT_VYUY10_1X20, ADV7842_OP_CH_SEL_RBG, false, true,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_10BIT },
    { MEDIA_BUS_FMT_YUYV10_1X20, ADV7842_OP_CH_SEL_RGB, false, false,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_10BIT },
    { MEDIA_BUS_FMT_YVYU10_1X20, ADV7842_OP_CH_SEL_RGB, false, true,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_10BIT },
    { MEDIA_BUS_FMT_UYVY12_1X24, ADV7842_OP_CH_SEL_RBG, false, false,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_12BIT },
    { MEDIA_BUS_FMT_VYUY12_1X24, ADV7842_OP_CH_SEL_RBG, false, true,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_12BIT },
    { MEDIA_BUS_FMT_YUYV12_1X24, ADV7842_OP_CH_SEL_RGB, false, false,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_12BIT },
    { MEDIA_BUS_FMT_YVYU12_1X24, ADV7842_OP_CH_SEL_RGB, false, true,
    ADV7842_OP_MODE_SEL_SDR_422_2X | ADV7842_OP_FORMAT_SEL_12BIT },
    };
  • Hi,

    Sorry for the delay. I'm looking into it. I'll get back with my feedback.

    Best Regards,
    Yordan