Repository navigation
dt-bindings: chosen: document Apple T8132 DAPF hand-off properties - #3106
Merged
Merged
Conversation
Register the linux-enablement-mac vendor prefix and describe the three /chosen string-array properties read by Aura's T8132 DAPF hand-off path (src/dapf.c) and already used in the T8132 board device trees (t8132-jxxx.dtsi, t8132-laptop.dtsi, t8132-j604.dts): - linux-enablement-mac,dapf-handoff - linux-enablement-mac,dapf-power-on-handoff - linux-enablement-mac,dapf-halted-handoff This removes the existing dt-validate warnings on T8132 /chosen nodes and unblocks board trees adding linux-enablement-mac,dapf-halted-handoff. Signed-off-by: Diljit Singh <[email protected]>
|
Merge readiness at
Areas: none matched in CODEOWNERS Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
AxxzyWasTaken
pushed a commit
to AxxzyWasTaken/linux
that referenced
this pull request
Nov 25, 2026
Upstream dtschema's chosen.yaml sets additionalProperties: false, so dt-validate still reports every in-tree /chosen property (even those documented under Documentation/devicetree/bindings/chosen/*.yaml as in PR aurora-silicon#3106) as not matching any regex in chosen.yaml. Adding another documented /chosen property (such as linux-enablement-mac,dapf-halted-handoff in aurora-silicon#2745 for t8132-j715.dtb) changes the quoted property list in that warning line, causing apple-dt-check.sh to fail with a false positive. Fix this without shadowing upstream chosen.yaml: - Document linux-enablement-mac,disk-boot (used in t8132-jxxx.dtsi) in Documentation/devicetree/bindings/chosen/linux-enablement-mac,disk-boot.yaml. - In scripts/dtc/apple-dt-check.sh, parse properties documented under Documentation/devicetree/bindings/chosen/*.yaml for each checked revision and subtract only those documented property names from 'chosen: ... do(es) not match any of the regexes:' lines. Lines are dropped only when every listed property is documented in bindings/chosen/*.yaml. Any undocumented /chosen property remains reported (with singular/plural verb normalized), and all non-/chosen warnings and schema type/value checks continue to fail as before. Signed-off-by: Diljit Singh <[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.
Summary
Documents the three Apple T8132
/chosenDAPF hand-off properties read by Aura'ssrc/dapf.cand used byt8132-jxxx.dtsi,t8132-laptop.dtsi,t8132-j604.dts, and #2745 (t8132-j715.dts):Documentation/devicetree/bindings/vendor-prefixes.yaml: register^linux-enablement-mac,.*Documentation/devicetree/bindings/chosen/linux-enablement-mac,dapf-handoff.yaml: documentlinux-enablement-mac,dapf-handoff,linux-enablement-mac,dapf-power-on-handoff, andlinux-enablement-mac,dapf-halted-handoffasstring-arrayThis eliminates the
dt-validatewarnings on T8132/chosennodes and unblocks #2745'sdt-checksjob.Risk
CHECK_DTBSanddt_binding_check) only.Tested
97d8a30c021a8bdca784e7cccd791d5c6bc3de80.CHECK_DTBSacross all 138 Apple DTBs anddt_binding_checkrun via PRdt-checksCI.Not yet