Adv748x kernel 4.9

Hi. Is anybody runs adv748x driver on 4.9 JetPack kernel? I hopefully build driver from 4.20 kernel, insert it into monolith kernel. It runs without any error, but /dev/video0 file does not appear. I don’t know why. Driver, dtsi and dmesg log available by link below:


Thanks.

Have reference to below topic. Also the github for source.

Hi, when I try to buils torvalds/linux drivers it sas next errors:
drivers/media/i2c/adv748x/adv748x-csi2.c: In function ‘adv748x_csi2_init’:
drivers/media/i2c/adv748x/adv748x-csi2.c:291:9: error: ‘struct v4l2_subdev’ has no member named ‘fwnode’; did you mean ‘of_node’?
tx->sd.fwnode = of_fwnode_handle(ep);
^~~~~~
of_node
drivers/media/i2c/adv748x/adv748x-csi2.c:291:18: error: implicit declaration of function ‘of_fwnode_handle’; did you mean ‘of_parse_phandle’? [-Werror=implicit-function-declaration]
tx->sd.fwnode = of_fwnode_handle(ep);
^~~~~~~~~~~~~~~~
of_parse_phandle
cc1: all warnings being treated as errors
scripts/Makefile.build:335: recipe for target ‘drivers/media/i2c/adv748x/adv748x-csi2.o’ failed