Hi Vasily,
On 14/2/20 23:22, Vasily Khoruzhick wrote:
On Fri, Feb 14, 2020 at 2:20 PM Enric Balletbo Serra eballetbo@gmail.com wrote:
Hi Vasily,
Missatge de Vasily Khoruzhick anarsoul@gmail.com del dia dv., 14 de febr. 2020 a les 23:17:
On Fri, Feb 14, 2020 at 1:53 PM Enric Balletbo Serra eballetbo@gmail.com wrote:
Hi Vasily,
Missatge de Vasily Khoruzhick anarsoul@gmail.com del dia dv., 14 de febr. 2020 a les 22:36:
On Thu, Feb 13, 2020 at 6:54 AM Enric Balletbo i Serra enric.balletbo@collabora.com wrote:
From: Nicolas Boichat drinkcat@chromium.org
ANX7688 is a HDMI to DP converter (as well as USB-C port controller), that has an internal microcontroller.
The only reason a Linux kernel driver is necessary is to reject resolutions that require more bandwidth than what is available on the DP side. DP bandwidth and lane count are reported by the bridge via 2 registers on I2C.
It is true only for your particular platform where usb-c part is managed by firmware. Pinephone has the same anx7688 but linux will need a driver that manages usb-c in addition to DP.
I'd suggest making it MFD driver from the beginning, or at least make proper bindings so we don't have to rework it and introduce binding incompatibilities in future.
Do you have example code on how the ANX7866 is used in pinephone? There is a repo somewhere?
I don't think it's implemented yet. I've CCed Icenowy in case if she has anything.
It would be good to join the effort. Just because I am curious, there are public schematics for the pinephone that is using that bridge?
Schematics is available here: https://wiki.pine64.org/index.php/PinePhone_v1.1_-_Braveheart#Schematic
Would you mind to check which firmware version is running the anx7688 in PinePhone, I think should be easy to check with i2c-tools.
Thanks in advance, Enric
[snip]