Skip to content

main/linux-postmarketos-allwinner: always enable VCONN for ANX7688

Danct12 requested to merge Danct12/pmaports:chargepump-12a into master

This fixes cabledet issue due to VCONN leakage on PinePhone v1.2a which then would cause dmesg to be filled with a bunch of power enable/disable messages when there is nothing plugged in.

[   22.154156] anx7688 0-0028: plug irq (cd=1)
[   22.161376] anx7688 0-0028: eeprom0 = 0x03
[   22.161387] anx7688 0-0028: fw loaded after 40 ms
[   22.161893] anx7688 0-0028: OCM firmware loaded (version 0x2410)
[   22.165131] anx7688 0-0028: send pd packet cmd=0 05 00 32 90 01 26 12
[   22.194896] anx7688 0-0028: plug irq (cd=0)
[   22.217246] anx7688 0-0028: timeout waiting for the message queue flush
[   22.236928] anx7688 0-0028: power disabled
[   22.321934] anx7688 0-0028: plug irq (cd=1)
[   22.336904] anx7688 0-0028: cable inserted
[   22.340487] anx7688 0-0028: plug irq (cd=0)
[   22.376951] anx7688 0-0028: power enabled
[   22.434189] anx7688 0-0028: plug irq (cd=1)
[   22.441393] anx7688 0-0028: eeprom0 = 0x03
[   22.441404] anx7688 0-0028: fw loaded after 40 ms
[   22.441909] anx7688 0-0028: OCM firmware loaded (version 0x2410)
[   22.447389] anx7688 0-0028: send pd packet cmd=0 05 00 32 90 01 26 12
[   22.474944] anx7688 0-0028: plug irq (cd=0)
[   22.499467] anx7688 0-0028: timeout waiting for the message queue flush
[   22.520940] anx7688 0-0028: power disabled
[   22.605196] anx7688 0-0028: plug irq (cd=1)
[   22.620974] anx7688 0-0028: cable inserted
[   22.623791] anx7688 0-0028: plug irq (cd=0)
[   22.660929] anx7688 0-0028: power enabled
[   22.718176] anx7688 0-0028: plug irq (cd=1)
[   22.726918] anx7688 0-0028: eeprom0 = 0x03
[   22.726931] anx7688 0-0028: fw loaded after 40 ms
[   22.727446] anx7688 0-0028: OCM firmware loaded (version 0x2410)
[   22.733127] anx7688 0-0028: send pd packet cmd=0 05 00 32 90 01 26 12
[   22.758916] anx7688 0-0028: plug irq (cd=0)
[   22.786490] anx7688 0-0028: timeout waiting for the message queue flush
[   22.810282] anx7688 0-0028: power disabled
[   22.888560] anx7688 0-0028: plug irq (cd=1)
[   22.901003] anx7688 0-0028: cable inserted
[   22.907103] anx7688 0-0028: plug irq (cd=0)
[   22.940918] anx7688 0-0028: power enabled
[   22.998173] anx7688 0-0028: plug irq (cd=1)
[   23.005349] anx7688 0-0028: eeprom0 = 0x03
[   23.005361] anx7688 0-0028: fw loaded after 40 ms
[   23.005899] anx7688 0-0028: OCM firmware loaded (version 0x2410)
[   23.011561] anx7688 0-0028: send pd packet cmd=0 05 00 32 90 01 26 12
[   23.038910] anx7688 0-0028: plug irq (cd=0)
[   23.065689] anx7688 0-0028: timeout waiting for the message queue flush
[   23.084949] anx7688 0-0028: power disabled
[   23.172348] anx7688 0-0028: plug irq (cd=1)
[   23.191239] anx7688 0-0028: plug irq (cd=0)
[   23.265199] anx7688 0-0028: plug irq (cd=1)
[   23.281151] anx7688 0-0028: cable inserted
[   23.284326] anx7688 0-0028: plug irq (cd=0)
[   23.324983] anx7688 0-0028: power enabled
[   23.382232] anx7688 0-0028: plug irq (cd=1)
[   23.389343] anx7688 0-0028: eeprom0 = 0x03
[   23.389355] anx7688 0-0028: fw loaded after 40 ms
[   23.389859] anx7688 0-0028: OCM firmware loaded (version 0x2410)
[   23.396137] anx7688 0-0028: send pd packet cmd=0 05 00 32 90 01 26 12
[   23.422969] anx7688 0-0028: plug irq (cd=0)
[   23.448309] anx7688 0-0028: timeout waiting for the message queue flush
[   23.468897] anx7688 0-0028: power disabled

Tested on PinePhone v1.2a I got 2-3 days ago.

Edited by Danct12

Merge request reports