Commit 6cfb0b9
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 fa5ab14 commit 6cfb0b9
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
331 | 340 | | |
332 | 341 | | |
333 | 342 | | |
| |||
| 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