ARM: arm64: dts/clk: imx: indentation permission whitespace cleanup 2
cover ARM: arm64: dts/clk: imx: indentation permission whitespace cleanup 2
From: Marcel Ziswiler <[email protected]>
While further synchronising them imx device trees with U-Boot I stumbled over more checkpatch warnings. This series addresses those trivial indentation, file permission and/or whitespace cleanups.
Marcel Ziswiler (5):
ARM: dts: imx6sl: use tabs for code indent
ARM: dts: imx6sx-udoo-neo: don't use multiple blank lines
arm64: dts: imx8ulp: no executable source file permission
clk: imx6sll: add proper spdx license identifier
dt-bindings: imx8ulp: clock: no spaces before tabs
arch/arm/boot/dts/imx6sl.dtsi | 20 +++++++++---------- arch/arm/boot/dts/imx6sx-udoo-neo.dtsi | 14 ++++++------- .../boot/dts/freescale/imx8ulp-pinfunc.h | 0 include/dt-bindings/clock/imx6sll-clock.h | 2 +- include/dt-bindings/clock/imx8ulp-clock.h | 4 ++-- 5 files changed, 19 insertions(+), 21 deletions(-) mode change 100755 => 100644 arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h
Signature · 1 line
2.36.1
PATCH 1/5 ARM: dts: imx6sl: use tabs for code indent
From: Marcel Ziswiler <[email protected]>
This fixes the following error:
arch/arm/boot/dts/imx6sl.dtsi:714: error: code indent should use tabs where possible
---
arch/arm/boot/dts/imx6sl.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
arch/arm/boot/dts/imx6sl.dtsi +10 -10
@@ -61,10 +61,10 @@ cpu0: cpu@0 { <792000 1175000>, <396000 975000>; fsl,soc-operating-points = - /* ARM kHz SOC-PU uV */ - <996000 1225000>, - <792000 1175000>, - <396000 1175000>; + /* ARM kHz SOC-PU uV */ + <996000 1225000>, + <792000 1175000>, + <396000 1175000>; clock-latency = <61036>; /* two CLK32 periods */ #cooling-cells = <2>; clocks = <&clks IMX6SL_CLK_ARM>, <&clks IMX6SL_CLK_PLL2_PFD2>,
@@ -222,7 +222,7 @@ ecspi4: spi@2014000 { uart5: serial@2018000 { compatible = "fsl,imx6sl-uart", - "fsl,imx6q-uart", "fsl,imx21-uart"; + "fsl,imx6q-uart", "fsl,imx21-uart"; reg = <0x02018000 0x4000>; interrupts = <0 30 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_UART>,
@@ -235,7 +235,7 @@ uart5: serial@2018000 { uart1: serial@2020000 { compatible = "fsl,imx6sl-uart", - "fsl,imx6q-uart", "fsl,imx21-uart"; + "fsl,imx6q-uart", "fsl,imx21-uart"; reg = <0x02020000 0x4000>; interrupts = <0 26 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_UART>,
@@ -248,7 +248,7 @@ uart1: serial@2020000 { uart2: serial@2024000 { compatible = "fsl,imx6sl-uart", - "fsl,imx6q-uart", "fsl,imx21-uart"; + "fsl,imx6q-uart", "fsl,imx21-uart"; reg = <0x02024000 0x4000>; interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_UART>,
@@ -309,7 +309,7 @@ ssi3: ssi@2030000 { uart3: serial@2034000 { compatible = "fsl,imx6sl-uart", - "fsl,imx6q-uart", "fsl,imx21-uart"; + "fsl,imx6q-uart", "fsl,imx21-uart"; reg = <0x02034000 0x4000>; interrupts = <0 28 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_UART>,
@@ -322,7 +322,7 @@ uart3: serial@2034000 { uart4: serial@2038000 { compatible = "fsl,imx6sl-uart", - "fsl,imx6q-uart", "fsl,imx21-uart"; + "fsl,imx6q-uart", "fsl,imx21-uart"; reg = <0x02038000 0x4000>; interrupts = <0 29 IRQ_TYPE_LEVEL_HIGH>; clocks = <&clks IMX6SL_CLK_UART>,
@@ -711,7 +711,7 @@ pd_pu: power-domain@1 { #power-domain-cells = <0>; power-supply = <®_pu>; clocks = <&clks IMX6SL_CLK_GPU2D_OVG>, - <&clks IMX6SL_CLK_GPU2D_PODF>; + <&clks IMX6SL_CLK_GPU2D_PODF>; }; pd_disp: power-domain@2 {
Signature · 1 line
2.36.1
Shawn Guo
AppliedRe: [PATCH v1 1/5] ARM: dts: imx6sl: use tabs for code indent
Quoted 8 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This fixes the following error:
arch/arm/boot/dts/imx6sl.dtsi:714: error: code indent should use tabs where possibleSigned-off-by Marcel Ziswiler <[email protected]>
Applied, thanks!
PATCH 2/5 ARM: dts: imx6sx-udoo-neo: don't use multiple blank lines
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
This fixes the following warning:
arch/arm/boot/dts/imx6sx-udoo-neo.dtsi:309: check: Please don't use multiple blank lines
---
arch/arm/boot/dts/imx6sx-udoo-neo.dtsi | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)
arch/arm/boot/dts/imx6sx-udoo-neo.dtsi +6 -8
@@ -226,7 +226,7 @@ lcdc: endpoint { &iomuxc { pinctrl_bt_reg: btreggrp { fsl,pins = - <MX6SX_PAD_KEY_ROW2__GPIO2_IO_17 0x15059>; + <MX6SX_PAD_KEY_ROW2__GPIO2_IO_17 0x15059>; }; pinctrl_enet1: enet1grp {
@@ -306,7 +306,6 @@ MX6SX_PAD_LCD1_RESET__GPIO3_IO_27 0x4001b0b0 >; }; - pinctrl_uart1: uart1grp { fsl,pins = <MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX 0x1b0b1>,
@@ -347,24 +346,23 @@ pinctrl_uart6: uart6grp { pinctrl_otg1_reg: otg1grp { fsl,pins = - <MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9 0x10b0>; + <MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9 0x10b0>; }; - pinctrl_otg2_reg: otg2grp { fsl,pins = - <MX6SX_PAD_NAND_RE_B__GPIO4_IO_12 0x10b0>; + <MX6SX_PAD_NAND_RE_B__GPIO4_IO_12 0x10b0>; }; pinctrl_usb_otg1: usbotg1grp { fsl,pins = - <MX6SX_PAD_GPIO1_IO10__ANATOP_OTG1_ID 0x17059>, - <MX6SX_PAD_GPIO1_IO08__USB_OTG1_OC 0x10b0>; + <MX6SX_PAD_GPIO1_IO10__ANATOP_OTG1_ID 0x17059>, + <MX6SX_PAD_GPIO1_IO08__USB_OTG1_OC 0x10b0>; }; pinctrl_usb_otg2: usbot2ggrp { fsl,pins = - <MX6SX_PAD_QSPI1A_DATA0__USB_OTG2_OC 0x10b0>; + <MX6SX_PAD_QSPI1A_DATA0__USB_OTG2_OC 0x10b0>; }; pinctrl_usdhc2: usdhc2grp {
Signature · 1 line
2.36.1
Shawn Guo
AppliedRe: [PATCH v1 2/5] ARM: dts: imx6sx-udoo-neo: don't use multiple blank lines
Quoted 6 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This fixes the following warning:
arch/arm/boot/dts/imx6sx-udoo-neo.dtsi:309: check: Please don't use multiple blank lines
It includes changes more than multiple blank lines fix. I mentioned those indent changes a bit in the commit log.
Quoted 2 lines
Signed-off-by Marcel Ziswiler <[email protected]>
Applied, thanks!
Shawn
Quoted 59 lines
---
arch/arm/boot/dts/imx6sx-udoo-neo.dtsi | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-)arch/arm/boot/dts/imx6sx-udoo-neo.dtsi +6
-8@@ -226,7 +226,7 @@ lcdc: endpoint { &iomuxc { pinctrl_bt_reg: btreggrp { fsl,pins = - <MX6SX_PAD_KEY_ROW2__GPIO2_IO_17 0x15059>; + <MX6SX_PAD_KEY_ROW2__GPIO2_IO_17 0x15059>; }; pinctrl_enet1: enet1grp {@@ -306,7 +306,6 @@ MX6SX_PAD_LCD1_RESET__GPIO3_IO_27 0x4001b0b0 >; }; - pinctrl_uart1: uart1grp { fsl,pins = <MX6SX_PAD_GPIO1_IO04__UART1_DCE_TX 0x1b0b1>,@@ -347,24 +346,23 @@ pinctrl_uart6: uart6grp { pinctrl_otg1_reg: otg1grp { fsl,pins = - <MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9 0x10b0>; + <MX6SX_PAD_GPIO1_IO09__GPIO1_IO_9 0x10b0>; }; - pinctrl_otg2_reg: otg2grp { fsl,pins = - <MX6SX_PAD_NAND_RE_B__GPIO4_IO_12 0x10b0>; + <MX6SX_PAD_NAND_RE_B__GPIO4_IO_12 0x10b0>; }; pinctrl_usb_otg1: usbotg1grp { fsl,pins = - <MX6SX_PAD_GPIO1_IO10__ANATOP_OTG1_ID 0x17059>, - <MX6SX_PAD_GPIO1_IO08__USB_OTG1_OC 0x10b0>; + <MX6SX_PAD_GPIO1_IO10__ANATOP_OTG1_ID 0x17059>, + <MX6SX_PAD_GPIO1_IO08__USB_OTG1_OC 0x10b0>; }; pinctrl_usb_otg2: usbot2ggrp { fsl,pins = - <MX6SX_PAD_QSPI1A_DATA0__USB_OTG2_OC 0x10b0>; + <MX6SX_PAD_QSPI1A_DATA0__USB_OTG2_OC 0x10b0>; }; pinctrl_usdhc2: usdhc2grp {Signature · 1 line
2.36.1
PATCH 3/5 arm64: dts: imx8ulp: no executable source file permission
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
This fixes the following error:
arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h: error: do not set
execute permissions for source files
---
arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h
arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h +0 -0
Signature · 1 line
2.36.1
RE: [PATCH v1 3/5] arm64: dts: imx8ulp: no executable source file permission
Quoted 11 lines
Subject: [PATCH v1 3/5] arm64: dts: imx8ulp: no executable source file permission
From: Marcel Ziswiler <[email protected]>
This fixes the following error:
arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h: error: do not set execute permissions for source filesSigned-off-by Marcel Ziswiler <[email protected]>
Quoted 12 lines
---
arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 =>100644
arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.harch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h +0
-1--2.36.1
Shawn Guo
AppliedRe: [PATCH v1 3/5] arm64: dts: imx8ulp: no executable source file permission
In reply to Marcel ZiswilerQuoted 8 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This fixes the following error:
arch/arm64/boot/dts/freescale/imx8ulp-pinfunc.h: error: do not set
execute permissions for source filesSigned-off-by Marcel Ziswiler <[email protected]>
Applied, thanks!
PATCH 4/5 clk: imx6sll: add proper spdx license identifier
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
This fixes the following error:
include/dt-bindings/clock/imx6sll-clock.h:1: warning: Improper SPDX
comment style for 'include/dt-bindings/clock/imx6sll-clock.h', please use '/*' insteadinclude/dt-bindings/clock/imx6sll-clock.h:1: warning: Missing or
malformed SPDX-License-Identifier tag in line 1
---
include/dt-bindings/clock/imx6sll-clock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
include/dt-bindings/clock/imx6sll-clock.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2016 Freescale Semiconductor, Inc. * Copyright 2017-2018 NXP.
Signature · 1 line
2.36.1
Re: [PATCH v1 4/5] clk: imx6sll: add proper spdx license identifier
Quoted 11 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This fixes the following error:
include/dt-bindings/clock/imx6sll-clock.h:1: warning: Improper SPDX
comment style for 'include/dt-bindings/clock/imx6sll-clock.h', please use '/*' insteadinclude/dt-bindings/clock/imx6sll-clock.h:1: warning: Missing or
malformed SPDX-License-Identifier tag in line 1Signed-off-by Marcel Ziswiler <[email protected]>
Quoted 18 lines
---
include/dt-bindings/clock/imx6sll-clock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)include/dt-bindings/clock/imx6sll-clock.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2016 Freescale Semiconductor, Inc. * Copyright 2017-2018 NXP. Signature · 1 line
2.36.1
Re: [PATCH v1 4/5] clk: imx6sll: add proper spdx license identifier
In reply to Marcel ZiswilerQuoted 10 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This fixes the following error:
include/dt-bindings/clock/imx6sll-clock.h:1: warning: Improper SPDX
comment style for 'include/dt-bindings/clock/imx6sll-clock.h', please use '/*' insteadinclude/dt-bindings/clock/imx6sll-clock.h:1: warning: Missing or
malformed SPDX-License-Identifier tag in line 1
Quoted 6 lines
Signed-off-by Marcel Ziswiler <[email protected]>---
include/dt-bindings/clock/imx6sll-clock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Re: [PATCH v1 4/5] clk: imx6sll: add proper spdx license identifier
In reply to Marcel ZiswilerQuoted 21 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This fixes the following error:
include/dt-bindings/clock/imx6sll-clock.h:1: warning: Improper SPDX comment style for 'include/dt-bindings/clock/imx6sll-clock.h', please use '/*' insteadinclude/dt-bindings/clock/imx6sll-clock.h:1: warning: Missing or malformed SPDX-License-Identifier tag in line 1Signed-off-by Marcel Ziswiler <[email protected]>---
include/dt-bindings/clock/imx6sll-clock.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)include/dt-bindings/clock/imx6sll-clock.h +0
-0
include/dt-bindings/clock/imx6sll-clock.h line 4
Quoted 5 lines
include/dt-bindings/clock/imx6sll-clock.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /** Copyright (C) 2016 Freescale Semiconductor, Inc. * Copyright 2017-2018 NXP.
I noticed that this one has not landed yet while patches 1-3 were pulled by Shawn. Who will take this one?
PATCH 5/5 dt-bindings: imx8ulp: clock: no spaces before tabs
In reply to Marcel ZiswilerFrom: Marcel Ziswiler <[email protected]>
This fixes the following warnings:
include/dt-bindings/clock/imx8ulp-clock.h:204: warning: please, no space
before tabsinclude/dt-bindings/clock/imx8ulp-clock.h:215: warning: please, no space
before tabs
---
include/dt-bindings/clock/imx8ulp-clock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/dt-bindings/clock/imx8ulp-clock.h +2 -2
@@ -201,7 +201,7 @@#define IMX8ULP_CLK_SAI7 2#define IMX8ULP_CLK_SPDIF 3#define IMX8ULP_CLK_ISI 4 -#define IMX8ULP_CLK_CSI_REGS 5 +#define IMX8ULP_CLK_CSI_REGS 5#define IMX8ULP_CLK_PCTLD 6#define IMX8ULP_CLK_CSI 7#define IMX8ULP_CLK_DSI 8
@@ -212,7 +212,7 @@#define IMX8ULP_CLK_GPU2D 13#define IMX8ULP_CLK_GPU3D 14#define IMX8ULP_CLK_DC_NANO 15 -#define IMX8ULP_CLK_CSI_CLK_UI 16 +#define IMX8ULP_CLK_CSI_CLK_UI 16#define IMX8ULP_CLK_CSI_CLK_ESC 17#define IMX8ULP_CLK_RGPIOD 18#define IMX8ULP_CLK_DMA2_MP 19
Signature · 1 line
2.36.1
Re: [PATCH v1 5/5] dt-bindings: imx8ulp: clock: no spaces before tabs
Quoted 10 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This fixes the following warnings:
include/dt-bindings/clock/imx8ulp-clock.h:204: warning: please, no space
before tabsinclude/dt-bindings/clock/imx8ulp-clock.h:215: warning: please, no space
before tabsSigned-off-by Marcel Ziswiler <[email protected]>
Best regards,
Krzysztof
Re: [PATCH v1 5/5] dt-bindings: imx8ulp: clock: no spaces before tabs
In reply to Marcel ZiswilerQuoted 10 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This fixes the following warnings:
include/dt-bindings/clock/imx8ulp-clock.h:204: warning: please, no space
before tabsinclude/dt-bindings/clock/imx8ulp-clock.h:215: warning: please, no space
before tabsSigned-off-by Marcel Ziswiler <[email protected]>
Quoted 31 lines
---
include/dt-bindings/clock/imx8ulp-clock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)include/dt-bindings/clock/imx8ulp-clock.h +2
-2@@ -201,7 +201,7 @@#define IMX8ULP_CLK_SAI7 2#define IMX8ULP_CLK_SPDIF 3#define IMX8ULP_CLK_ISI 4 -#define IMX8ULP_CLK_CSI_REGS 5 +#define IMX8ULP_CLK_CSI_REGS 5#define IMX8ULP_CLK_PCTLD 6#define IMX8ULP_CLK_CSI 7#define IMX8ULP_CLK_DSI 8@@ -212,7 +212,7 @@#define IMX8ULP_CLK_GPU2D 13#define IMX8ULP_CLK_GPU3D 14#define IMX8ULP_CLK_DC_NANO 15 -#define IMX8ULP_CLK_CSI_CLK_UI 16 +#define IMX8ULP_CLK_CSI_CLK_UI 16#define IMX8ULP_CLK_CSI_CLK_ESC 17#define IMX8ULP_CLK_RGPIOD 18#define IMX8ULP_CLK_DMA2_MP 19Signature · 1 line
2.36.1
Re: [PATCH v1 5/5] dt-bindings: imx8ulp: clock: no spaces before tabs
In reply to Marcel ZiswilerQuoted 30 lines · Marcel Ziswiler
From: Marcel Ziswiler <[email protected]>
This fixes the following warnings:
include/dt-bindings/clock/imx8ulp-clock.h:204: warning: please, no space before tabsinclude/dt-bindings/clock/imx8ulp-clock.h:215: warning: please, no space before tabsSigned-off-by Marcel Ziswiler <[email protected]>---
include/dt-bindings/clock/imx8ulp-clock.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)include/dt-bindings/clock/imx8ulp-clock.h +1
-1@@ -201,7 +201,7 @@ #define IMX8ULP_CLK_SAI7 2 #define IMX8ULP_CLK_SPDIF 3 #define IMX8ULP_CLK_ISI 4 -#define IMX8ULP_CLK_CSI_REGS 5 +#define IMX8ULP_CLK_CSI_REGS 5 #define IMX8ULP_CLK_PCTLD 6 #define IMX8ULP_CLK_CSI 7 #define IMX8ULP_CLK_DSI 8
include/dt-bindings/clock/imx8ulp-clock.h line 218
Quoted 8 lines
include/dt-bindings/clock/imx8ulp-clock.h +1
-1@@ -212,7 +212,7 @@ #define IMX8ULP_CLK_GPU2D 13 #define IMX8ULP_CLK_GPU3D 14 #define IMX8ULP_CLK_DC_NANO 15 -#define IMX8ULP_CLK_CSI_CLK_UI 16 +#define IMX8ULP_CLK_CSI_CLK_UI 16 #define IMX8ULP_CLK_CSI_CLK_ESC 17 #define IMX8ULP_CLK_RGPIOD 18 #define IMX8ULP_CLK_DMA2_MP 19
Same applies to this one. Any takers?