WSL2-Linux-Kernel/drivers/firmware/meson
Dmitry Rokosov bf98ac3288 firmware: meson_sm: populate platform devices from sm device tree data
[ Upstream commit e45f243409 ]

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: Dmitry Rokosov <ddrokosov@sberdevices.ru>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Link: https://lore.kernel.org/r/20230324145557.27797-1-ddrokosov@sberdevices.ru
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Stable-dep-of: d8385d7433f9 ("firmware: meson-sm: unmap out_base shmem in error path")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-01-25 14:52:36 -08:00
..
Kconfig firmware: meson-sm: enable build as module 2020-10-26 13:36:05 -07:00
Makefile
meson_sm.c firmware: meson_sm: populate platform devices from sm device tree data 2024-01-25 14:52:36 -08:00