Hello
I am trying to add support for an ADV748x IC to my application using a TX2 NX,
I tried creating my own dtsi file which contains the following block of code:
i2c@c240000 {
video-receiver@71 {
compatible = "adi,adv7481";
reg = <0x70 0x71 0x72 0x73 0x74 0x75
0x60 0x61 0x62 0x63 0x64 0x65>;
reg-names = "main", "dpll", "cp", "hdmi", "edid", "repeater",
"infoframe", "cbus", "cec", "sdp", "txa", "txb";
#address-cells = <1>;
#size-cells = <0>;
port@7 {
reg = <7>;
adv7482_ain7: endpoint {
};
};
port@8 {
reg = <8>;
adv7481_hdmi: endpoint {
remote-endpoint = <&hdmi_in_con>;
};
};
port@a {
reg = <10>;
adv7481_out0: endpoint {
bus-width = <4>;
clock-lanes = <0>;
data-lanes = <1 2 3 4>;
remote-endpoint = <&adv_csi_in2>;
};
};
port@b {
reg = <11>;
adv7482_txb: endpoint {
clock-lanes = <0>;
data-lanes = <1>;
//remote-endpoint = <&csi20_in>;
};
};
};
};
When I loaded the driver, I noted that no device nodes, and endpoints were created.
I decompiled the resultant device tree and noted the my entry for video-receiver@71 in i2c@c240000 was missing. I added my entry for video-receiver@71, and recompiled the device tree, and after rebooting and then loading the driver noted that the device driver was creating endpoints.
My question is what to I need to do with the device tree source for the TX2 NX to make sure that it includes my entry for video-receiver@71? If I add spurious charactors to my code, the device tree fails with an error as expected, so I know it’s including my dtsi file and parsing it.
Thanks in advance
Andrew