Part Number:AM5728
Tool/software: Linux
Hello,
we connected the adv7842 to the vip on the EVM572x Evaboard. Via kernel config we included the adv7842 driver which is included in the kernel sources. Adv 7842 is included as loadable module. The device tree looks like this:
&i2c5 {
status = "okay";
clock-frequency = <400000>;
adv7842@20 {
compatible = "adi,adv7842";
reg = <0x20>;
port {
adv7842_1: endpoint {
remote-endpoint = <&vin3a>;
hsync-active = <1>;
vsync-active = <1>;
data-active = <1>;
pclk-sample = <0>;
bus-width = <16>;
};
};
};
};
&vin3a {
status = "okay";
endpoint {
slave-mode;
remote-endpoint = <&adv7842_1>;
};
};
When we do an insmod of the adv7842.ko file we get the following error message:
root@am57xx-evm:/lib/modules/4.4.19-gdb0b54cdad/kernel/drivers/media/i2c# dmesg
[ 250.749130] adv7842 4-0040: No platform data!
root@am57xx-evm:/lib/modules/4.4.19-gdb0b54cdad/kernel/drivers/media/i2c# modinfo adv7842
filename: /lib/modules/4.4.19-gdb0b54cdad/kernel/drivers/media/i2c/adv7842.ko
license: GPL
author: Martin Bugge <marbugge@cisco.com>
author: Hans Verkuil <hans.verkuil@cisco.com>
description: Analog Devices ADV7842 video decoder driver
srcversion: 4F006C2154452E099328C17
alias: i2c:adv7842
depends:
intree: Y
vermagic: 4.4.19-gdb0b54cdad SMP preempt mod_unload modversions ARMv7 p2v8
parm: debug:debug level (0-2) (int)
What could be the reason for that?
Thanks for your help
Marc