Repository navigation
arm64: dts: apple: t6050: describe the K boards' trackpad actuator - #3377
Conversation
The MTP firmware on the K114s, K114c, K116s and K116c offers the trackpad's haptic engine as its "actuator" interface: the live K114s and K116s ADTs and the 27.2 DeviceTrees of the K114c and K116c all have /arm-io/dockchannel-mtp/mtp-transport/actuator, as the J714s and J716c do. The K boards' tree had no actuator node, so dockchannel-hid ignored the interface, no "Apple MTP actuator" HID device was created and hid-magicmouse found no actuator for host-driven clicks and Force Touch. The K116s only had one by way of the J714s sleep include. Add the empty actuator node to the shared K114/K116 transport. The ADT node carries only its name, type, firmware tag and personality, no click strength, so apple,click-strength stays absent and the firmware's own strength is kept. The K114s, K114c and K116c DTBs gain only the actuator node. The K116s DTB is unchanged apart from property order (identical after dtc -s), and the other seven T6050 DTBs are byte-identical. dtschema reports nothing new. Signed-off-by: Ryan Murray <[email protected]>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
K114s (14-inch M5 Pro, 27.2) at this change's DT (one-shot Aura Stage 2: Ryan's default DT plus this node and #3376's, kernel 7.3.0-42): |
There was a problem hiding this comment.
Verdict: MERGE at 920f635fcee0
Checked:
- The diff is one empty
actuator {}child in the shared K-board dtsi (t6050-k114-k116.dtsi, +7/-0), so K114s, K114c, K116s and K116c all get it. There is no board gating. - It matches the existing pattern on t602x-j414-j416, t6041-j614c-j616c and t603x-j514-j516.
- I tried to break the strength path. hid-apple-mtp-haptic looks up the
actuatorchild. With noapple,click-strengthproperty,of_property_read_u32_arrayreturns -EINVAL and the driver returns early, keeping the firmware's click. So the empty node can't write a bad strength, and the patch hard-codes no hardware values. - Booted on the K114s in the bridge tree (main 4ac70df + this + the K PRs): the bridge DTB decompiles with this node and no other actuator changes. K114S-BRINGUP's 01:16 one-shot row bound "Apple MTP actuator" to hid-apple-mtp-haptic on this DT.
- CI 4/4 green.
Not covered: no K116s/K114c boot (not in the lab). Ryan's felt check (normal press + Force Click) is still owed. The regression-row count for the merge rule is MERGETRAIN6's call.
|
@DjDeveloperr code-owner ping (6-point rule, point 6) at |
|
Merging under the 6-point rule (Ryan 09:29, permanent), at
Revert: |
Problem
On the K114s, K114c and K116c the trackpad's haptic engine never reaches Linux. dockchannel-hid only exposes the MTP interfaces that have a child node in the device tree. The K boards'
mtp-transporthas none foractuator, so the firmware's actuator interface is dropped, no "Apple MTP actuator" HID device appears, and hid-apple-mtp-haptic never binds. Host-driven clicks and Force Touch effects then fail. The firmware keeps playing its own default click. The K116s already gets the node, but only indirectly, throught6050-j714s-sleep-soc.dtsi.Change
Add an empty
actuator {}to the K boards' sharedmtp-transportint6050-k114-k116.dtsi. The ADT node (/arm-io/dockchannel-mtp/mtp-transport/actuator: Passive bootloader, image tagfdpi, personality ACT) is the same on the K114s, K116s and J714s and in the K114c and K116c 27.2 DeviceTrees. It has no click strength or calibration, soapple,click-strengthis left out and the firmware's own strength is kept. The binding already documents the child.Tested: DTB checks only so far. All 11 T6050 DTBs were built with
CHECK_DTBS=y. K114s, K114c and K116c each gain only the actuator node. K116s is identical afterdtc -s, and the other seven are byte-identical. dtschema shows no new messages. A K114s row is staged in the same one-shot boot as #3376.Risk: two-way · K114s, K114c and K116c: hid-apple-mtp-haptic binds and the host can drive the actuator; clicks keep the firmware's strength.
Still to run