projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f21af42
)
bus: ti-sysc: Warn about old dtb for dra7 and omap4/5
author
Tony Lindgren
<tony@atomide.com>
Fri, 12 Mar 2021 08:23:48 +0000
(10:23 +0200)
committer
Tony Lindgren
<tony@atomide.com>
Fri, 12 Mar 2021 08:23:48 +0000
(10:23 +0200)
Let's warn if an old incomplete dtb is detected. We now assume the dtb
is complete and does not depend on the legacy platform data.
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/bus/ti-sysc.c
patch
|
blob
|
history
diff --git
a/drivers/bus/ti-sysc.c
b/drivers/bus/ti-sysc.c
index
65943d1
..
da568a3
100644
(file)
--- a/
drivers/bus/ti-sysc.c
+++ b/
drivers/bus/ti-sysc.c
@@
-2886,6
+2886,9
@@
static int sysc_init_soc(struct sysc *ddata)
switch (sysc_soc->soc) {
case SOC_AM3:
case SOC_AM4:
+ case SOC_4430 ... SOC_4470:
+ case SOC_5430:
+ case SOC_DRA7:
np = of_find_node_by_path("/ocp");
WARN_ONCE(np && of_device_is_compatible(np, "simple-bus"),
"ti-sysc: Incomplete old dtb, please update\n");