Other Parts Discussed in Thread: TVP5150AM1, TMDSEVM572X, TVP5150, BEAGLEBOARD-X15, DRA752, TMP102, PMP, TVP7002
hello
I want to add device tree for TVP5150AM1 in AM5728 EVM linux SDK and use it instead od Camera module. my SDK version is 06.00.00.07 with kernel version 4.19.38. my EVM (TMDSEVM572x) revision is A3A.
I think I should do that as bellow order :
1- edit the dts file am57xx-evm-reva3.dtso in path ~/ti-processor-sdk-linux-am57xx-evm-06.00.00.07/board-support/linux-4.19.38+gitAUTOINC+4dae378bbe-g4dae378bbe/arch/arm/boot/dts/ti
for adding TVP5150AM1 nodes as :
&i2c5 {
tvp5150: tvp5150@5d {
compatible = "ti,tvp5150";
reg = <0x5d>;
port {
tvp5150_1: endpoint {
remote-endpoint = <&vin3a>;
channels = <0>;
};
};
};
};
&gpio6 {
p11 {
gpio-hog;
gpios = <11 GPIO_ACTIVE_LOW>;
output-high;
line-name = "cm-camen-gpio";
};
};
&gpio4 {
p17 {
gpio-hog;
gpios = <17 GPIO_ACTIVE_HIGH>;
output-high;
line-name = "reset-gpios_gpio4_17";
};
};
&vip2 {
status = "okay";
};
&vin3a {
status = "okay";
pinctrl-0 = <&vin3a_pins_default>;
endpoint {
slave-mode;
remote-endpoint = <&tvp5150_1>;
bus_width = <8>;
};
};
2- run command "make linux" at path ~/ti-processor-sdk-linux-am57xx-evm-06.00.00.07 for compiling and generating new dtb file am57xx-evm-reva3.dtb
3- add a line at uEnv.txt (at boot path of file system) as bellow for using this dtb when booting up :
fdtfile=am57xx-evm-reva3.dtb
4- reboot EVM
I did these steps , but after boot up the TVP5150AM1 is not detected as video device.
I wonder if I did incorrect ?!
any help will be appreciated.
Best Regards,
Ali