Skip to content

arm64: dts: apple: t6041-j614c-j616c: enable the AOP light and motion sensors - #1466

Merged
RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-j614c-aop-sensors
Nov 12, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-j614c-aop-sensors

Conversation

@joske

@joske joske commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

The M4 Max laptops disable the AOP's als and las nodes, and they have none of the accelerometer, gyroscope, devmotion6 or ALS-temperature nodes that the M4 Pro boards have (t6040.dtsi, t604x-j614-j616.dtsi).

I read the J614c's ADT (26.6.2) from the running machine. It has the J614s's als, accel and gyro services under /arm-io/aop/iop-aop-nub, and the J616c's 26.6.2 dump has them too. The AOP firmware already finds the light sensor at boot: [ALS1] VD6286 -- Found device. On T6041 the loader copies the accelerometer's and gyroscope's calibration into accel and gyro nodes, as it does on T6040.

This enables als and las, and adds the M4 Pro's accel (marked as in the base), gyro, devmotion6 and als-temp nodes.

Tested on the J614c. All six register as IIO devices with sensible readings:

  • als: 43.7 lux, 3988 K;
  • las: lid angle 111;
  • accel and gyro: gravity on z;
  • devmotion6: rotation quaternion;
  • als-temp: 28.3 °C.

Not tested on the J616c.

🤖 Generated with Claude Code

… sensors

The M4 Max laptops disable the AOP's ambient light sensor nodes and have
no accelerometer, gyroscope, devmotion6 or ALS temperature nodes, which
the M4 Pro boards have (t6040.dtsi, t604x-j614-j616.dtsi).

The J614c's ADT (26.6.2, read from the running machine) has the J614s's
als, accel and gyro services under /arm-io/aop/iop-aop-nub, and its AOP
firmware finds the light sensor at boot ("[ALS1] VD6286 -- Found
device"). The loader copies the accelerometer's and gyroscope's
calibration from those services into the AOP's accel and gyro nodes on
T6041 as on T6040.

Enable als and las, and add the M4 Pro's accel (in the base), gyro,
devmotion6 and als-temp nodes.

Signed-off-by: Jos Dehaes <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

@RyanTheTide RyanTheTide left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matches the M4 Pro AOP nodes and the existing t6041 bindings. Tested on J614c. Looks good.

@RyanTheTide
RyanTheTide merged commit 41f6f97 into aurora-silicon:integration/aurora Nov 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants