diff mbox series

[v2] arm64: dts: tqma8mqml: Include phy-imx8-pcie.h header

Message ID 20220909141702.4089552-1-festevam@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v2] arm64: dts: tqma8mqml: Include phy-imx8-pcie.h header | expand

Commit Message

Fabio Estevam Sept. 9, 2022, 2:17 p.m. UTC
From: Fabio Estevam <festevam@denx.de>

imx8mm-tqma8mqml.dtsi has PCIe support, so it should include
<dt-bindings/phy/phy-imx8-pcie.h>.

Otherwise, there are build errors when this SoM dtsi is included
on customers' carrier boards.

While at it, remove the PCI header from imx8mm-tqma8mqml-mba8mx.dts,
which is now unneeded.

Fixes: 1d84283101fc ("arm64: dts: tqma8mqml: add PCIe support")
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
---
Changes since v1:
- Remove the PCI header from imx8mm-tqma8mqml-mba8mx.dts (Alexander).

 arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx.dts | 1 -
 arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi       | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

Comments

Shawn Guo Sept. 12, 2022, 1:08 p.m. UTC | #1
On Fri, Sep 09, 2022 at 11:17:02AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
> 
> imx8mm-tqma8mqml.dtsi has PCIe support, so it should include
> <dt-bindings/phy/phy-imx8-pcie.h>.
> 
> Otherwise, there are build errors when this SoM dtsi is included
> on customers' carrier boards.
> 
> While at it, remove the PCI header from imx8mm-tqma8mqml-mba8mx.dts,
> which is now unneeded.
> 
> Fixes: 1d84283101fc ("arm64: dts: tqma8mqml: add PCIe support")
> Signed-off-by: Fabio Estevam <festevam@denx.de>
> Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>

Applied, thanks!
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx.dts b/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx.dts
index 286d2df01cfa..7e0aeb2db305 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml-mba8mx.dts
@@ -5,7 +5,6 @@ 
 
 /dts-v1/;
 
-#include <dt-bindings/phy/phy-imx8-pcie.h>
 #include "imx8mm-tqma8mqml.dtsi"
 #include "mba8mx.dtsi"
 
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi
index 16ee9b5179e6..f649dfacb4b6 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi
@@ -3,6 +3,7 @@ 
  * Copyright 2020-2021 TQ-Systems GmbH
  */
 
+#include <dt-bindings/phy/phy-imx8-pcie.h>
 #include "imx8mm.dtsi"
 
 / {