]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imx8qm-apalis: dm-pre-proper for pd_dma nodes
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Fri, 27 Mar 2020 10:28:15 +0000 (12:28 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 7 Apr 2020 08:41:07 +0000 (10:41 +0200)
pd_dma_* nodes should be accessible during pre-relocation stage of
U-Boot proper for properly handling power domains.

This fixes the issue with permanent failing of invocation of
power_domain_get_by_index() in the common code of DM power domain
uclass (drivers/power/domain/power-domain-uclass.c).

Fixes: f0cc4eae9a ("core: device: use dev_power_domain_on")
Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi

index 6cdf58c8ada28b9297018b4933cd76406f8d9e8c..956d7249798972c838cb01a6862192cd736df683 100644 (file)
        u-boot,dm-pre-proper;
 };
 
+&pd_dma {
+       u-boot,dm-pre-proper;
+};
+
+&pd_dma_lpuart1 {
+       u-boot,dm-pre-proper;
+};
+
 &pd_conn {
        u-boot,dm-pre-proper;
 };