Beta9 breaks docking/HDMI out on pinephone beta
Hey
I spent a while debugging today why video out does not work.
It works fine on beta4 and beta6 but not on beta9.
I believe it's down to kernel versions -- beta6 on 5.11.1-1-MANJARO-ARM was fine (and beta4 on 5.10.1.-1) but beta9 on 5.12.2-2-MANJARO-ARM breaks.
I tried both firmware versions available -- 0x2410 and 0x2312 with no difference.
Also tried with and without power on the dock -- no difference on video.
It seems like this does not affect older versions of the phone.
From kernel logs, the only difference we saw on the anx7688 driver was:
New/Not working phone had
[ 7.717790] anx7688 1-0028: eeprom0 = 0x01
Old/Working phone had:
[ 60.159179] anx7688 1-0028: eeprom0 = 0x03
A non working HDMI connection logs:
[ 83.021601] anx7688 1-0028: DP state changed to 0x03 ]
A working HDMI connection logs:
[ 1906.401598] anx7688 1-0028: DP state changed to 0x04
[ 1907.430294] anx7688 1-0028: DP state changed to 0x06
Feel free to read our ramblings here but I tried to extract everything I considereded meaningful for the issue