summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorThomas Haemmerle <thomas.haemmerle@wolfvision.net>2019-03-12 11:20:51 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-18 08:50:38 +0100
commite958642da1154f4b401e6c8c212b3306335a9641 (patch)
tree6a61233cfd00c5c405aced30570e260be165b09d /arch
parentcb667b97c6637d540cc9a87290072681ceeb327f (diff)
downloadbarebox-e958642da1154f4b401e6c8c212b3306335a9641.tar.gz
barebox-e958642da1154f4b401e6c8c212b3306335a9641.tar.xz
ARM: zynqmp: populate zynqmp_firmware dt node
The zynqmp_firmware node has sub-nodes for the various APIs to expose the platform management, as e.g. clock management. Therefore, the driver must populate the subnodes to initialize these drivers. Signed-off-by: Thomas Haemmerle <thomas.haemmerle@wolfvision.net> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-zynqmp/firmware-zynqmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-zynqmp/firmware-zynqmp.c b/arch/arm/mach-zynqmp/firmware-zynqmp.c
index a3ee992832..d7e2a66d0f 100644
--- a/arch/arm/mach-zynqmp/firmware-zynqmp.c
+++ b/arch/arm/mach-zynqmp/firmware-zynqmp.c
@@ -577,6 +577,7 @@ static int zynqmp_firmware_probe(struct device_d *dev)
dev_dbg(dev, "Trustzone version v%d.%d\n",
pm_tz_version >> 16, pm_tz_version & 0xFFFF);
+ of_platform_populate(dev->device_node, NULL, dev);
out:
if (ret)
do_fw_call = do_fw_call_fail;