From b5efdaffdcdc0eaf8574a23c6e86af0df4cb85fe Mon Sep 17 00:00:00 2001 From: chrisohearn <137103567+chrisohearn@users.noreply.github.com> Date: Mon, 16 Nov 2026 19:08:26 -0700 Subject: [PATCH] soc: apple: sep: Admit the K114s to the T6050 profile The K114s (MacBook Pro 14-inch, M5 Pro, OLED; Mac17,13) ADT describes the J714s's SEP: iop-sep at 0x502600000 and 0x502050000 (interrupts 533 to 536), dart-sep at 0x500b80000 with vm-base-0 0x10000004000 and vm-size-0 0xffff0000, and the Mesa sensor (sensor-id 0x3356, V3) on spi2 at 0x505108000, 8 MHz, powered by nub-gpio0 pin 21 with data ready on AP GPIO 138. Those are the values #1587 validated on the J714s and #1649 admitted for the K116s, so the K114s takes the T6050 profile as the K116s does. With the profile and a tree that enables the SEP and the sensor, the driver attaches on a K114s read-only (xart_writes=0 provision_keybag=0): warm bootstrap, 13 endpoints, key store open, hwrng registered, one APFS-resolved .gl extent with 11 valid records. Link: https://github.com/aurora-silicon/linux/pull/1649 Assisted-by: LLM Co-Authored-By: Claude Opus 5.5 Signed-off-by: chrisohearn <137103567+chrisohearn@users.noreply.github.com> --- drivers/soc/apple/profile.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/soc/apple/profile.rs b/drivers/soc/apple/profile.rs index c87d46f44eb9f..945ca43e897ff 100644 --- a/drivers/soc/apple/profile.rs +++ b/drivers/soc/apple/profile.rs @@ -468,7 +468,7 @@ pub(crate) const T6041: PlatformProfile = PlatformProfile { /// 0x3356) on spi2 at `0x505108000`, 8 MHz, chip select 0. That is J616s's /// SEP, so T6040's profile with this sensor bus. pub(crate) const T6050: PlatformProfile = PlatformProfile { - name: "T6050/J714s, K116s", + name: "T6050/J714s, K116s, K114s", sensor: SensorProfile { controller_base: 0x5_0510_8000, ..T6040.sensor @@ -703,7 +703,9 @@ fn select( if has(b"apple,t6041") && (has(b"apple,j616c") || has(b"apple,j614c")) { return Ok(&T6041); } - if has(b"apple,t6050") && (has(b"apple,j714s") || has(b"apple,k116s")) { + if has(b"apple,t6050") + && (has(b"apple,j714s") || has(b"apple,k116s") || has(b"apple,k114s")) + { return Ok(&T6050); } // Only the M4 MacBook Airs: the other T8132 Macs are unread. @@ -796,6 +798,7 @@ mod tests { assert_eq!(picked(&[b"apple,j713", b"apple,t6041"]), None); assert_eq!(picked(&[b"apple,j714s", b"apple,t6050"]), Some(T6050.name)); assert_eq!(picked(&[b"apple,k116s", b"apple,t6050"]), Some(T6050.name)); + assert_eq!(picked(&[b"apple,k114s", b"apple,t6050"]), Some(T6050.name)); assert_eq!(picked(&[b"apple,t6050"]), None); }