Skip to contentSkip to conversation

ARM: dts: i.MX51: Move include "imx51-pinfunc.h" into "imx51-pingrp.h"

PATCH New Alexander Shiyan 2 participants 2 messages Nov 30, 2013 – Dec 3, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: i.MX51: Move include "imx51-pinfunc.h" into "imx51-pingrp.h"

Pin function definitions are used for pin groups definitions, so move the header in the "imx51-pingrp.h".

---
 arch/arm/boot/dts/imx51-pingrp.h | 2 ++
 arch/arm/boot/dts/imx51.dtsi     | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx51-pingrp.h +2 -0
index 550d0d1..f63267b 100644
@@ -10,6 +10,8 @@
 #ifndef __DTS_IMX51_PINGRP_H
 #define __DTS_IMX51_PINGRP_H
 
+#include "imx51-pinfunc.h"
+
 #define MX51_AUDMUX_PINGRP1 \
 	MX51_PAD_AUD3_BB_TXD__AUD3_TXD			0x80000000 \
 	MX51_PAD_AUD3_BB_RXD__AUD3_RXD			0x80000000 \
arch/arm/boot/dts/imx51.dtsi +0 -1
index cad5a56..61a2552 100644
@@ -11,7 +11,6 @@
  */
 
 #include "skeleton.dtsi"
-#include "imx51-pinfunc.h"
 #include "imx51-pingrp.h"
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/clock/imx5-clock.h>
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 ARM: dts: i.MX51: Move include "imx51-pinfunc.h" into "imx51-pingrp.h"

Quoted 2 lines · Alexander Shiyan

Pin function definitions are used for pin groups definitions, so move the header in the "imx51-pingrp.h".

I'd like to see the same change for other IMX SoCs in one patch.

Shawn

Quoted 35 lines
---
 arch/arm/boot/dts/imx51-pingrp.h | 2 ++
 arch/arm/boot/dts/imx51.dtsi     | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)
arch/arm/boot/dts/imx51-pingrp.h +2 -0
index 550d0d1..f63267b 100644
@@ -10,6 +10,8 @@
 #ifndef __DTS_IMX51_PINGRP_H
 #define __DTS_IMX51_PINGRP_H
 
+#include "imx51-pinfunc.h"
+
 #define MX51_AUDMUX_PINGRP1 \
 	MX51_PAD_AUD3_BB_TXD__AUD3_TXD			0x80000000 \
 	MX51_PAD_AUD3_BB_RXD__AUD3_RXD			0x80000000 \
arch/arm/boot/dts/imx51.dtsi +0 -1
index cad5a56..61a2552 100644
@@ -11,7 +11,6 @@
  */
 
 #include "skeleton.dtsi"
-#include "imx51-pinfunc.h"
 #include "imx51-pingrp.h"
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/clock/imx5-clock.h>
Signature · 1 line
1.8.3.2