Repository navigation
arm64: dts: apple: t8132-dcp: add #address-cells and #size-cells to dcp - #4004
Conversation
The dcp@30ae00000 node defines child nodes (such as piodma) without declaring #address-cells or #size-cells, triggering repeated OF "Missing '#address-cells'/'#size-cells'" WARN_ON() traces at boot on T8132 boards. Add #address-cells = <2> and #size-cells = <2> to dcp@30ae00000. Signed-off-by: Espen Trydal <espen@trydal.io>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Approve at 4c85a32bbc87. The only board where this does anything at run time is the J604, and there it only removes the warning.
- J713, J715: they already set both properties in
t8132-j713-j715.dtsi. With properties sorted, their DTBs are identical to main's. - J773g, J623, J624: the two properties land on a
dcpnode that is disabled, with a disabledpiodmachild, so no device is created from either. - J604: without the properties, the kernel warns once and walks up to
/soc, which has 2 and 2. The lookup returns the same cells as before, so nothing is parsed differently. I also found no use of this node's cells in aura'skboot.c.
Checked on the merge with main b902937859ec: the J604, J713, J715, J773g, J623 and J624 DTBs build, and dt-validate output is the same as main's on all six. checkpatch --strict is clean. The full host tests pass on the six PRs of this series merged together (1028/1028). dtc W=1 now prints avoid_unnecessary_addr_size for the J604, J773g, J623 and J624, as it already does for the J713 and J715. That warning is not part of dt-checks.
Still owed before merge: one J604 boot at this exact head, which you list as not done. It should show no Missing '#address-cells' or '#size-cells' line for /soc/dcp@30ae00000, and the panel up. No other board needs a row.
|
Landing this at
Hosted checks didn't run on this fork PR, so I ran them locally on the merge with main
What changes in the DTBs: the J713 and J715 are the same once properties are sorted. The J604 gains only the two properties, with the values dtc at |
What: Add
#address-cells = <2>and#size-cells = <2>todcp@30ae00000inarch/arm64/boot/dts/apple/t8132-dcp.dtsi. The node defines child nodes (such aspiodma) without declaring address/size cells, triggering repeated OFMissing '#address-cells'/Missing '#size-cells'WARN_ON()traces at boot on T8132 boards.Tested:
4c85a32bbc8(base53732c475cb):scripts/checkpatch.pl --strict: 0 errors, 0 warnings, 0 checks.make LLVM=1 ARCH=arm64 apple/t8132-j604.dtb apple/t8132-j713.dtb apple/t8132-j773g.dtb: 0 errors, 0 warnings.apple,j604/apple,t8132, OS/system fw26.6.2,mBoot-18000.161.10,aura 1.0.0b18, Arch Linux ARM,7.3.0-j604-dev+carrying this commit): all boot-time OFMissing '#address-cells'/'#size-cells'WARNs are gone, kernel taint is8196(noTAINT_WARN), 0 failed units, 0 new kernel errors.Risk: two-way door · M4 (
t8132) boards includingt8132-dcp.dtsi. Plain DT property addition; trivially revertible.Not yet: Standalone boot at this exact single-commit head
4c85a32bbc8(hardware run was on the J604 branch carrying this exact diff) and hardware verification on non-J604 T8132 boards (J713,J715,J773g).