Repository navigation
arm64: apple: enable M5 J813 temperatures, input and keyboard backlight - #164
Merged
Merged
Conversation
Describe the T8142 mailbox, SMC, MTP, DART and PWM resources. Add explicit contracts for runtime temperature discovery and firmware-owned trackpad reset without embedding sensor tables or calibration. Signed-off-by: Acelogic <[email protected]>
Enumerate readable float temperature keys from the running SMC and label them by key identity. Keep dynamically assigned channels separate from static thermal policy, and leave existing board sensor definitions unchanged. Signed-off-by: Acelogic <[email protected]>
Support power method 2 when the MTP firmware owns reset, reject conflicting GPIO ownership, and announce AP readiness before the T8142 MTP power acknowledgment. Preserve the existing sequence for other coprocessors and host-controlled trackpads. Signed-off-by: Acelogic <[email protected]>
Describe the MTP, SMC and PWM resources needed by the existing generic drivers. Request trackpad firmware externally, obtain keyboard layout through the loader, and use runtime sensor discovery with a linear LED brightness scale. Signed-off-by: Acelogic <[email protected]>
Document the external firmware contract and qualification limits. Add an explicitly manual RAM-boot check that records temperatures, restores backlight brightness and counts physical input events without retaining key codes or pointer coordinates. Signed-off-by: Acelogic <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable M5 J813 temperature monitoring, built-in keyboard and trackpad, and keyboard-backlight control on
aurora-wip.apple/tpmtfw-j813.bin, and use the standard LED/PWM interfaces with a linear brightness scale.No Apple firmware, extracted calibration, captured command buffers, fixed sensor inventory or per-machine keyboard layout is included. Users must provide their own trackpad firmware, extracted from an appropriate Apple IPSW either manually or automatically as an installation step, and make it available locally as
apple/tpmtfw-j813.bin. Firmware extraction and installer integration are outside the scope of this PR.Validation:
0c89fc1cand U-Boot5a510be0, with uploaded payload hashes verified.This adds temperature reporting, not cooling-policy or sustained-load qualification. Suspend/resume and fresh physical boots on older chips remain unqualified. Reproduction steps and the external-firmware contract are in
Documentation/arch/arm64/apple-j813.rst.