tps6598x: INT_MASK1 register gets thrashed
I'm not sure why and I haven't noticed any bad consequences in behavior, but I've noticed that interrupt mask register can sometimes be set to weird values.
To reproduce:
- Boot with USB-PD charger attached.
- Observe a correct value of the register:
purism@evergreen:~$ sudo i2ctransfer -f -y 0 w1@0x3f 0x16 r9
0x08 0x0a 0x10 0x80 0x07 0x00 0x00 0x00 0x00
- Disconnect the charger.
- Observe something weird happening to the register:
purism@evergreen:~$ sudo i2ctransfer -f -y 0 w1@0x3f 0x16 r9
0x08 0xff 0xff 0xfe 0xff 0xdf 0x46 0x00 0x0f