Commit 2d24294
committed
of: Workaround missing '#{address,size}-cells' properties [drop v6.13 + 2]
The dcp and dcpext nodes are missing '#address-cells' and '#size-cells'
properties expected for busses. The nodes are handled as bus since they
contain the 'piodma' subdevice. Commit 6e5773d ("of/address: Fix
WARN when attempting translating non-translatable addresses") triggers
an oops while evaluating reserved memory in dart. Commit 045b14c
("of: WARN on deprecated #address-cells/#size-cells handling") triggers
warnings in the same code path.
Happens only on devices with reserved memory for the piodma device
(should be dcp/dcp0 only).
Signed-off-by: Janne Grunau <j@jannau.net>1 parent 047a8d7 commit 2d24294
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
345 | 354 | | |
346 | 355 | | |
347 | 356 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
0 commit comments