Repository navigation
arm64: dts: apple: t6030-j514s: describe the Touch ID data-ready line - #3794
Conversation
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
🔵 Needs a closer look
J514S on-device validation remains outstanding to confirm data-ready IRQ delivery and enrollment/matching with the updated Stage 2 DTB, which static inspection cannot establish.
No open issues 🎉
What changed in this PR
This PR describes the J514s Touch ID sensor’s data-ready interrupt, supplying the IRQ required by the current SEP driver for sensor initialization.
Changes:
- Configure AP GPIO 200 as a rising-edge interrupt on the J514s
&mesanode. - Update device-tree tests to verify the interrupt controller and interrupt cells.
Hardware Touch ID bring-up and fingered enrollment remain unverified.
| File | Description |
|---|---|
tools/aurora-sep/tests/test_t6030_sep.py |
Assert the AP interrupt-controller phandle and GPIO 200 rising-edge configuration. |
arch/arm64/boot/dts/apple/t6030-j514s.dts |
Add the data-ready IRQ properties and update the sensor comment. |
Review effort: Balanced
The J514S Touch ID sensor (/arm-io/spi2/mesa) has its data-ready line on AP GPIO 200 (rising edge), matching the ADT encoding used on J613/J615 (AP GPIO 199) and J713. Without the interrupt described in the device tree, apple-sep sensor bring-up fails because sbio requires a data-ready IRQ rather than falling back to polling. Describe the interrupt line on &mesa in t6030-j514s.dts and update tools/aurora-sep/tests/test_t6030_sep.py to verify both the resolved pinctrl_ap phandle and the <200 IRQ_TYPE_EDGE_RISING> cells. Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
1523875 to
b3ae85b
Compare
DjDeveloperr
left a comment
There was a problem hiding this comment.
Correct: same encoding as J613/J615 (#2678), and the test now pins the parent and the cells.
One gate remains before merge: a J514s boot with this DTB showing the sensor probes and its data-ready IRQ fires (the count in /proc/interrupts goes up on a touch, or enrollment works). The compiled-DTB check doesn't cover that.
|
Merge status: one item left, a J514s boot with this DTB. The change is approved, and its merge into current To close it, please boot the J514s with a DTB built from this PR (a lab run keeps the old One boot of a DTB that carries this PR and #3793 unchanged counts for both. Local checks on the merge result (hosted CI stand-in)
|
|
Merging at |
Problem
arch/arm64/boot/dts/apple/t6030-j514s.dtsenables&mesa(apple,mesa-fingerprint) on&spi2without its data-ready interrupt line (AP GPIO 200, noted in the file's own ADT comment). On currentmain,drivers/soc/apple/sbio.rsrequires the data-ready IRQ rather than falling back to polling, so sensor bring-up fails without it.Change
interrupt-parent = <&pinctrl_ap>;andinterrupts = <200 IRQ_TYPE_EDGE_RISING>;to&mesainarch/arm64/boot/dts/apple/t6030-j514s.dts(matching the J514s ADT/arm-io/spi2/mesaencoding and arm64: dts: apple: t8122-j613-j615: describe the Touch ID data-ready line #2678 for J613/J615).tools/aurora-sep/tests/test_t6030_sep.pyto assert both the resolved/soc/pinctrl@347100000phandle and[200, IRQ_TYPE_EDGE_RISING].Tested: J514S (
t6030-j514s.dts) at 1523875:checkpatch.plclean, compiledt6030-j514s.dtbpasses all 4 assertions intools/aurora-sep/tests/test_t6030_sep.py(Stage 2boot.binDTB swap and fingered Touch ID enrollment on J514S still pending; requires hands at the machine).Risk: two-way · J514S (T6030)
&mesaTouch ID sensor node only.