I need to use 2 cameras. I added another i2c_board_info struct to board-ompa3logic.c to tell it about the new I2C address of the 2nd camera (do I need to do more?)
I see they are detected during boot, both cameras are listed in boot log: "mt9p031 2-0048" AND "mt9p031 2-005d" but I can not establish a media link to the 2nd camera.
when I run media-ctl -p right after a fresh boot, I see that the CCDC entity somehow has the first camera listed (see below) My question is what provides that info, so I can tell it about my second camera?
From medi-ctl -p command:
- entity 5: OMAP3 ISP CCDC (3 pads, 9 links)
type V4L2 subdev subtype Unknown
device node name /dev/v4l-subdev2
pad0: Sink [SGRBG10 4096x4096]
<- "OMAP3 ISP CCP2":1 []
<- "OMAP3 ISP CSI2a":1 []
<- "mt9p031 2-0048":0 [] --- HOW DO I GET IT TO LIST THE "mt9p031 2-005d" camera here, too?
pad1: Source [SGRBG10 4096x4096]
-> "OMAP3 ISP CCDC output":0 []
-> "OMAP3 ISP resizer":0 []
pad2: Source [SGRBG10 4096x4095]
-> "OMAP3 ISP preview":0 []
-> "OMAP3 ISP AEWB":0 [ENABLED,IMMUTABLE]
-> "OMAP3 ISP AF":0 [ENABLED,IMMUTABLE]
-> "OMAP3 ISP histogram":0 [ENABLED,IMMUTABLE]