Part Number:AM5728
Tool/software: Linux
I'm trying to binding adv7180 video decoder with vip2.
I've added the following strings in the dts file:
&i2c4 {
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c4_pins_default>;
status = "okay";
/* adv video decoder with slave address 0x20 */
video_decoder: adv7180@20 {
compatible = "adi,adv7180";
reg = <0x20>;
port {
video_input: endpoint {
remote-endpoint = <&vin3a>;
pclk-sample = <0>;
channels = <0>;
};
};
};
&vin3a {
status = "okay";
endpoint {
slave-mode;
remote-endpoint = <&video_input>;
};
};
adv7180 was registered as video1:
[ 0.564240] Linux video capture interface: v2.00
[ 10.444046] vpe 489d0000.vpe: Device registered as /dev/video0
[ 10.053927] adv7180 3-0020: chip found @ 0x20 (OMAP I2C adapter)
[ 10.696094] vip2-s0: Port A: Using subdev adv7180 3-0020 for capture
[ 10.706569] vip2-s0: device registered as video1
But when I'm trying to launch yavta test, like this "yavta -c10 -fYUYV -Fvout_test.yuv -s720x576 /dev/video1", kernel breaks with log, attached below.
How can I fix this problem?
(Please visit the site to view this file)