You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm trying to get the touchscreen working on an iPad mini 2 (iPad4,4, J85) with your Linux tree (7.3.0-rc1). Here is what I found, in case it helps others, and I have one question.
SPI: spi1 is not the Samsung s3c64xx block. Its registers match drivers/spi/spi-apple.c (CTRL 0x00, CFG 0x04, STATUS 0x08, PIN 0x0c, TXDATA 0x10, RXDATA 0x20, CLKDIV 0x30, RXCNT 0x34, TXCNT 0x4c). On A7, STATUS uses different bits: 0x30 after RUN, 0x70 after 1 byte, 0x130 after 4 bytes (bits 6-8 look like a byte counter). FIFOSTAT and IF_XFER stay 0 and no IRQ fires, so spi-apple.c times out (-110).
PMU: pmu,d2089 at I2C 0x3c on bus 0, 16-bit register addresses. I dumped 0x000-0x7ff: structured blocks at 0x100-0x1d5 (0x20 bytes each), 0x300+8n (looks like per-rail settings, ~20 entries), 0x400-0x4ef and 0x600-0x623. The whole 0x200-0x2ff range reads as zero.
Question: how are the pmuL(0x2xx) numbers mapped to PMU registers? Is 0x200+n a write-only enable register for rail n, with the voltage in the 0x300+8n entry? Does anyone have the D2089 register map or the minimal sequence to enable the touch rails? I don't want to write blindly to the PMU.
Activity