I try to develop a driver for OV2740 in TX2. My steps is as follow:
- Sort out all file contain the word “OV5693” as a reference.
- Create the file “ov2740.c”, ov2740.h" & “ov2740_mode_tbls.h”.
- I noticed that the file “tegra210-jetson-cv-camera-modules.dtsi” contain the following code:
i2c@546C0000 {
e3326_cam0: ov5639_c@36 {
status = “disabled”;
};
…
cam_tca9548_77: tca9548@77 {
status = “disabled”;
i2c@0 {
e3333_cam0: ov5693_a@36 {
status = “disabled”;
};
…
I intend to copy this section of code then change the word “ov5639” to “ov2740”.
My question is as below:
- What is the meaning of those numbers “546C0000”, “e3326”, “@36”, “tca9548_77”. “@77” & “e3333”?
- What number I should use after I copy this section of code and change the wording to “OV2740”?
- Is there any other advice for developing driver for “OV2740”?
Thx.