Skip to content

Instantly share code, notes, and snippets.

@jannau
Created June 13, 2021 17:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jannau/11bd30b329a9d5c19630e6814a8b587d to your computer and use it in GitHub Desktop.
Save jannau/11bd30b329a9d5c19630e6814a8b587d to your computer and use it in GitHub Desktop.
apple m1 tps6598x i2c trace, initial communication after bootup, first irq might be caused by the other port, irq storm after that
I2C[63]: R[0x0f].5 0x04 0x00 0x87 0x20 0x00
I2C[63]: R[0x00].5 0x04 0x28 0x00 0x00 0x00
I2C[63]: R[0x01].5 0x04 0x18 0x32 0xcd 0x00
I2C[63]: R[0x05].17 0x10 0xc4 0x5b 0xbe 0x05 0x59 0x04 0x1b 0xa0 0xd5 0x4a 0xb4 0xdf 0x4e 0x02 0x16 0xa2
I2C[63]: R[0x2c].2 0x02 0x00
I2C[63]: R[0x2d].19 0x12 0x01 0x00 0x02 0x17 0x1f 0x1f 0x2a 0x00 0x93 0x66 0xb6 0xa2 0x02 0x00 0x22 0x00 0x00 0x00
I2C[63]: R[0x01].5 0x04 0x18 0x32 0xcd 0x00
I2C[63]: R[0x29].64 0x3f 0x08 0x01 0x03 0x00 0x11 0x40 0x03 0x00 0x44 0x20 0x03 0x00 0xbf 0x5f 0x3c 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x03 0x00 0xa2 0x06 0x00 0xff 0x3c 0x00 0x1f 0x04 0x2e 0x00 0x30 0x00 0x08 0x00 0x00 0x00 0x00 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x3f 0x83 0x75
gpio hpm:irq: W top:0x00 group:0 u15:0 u14:1 u13:1 u12:0 u11:1 u10:0 cfg_done:1 u8:1 u7:1 u6:0 periph:0 u4:0 irq:0x3 val:0
IRQ: gpio: 190
gpio: IRQ group 0 active: hpm:irq
gpio hpm:irq: W top:0x00 group:0 u15:0 u14:1 u13:1 u12:0 u11:1 u10:0 cfg_done:1 u8:1 u7:1 u6:0 periph:0 u4:0 irq:0x0 val:0
gpio: IRQ group 0 masking: hpm:irq
I2C[63]: R[0x1a].5 0x04 0xed 0x48 0x02 0x10
I2C[63]: R[0x5f].6 0x05 0x71 0x00 0x00 0x00 0x00
I2C[63]: R[0x5e].19 0x12 0x00 0x00 0x00 0x44 0x44 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
I2C[63]: R[0x50].5 0x06 0x00 0x00 0x00 0x00
I2C[63]: R[0x20].2 0x01 0x00
I2C[63]: R[0x14].10 0x0b 0x00 0x05 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment