Closed libv closed 4 years ago
By verifying that this thing works, we can finalize the design of the ADV7611 based board.
The pin works, i am getting some interrupts when the TFP401 is connected. Now i need to type up the code that ties it properly into our CSI1 driver.
[ 1365.156976] sun4i_csi1_active_isr(): Link active. [ 1380.641482] sun4i_csi1_active_isr(): Link lost.
A bit more work is needed on both driver and userspace side to make this better, issue #18 and issue #19 have been opened. I have spent too much time on this topic already, and the resulting code is good enough for now.
Interrupt works, userspace tool somewhat responds correctly
Kernel commits: 37daf69042^..7f87856f344 (2) 2 files changed, 3 insertions(+), 1 deletion(-) https://github.com/libv/fosdem-video-linux/commits/master CSI driver commits: ef386ac765^..a0d49bfb7b (3) 1 file changed, 119 insertions(+), 3 deletions(-) https://github.com/libv/sun4i-csi1/commits/master Juggler tool commits: 60d992f78d^..ee52f067b7 (11) 9 files changed, 453 insertions(+), 57 deletions(-)
PH7/EINT7 should be tied to ADV7611 Int1 pin (). It is recommended to also tie ADV7611 Int2 to the allwinner SoC, to differentiate between stream interruption and minor config changes.
Implement the HDMI status interrupt from the tfp401.