AnsweredAssumed Answered

imx6q sabresd   adv7180   android6.0 

Question asked by black huang on Aug 9, 2019
Latest reply on Aug 15, 2019 by black huang

Dear NXP fae,
I am sorry to bother you. I am using imx6q sabresd to transplant adv7180, and the system is using android6.0
Add the following to the device tree:
adv7180: adv7180@21 {
compatible = "adv,adv7180";
reg = <0x21>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_ipu1_2>;
clocks = <&clks 201>;
clock-names = "csi_mclk";
DOVDD-supply = <&vgen6_reg>; /* 3.3v, enabled via 2.8 VGEN6 */
AVDD-supply = <&vgen4_reg>; /* 1.8v */
DVDD-supply = <&vgen4_reg>; /* 1.8v */
PVDD-supply = <&vgen4_reg>; /* 1.8v */

pwn-gpios = <&gpio1 16 1>; /* powerdown */
rst-gpios = <&gpio1 17 1>; /* tied to P111 GPIO3_CAM1_RST */
csi_id = <0>;
mclk = <24000000>;
mclk_source = <0>;
cvbs = <1>;
ipu_id = <1>;

};

the driver use:./drivers/media/platform/mxc/capture/adv7180.c


start logo:
vivid-000: using single planar format API
vivid-000: V4L2 capture device registered as video0
vivid-000: V4L2 output device registered as video1
vivid-000: V4L2 capture device registered as vbi0, supports raw and sliced VBI
vivid-000: V4L2 output device registered as vbi1, supports raw and sliced VBI
vivid-000: V4L2 capture device registered as swradio0
vivid-000: V4L2 receiver device registered as radio0
vivid-000: V4L2 transmitter device registered as radio1
vim2m vim2m.0: Device registered as /dev/video2
DBG sensor data is at c1251cb8
usb 1-1: new high-speed USB device number 2 using ci_hdrc
mxc_v4l2_output v4l2_out: V4L2 device registered as video16
mxc_v4l2_output v4l2_out: V4L2 device registered as video17
usbcore: registered new interface driver uvcvideo

 

Analog camera inserts:
ERROR: v4l2 capture: slave not found!

 

I would like to ask if you have any other mistakes.In addition, what is more important is how to conduct the test.
Is it convenient for you to provide relevant documents?

/unit_tests/mxc_v4l2_tvin.out How did the file get there?

 

No contact before, please give me more advice!!

Outcomes