Commit bf98ac32 authored by Dmitry Rokosov's avatar Dmitry Rokosov Committed by Greg Kroah-Hartman
Browse files

firmware: meson_sm: populate platform devices from sm device tree data



[ Upstream commit e45f2434 ]

In some meson boards, secure monitor device has children, for example,
power secure controller. By default, secure monitor isn't the bus in terms
of device tree subsystem, so the of_platform initialization code doesn't
populate its device tree data. As a result, secure monitor's children
aren't probed at all.

Run the 'of_platform_populate()' routine manually to resolve such issues.

Signed-off-by: default avatarDmitry Rokosov <ddrokosov@sberdevices.ru>
Acked-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20230324145557.27797-1-ddrokosov@sberdevices.ru


Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Stable-dep-of: d8385d74 ("firmware: meson-sm: unmap out_base shmem in error path")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 41b32282
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment