ARM: dts: i.MX51: Move include "imx51-pinfunc.h" into "imx51-pingrp.h"
Subsystems (2)
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".
Signed-off-by Alexander Shiyan <[email protected]>
--- 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
@@ -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
@@ -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
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
Signed-off-by Alexander Shiyan <[email protected]>--- 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@@ -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@@ -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