Cam 2 unable to be detected / I2C bus 7 timeout. Pinmux value errors can’t be corrected using device tree (5.0.2 or 5.0.1 DP). Are there other methods I should be using to correct the pinmux register values. When they are correct (ie as in 4.6.1 and the 4.0.0 driver) the second camera detection works and no timeout on TX2 board on XAVIER AGX bus 7.
pinmux register dump of working case:
Bank: 1 Reg: 0x0c302018 Val: 0x00000440 → gen8_i2c_sda_pdd2
Bank: 1 Reg: 0x0c302020 Val: 0x00000440 → gen8_i2c_scl_pdd1
pinmux register dump of non working case:
Bank: 1 Reg: 0x0c302018 Val: 0x00000540 → gen8_i2c_sda_pdd2
Bank: 1 Reg: 0x0c302020 Val: 0x00000540 → gen8_i2c_scl_pdd1
The expected and correct value is 0x00000440 (bit-8 (E_LPDR) is 0)
But pinmux value in jetpack 5.0.2 + avt beta driver is 0x00000540 (bit-8 (E_LPDR) is 1)
Pinmux registers bit-8 (E_LPDR) state is not reflecting at all
That causing instability with i2c7 lines
nvidia,lpdr = <TEGRA_PIN_DISABLE>; means bit-8 E_LPDR property must be 0, but its is not happening with latest jetpack (5.0.2)
4.6.1 has correct register values and all other jetpack version are incorrect. Changes to pinmux do not result in fixing the issue.