Skip to contentSkip to conversation

arm64: dts: imx8: Correct indentation and whitespace

PATCH Applied Krzysztof Kozlowski 4 participants 5 messages Jul 6 – Jul 13

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

PATCH 1/2 arm64: dts: imx8: Correct indentation and whitespace

Correct spaces or mix of tabs+spaces into proper tab-indented lines and remove other whitespace violations. No functional impact (same DTB).

---
 .../boot/dts/freescale/imx8-apalis-v1.1.dtsi  |   2 +-
 .../dts/freescale/imx8mm-emtop-baseboard.dts  | 301 +++++++++---------
 .../dts/freescale/imx8mp-evk-flexcan2.dtso    |   4 +-
 .../freescale/imx8mp-nitrogen-smarc-som.dtsi  |  82 ++---
 .../dts/freescale/imx8mq-librem5-devkit.dts   |   4 +-
 5 files changed, 196 insertions(+), 197 deletions(-)
arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi +1 -1
index 6fc82b5eb58c..681f24810d52 100644
@@ -423,7 +423,7 @@ usb-hub@8 {
 		refclk-frequency = <25000000>;
 		reset-gpios = <&lsio_gpio1 2 GPIO_ACTIVE_LOW>;
 	};
-	
+
 	/* On Module Audio Codec */
 	sgtl5000: audio-codec@a {
 		compatible = "fsl,sgtl5000";
arch/arm64/boot/dts/freescale/imx8mm-emtop-baseboard.dts +150 -151

416 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mp-evk-flexcan2.dtso +2 -2
index f7d2674c45f7..d87119842027 100644
@@ -7,9 +7,9 @@
 /plugin/;
 
 &flexcan2 {
-        status = "okay"; /* can2 pin conflict with pdm */
+	status = "okay"; /* can2 pin conflict with pdm */
 };
 
 &micfil {
-        status = "disabled";
+	status = "disabled";
 };
arch/arm64/boot/dts/freescale/imx8mp-nitrogen-smarc-som.dtsi +41 -41

157 lines not on this page · raw message

arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts +2 -2
index aadaeef928bd..0c3f1b20b3d7 100644
@@ -215,7 +215,7 @@ vibrator {
 		compatible = "gpio-vibrator";
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_haptic>;
-	        enable-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
+		enable-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
 		vcc-supply = <&reg_3v3_p>;
 	};
 
@@ -856,7 +856,7 @@ MX8MQ_IOMUXC_GPIO1_IO02_WDOG1_WDOG_B	0xc6
 
 	pinctrl_wifi_pwr_en: wifipwrengrp {
 		fsl,pins = <
-			MX8MQ_IOMUXC_NAND_CLE_GPIO3_IO5         0x06
+			MX8MQ_IOMUXC_NAND_CLE_GPIO3_IO5		0x06
 		>;
 	};
 
Signature · 1 line
2.53.0
#1 lore raw

PATCH 2/2 arm64: dts: s32g3: Correct indentation

Correct spaces or mix of tabs+spaces into proper tab-indented lines. No functional impact (same DTB).

---
 arch/arm64/boot/dts/freescale/s32g3.dtsi | 32 ++++++++++++------------
 1 file changed, 16 insertions(+), 16 deletions(-)
arch/arm64/boot/dts/freescale/s32g3.dtsi +16 -16
index 22e80fc03f9c..6eafa9139557 100644
@@ -534,22 +534,22 @@ usbmisc: usbmisc@44064200 {
 			reg = <0x44064200 0x200>;
 		};
 
-                usbotg: usb@44064000 {
-                        compatible = "nxp,s32g3-usb", "nxp,s32g2-usb";
-                        reg = <0x44064000 0x200>;
-                        interrupt-parent = <&gic>;
-                        interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, /* OTG Core */
-                                     <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>; /* OTG Wakeup */
-                        clocks = <&clks 94>, <&clks 95>;
-                        fsl,usbmisc = <&usbmisc 0>;
-                        ahb-burst-config = <0x3>;
-                        tx-burst-size-dword = <0x10>;
-                        rx-burst-size-dword = <0x10>;
-                        phy_type = "ulpi";
-                        dr_mode = "host";
-                        maximum-speed = "high-speed";
-                        status = "disabled";
-                };
+		usbotg: usb@44064000 {
+			compatible = "nxp,s32g3-usb", "nxp,s32g2-usb";
+			reg = <0x44064000 0x200>;
+			interrupt-parent = <&gic>;
+			interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, /* OTG Core */
+				     <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>; /* OTG Wakeup */
+			clocks = <&clks 94>, <&clks 95>;
+			fsl,usbmisc = <&usbmisc 0>;
+			ahb-burst-config = <0x3>;
+			tx-burst-size-dword = <0x10>;
+			rx-burst-size-dword = <0x10>;
+			phy_type = "ulpi";
+			dr_mode = "host";
+			maximum-speed = "high-speed";
+			status = "disabled";
+		};
 
 		spi0: spi@401d4000 {
 			compatible = "nxp,s32g3-dspi", "nxp,s32g2-dspi";
Signature · 1 line
2.53.0
reviewer Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] arm64: dts: s32g3: Correct indentation

Quoted 52 lines · Krzysztof Kozlowski

Correct spaces or mix of tabs+spaces into proper tab-indented lines. No functional impact (same DTB).

---
 arch/arm64/boot/dts/freescale/s32g3.dtsi | 32 ++++++++++++------------
 1 file changed, 16 insertions(+), 16 deletions(-)
arch/arm64/boot/dts/freescale/s32g3.dtsi +16 -17
index 22e80fc03f9c..6eafa9139557 100644
@@ -534,22 +534,22 @@ usbmisc: usbmisc@44064200 {
                        reg = <0x44064200 0x200>;
                };
 
-                usbotg: usb@44064000 {
-                        compatible = "nxp,s32g3-usb", "nxp,s32g2-usb";
-                        reg = <0x44064000 0x200>;
-                        interrupt-parent = <&gic>;
-                        interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, /* OTG Core */
-                                     <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>; /* OTG Wakeup */
-                        clocks = <&clks 94>, <&clks 95>;
-                        fsl,usbmisc = <&usbmisc 0>;
-                        ahb-burst-config = <0x3>;
-                        tx-burst-size-dword = <0x10>;
-                        rx-burst-size-dword = <0x10>;
-                        phy_type = "ulpi";
-                        dr_mode = "host";
-                        maximum-speed = "high-speed";
-                        status = "disabled";
-                };
+               usbotg: usb@44064000 {
+                       compatible = "nxp,s32g3-usb", "nxp,s32g2-usb";
+                       reg = <0x44064000 0x200>;
+                       interrupt-parent = <&gic>;
+                       interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, /* OTG Core */
+                                    <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>; /* OTG Wakeup */
+                       clocks = <&clks 94>, <&clks 95>;
+                       fsl,usbmisc = <&usbmisc 0>;
+                       ahb-burst-config = <0x3>;
+                       tx-burst-size-dword = <0x10>;
+                       rx-burst-size-dword = <0x10>;
+                       phy_type = "ulpi";
+                       dr_mode = "host";
+                       maximum-speed = "high-speed";
+                       status = "disabled";
+               };
 
                spi0: spi@401d4000 {
                        compatible = "nxp,s32g3-dspi", "nxp,s32g2-dspi";
--
Quoted 2 lines

2.53.0

Signature · 2 lines
Regards,
Ghennadi
#4 lore raw
In reply to Krzysztof Kozlowski

From: Frank Li <[email protected]>

Quoted 2 lines · Krzysztof Kozlowski

Correct spaces or mix of tabs+spaces into proper tab-indented lines and remove other whitespace violations. No functional impact (same DTB).

Applied, thanks!

[1/2] arm64: dts: imx8: Correct indentation and whitespace

      commit: c8cb123cde467117f69ae57f83bf02d374f81609
[2/2] arm64: dts: s32g3: Correct indentation
      commit: 972e858b01fbc724947f8ec825e0897e545b380f

Best regards,

Signature · 1 line
Frank Li <[email protected]>