Also like I explained in other post of same discussion, ACTIVE we will be 1 even when other parallel pads are under calibration.
On 8/6/20 9:37 AM, Dmitry Osipenko wrote:
06.08.2020 19:13, Dmitry Osipenko пишет:
06.08.2020 18:59, Sowjanya Komatineni пишет:IIUC, the start_calibration() should wait for the MIPI_CAL_STATUS_ACTIVE
..
We cant use active status check for specific pads under calibration.I'm not sure why this is a problem.
This is common bit for all pads.
and finish_calibration() should wait for MIPI_AUTO_CAL_DONE_CSIA/B.
As soon as START bit it set, FSM will set ACTIVE = 1
There is no added advantage of waiting for ACTIVE to be in start_calibration()