Re: [PATCH] ARM: dts: marvell: Replace spaces indentation with tabs
From: Gregory CLEMENT
Date: Mon Aug 31 2026 - 08:42:40 EST
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx> writes:
> Replace excessive spaces for aligning indentation into tabs. This will
> be reported by dt-style-check ("[mixed-indent-chars] too many space
> characters in indent (more than 7)").
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Applied on mvebu/dt
Thanks,
Gregory
> ---
> arch/arm/boot/dts/marvell/dove.dtsi | 22 +++++++++----------
> arch/arm/boot/dts/marvell/kirkwood-6282.dtsi | 15 ++++++-------
> .../marvell/kirkwood-guruplug-server-plus.dts | 4 ++--
> arch/arm/boot/dts/marvell/kirkwood-lsxl.dtsi | 4 ++--
> .../boot/dts/marvell/kirkwood-synology.dtsi | 12 +++++-----
> .../dts/marvell/orion5x-rd88f5182-nas.dts | 2 +-
> 6 files changed, 29 insertions(+), 30 deletions(-)
>
> diff --git a/arch/arm/boot/dts/marvell/dove.dtsi b/arch/arm/boot/dts/marvell/dove.dtsi
> index 062c86361640..75e2f9baf661 100644
> --- a/arch/arm/boot/dts/marvell/dove.dtsi
> +++ b/arch/arm/boot/dts/marvell/dove.dtsi
> @@ -100,12 +100,12 @@ pcie: pcie {
> msi-parent = <&intc>;
> bus-range = <0x00 0xff>;
>
> - ranges = <0x82000000 0x0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x2000
> - 0x82000000 0x0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x2000
> - 0x82000000 0x1 0x0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 Mem */
> - 0x81000000 0x1 0x0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 I/O */
> - 0x82000000 0x2 0x0 MBUS_ID(0x08, 0xe8) 0 1 0 /* Port 1.0 Mem */
> - 0x81000000 0x2 0x0 MBUS_ID(0x08, 0xe0) 0 1 0>; /* Port 1.0 I/O */
> + ranges = <0x82000000 0x0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x2000>,
> + <0x82000000 0x0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x2000>,
> + <0x82000000 0x1 0x0 MBUS_ID(0x04, 0xe8) 0 1 0>, /* Port 0.0 Mem */
> + <0x81000000 0x1 0x0 MBUS_ID(0x04, 0xe0) 0 1 0>, /* Port 0.0 I/O */
> + <0x82000000 0x2 0x0 MBUS_ID(0x08, 0xe8) 0 1 0>, /* Port 1.0 Mem */
> + <0x81000000 0x2 0x0 MBUS_ID(0x08, 0xe0) 0 1 0>; /* Port 1.0 I/O */
>
> pcie0: pcie@1 {
> device_type = "pci";
> @@ -117,8 +117,8 @@ pcie0: pcie@1 {
>
> #address-cells = <3>;
> #size-cells = <2>;
> - ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
> - 0x81000000 0 0 0x81000000 0x1 0 1 0>;
> + ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0>,
> + <0x81000000 0 0 0x81000000 0x1 0 1 0>;
> bus-range = <0x00 0xff>;
>
> #interrupt-cells = <1>;
> @@ -146,8 +146,8 @@ pcie1: pcie@2 {
>
> #address-cells = <3>;
> #size-cells = <2>;
> - ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0
> - 0x81000000 0 0 0x81000000 0x2 0 1 0>;
> + ranges = <0x82000000 0 0 0x82000000 0x2 0 1 0>,
> + <0x81000000 0 0 0x81000000 0x2 0 1 0>;
> bus-range = <0x00 0xff>;
>
> #interrupt-cells = <1>;
> @@ -772,7 +772,7 @@ rtc: real-time-clock@8500 {
>
> gconf: global-config@e802c {
> compatible = "marvell,dove-global-config",
> - "syscon";
> + "syscon";
> reg = <0xe802c 0x14>;
> };
>
> diff --git a/arch/arm/boot/dts/marvell/kirkwood-6282.dtsi b/arch/arm/boot/dts/marvell/kirkwood-6282.dtsi
> index e33723160ce7..9f63e3f9eb1c 100644
> --- a/arch/arm/boot/dts/marvell/kirkwood-6282.dtsi
> +++ b/arch/arm/boot/dts/marvell/kirkwood-6282.dtsi
> @@ -11,14 +11,13 @@ pciec: pcie@82000000 {
>
> bus-range = <0x00 0xff>;
>
> - ranges =
> - <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000
> - 0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000
> - 0x82000000 0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x00002000
> - 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */
> - 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */
> - 0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 1.0 MEM */
> - 0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 1.0 IO */>;
> + ranges = <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000>,
> + <0x82000000 0 0x44000 MBUS_ID(0xf0, 0x01) 0x44000 0 0x00002000>,
> + <0x82000000 0 0x80000 MBUS_ID(0xf0, 0x01) 0x80000 0 0x00002000>,
> + <0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */>,
> + <0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */>,
> + <0x82000000 0x2 0 MBUS_ID(0x04, 0xd8) 0 1 0 /* Port 1.0 MEM */>,
> + <0x81000000 0x2 0 MBUS_ID(0x04, 0xd0) 0 1 0 /* Port 1.0 IO */>;
>
> pcie0: pcie@1,0 {
> device_type = "pci";
> diff --git a/arch/arm/boot/dts/marvell/kirkwood-guruplug-server-plus.dts b/arch/arm/boot/dts/marvell/kirkwood-guruplug-server-plus.dts
> index d5aa8b505cc0..cc88d5324983 100644
> --- a/arch/arm/boot/dts/marvell/kirkwood-guruplug-server-plus.dts
> +++ b/arch/arm/boot/dts/marvell/kirkwood-guruplug-server-plus.dts
> @@ -104,14 +104,14 @@ &mdio {
> ethphy0: ethernet-phy@0 {
> /* Marvell 88E1121R */
> compatible = "ethernet-phy-id0141.0cb0",
> - "ethernet-phy-ieee802.3-c22";
> + "ethernet-phy-ieee802.3-c22";
> reg = <0>;
> };
>
> ethphy1: ethernet-phy@1 {
> /* Marvell 88E1121R */
> compatible = "ethernet-phy-id0141.0cb0",
> - "ethernet-phy-ieee802.3-c22";
> + "ethernet-phy-ieee802.3-c22";
> reg = <1>;
> };
> };
> diff --git a/arch/arm/boot/dts/marvell/kirkwood-lsxl.dtsi b/arch/arm/boot/dts/marvell/kirkwood-lsxl.dtsi
> index 5e0b139dd4fb..4206529b4a52 100644
> --- a/arch/arm/boot/dts/marvell/kirkwood-lsxl.dtsi
> +++ b/arch/arm/boot/dts/marvell/kirkwood-lsxl.dtsi
> @@ -168,8 +168,8 @@ gpio_fan {
> compatible = "gpio-fan";
> pinctrl-0 = <&pmx_fan_low &pmx_fan_high &pmx_fan_lock>;
> pinctrl-names = "default";
> - gpios = <&gpio0 19 GPIO_ACTIVE_LOW
> - &gpio0 18 GPIO_ACTIVE_LOW>;
> + gpios = <&gpio0 19 GPIO_ACTIVE_LOW>,
> + <&gpio0 18 GPIO_ACTIVE_LOW>;
> gpio-fan,speed-map =
> <0 3>,
> <1500 2>,
> diff --git a/arch/arm/boot/dts/marvell/kirkwood-synology.dtsi b/arch/arm/boot/dts/marvell/kirkwood-synology.dtsi
> index 6b7c5218b1fb..de34bc2446ed 100644
> --- a/arch/arm/boot/dts/marvell/kirkwood-synology.dtsi
> +++ b/arch/arm/boot/dts/marvell/kirkwood-synology.dtsi
> @@ -281,7 +281,7 @@ gpio-fan-150-32-35 {
> status = "disabled";
> compatible = "gpio-fan";
> pinctrl-0 = <&pmx_fanctrl_32 &pmx_fanctrl_33 &pmx_fanctrl_34
> - &pmx_fanalarm_35>;
> + &pmx_fanalarm_35>;
> pinctrl-names = "default";
> gpios = <&gpio1 0 GPIO_ACTIVE_HIGH
> &gpio1 1 GPIO_ACTIVE_HIGH
> @@ -301,7 +301,7 @@ gpio-fan-150-15-18 {
> status = "disabled";
> compatible = "gpio-fan";
> pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17
> - &pmx_fanalarm_18>;
> + &pmx_fanalarm_18>;
> pinctrl-names = "default";
> gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
> &gpio0 16 GPIO_ACTIVE_HIGH
> @@ -322,7 +322,7 @@ gpio-fan-100-32-35 {
> status = "disabled";
> compatible = "gpio-fan";
> pinctrl-0 = <&pmx_fanctrl_32 &pmx_fanctrl_33 &pmx_fanctrl_34
> - &pmx_fanalarm_35>;
> + &pmx_fanalarm_35>;
> pinctrl-names = "default";
> gpios = <&gpio1 0 GPIO_ACTIVE_HIGH
> &gpio1 1 GPIO_ACTIVE_HIGH
> @@ -343,7 +343,7 @@ gpio-fan-100-15-18 {
> status = "disabled";
> compatible = "gpio-fan";
> pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17
> - &pmx_fanalarm_18>;
> + &pmx_fanalarm_18>;
> pinctrl-names = "default";
> gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
> &gpio0 16 GPIO_ACTIVE_HIGH
> @@ -364,7 +364,7 @@ gpio-fan-100-15-35-1 {
> status = "disabled";
> compatible = "gpio-fan";
> pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17
> - &pmx_fanalarm_35>;
> + &pmx_fanalarm_35>;
> pinctrl-names = "default";
> gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
> &gpio0 16 GPIO_ACTIVE_HIGH
> @@ -385,7 +385,7 @@ gpio-fan-100-15-35-3 {
> status = "disabled";
> compatible = "gpio-fan";
> pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17
> - &pmx_fanalarm_35 &pmx_fanalarm_44 &pmx_fanalarm_45>;
> + &pmx_fanalarm_35 &pmx_fanalarm_44 &pmx_fanalarm_45>;
> pinctrl-names = "default";
> gpios = <&gpio0 15 GPIO_ACTIVE_HIGH
> &gpio0 16 GPIO_ACTIVE_HIGH
> diff --git a/arch/arm/boot/dts/marvell/orion5x-rd88f5182-nas.dts b/arch/arm/boot/dts/marvell/orion5x-rd88f5182-nas.dts
> index 75ab913b21e5..1d803d1d1112 100644
> --- a/arch/arm/boot/dts/marvell/orion5x-rd88f5182-nas.dts
> +++ b/arch/arm/boot/dts/marvell/orion5x-rd88f5182-nas.dts
> @@ -22,7 +22,7 @@ chosen {
>
> soc {
> ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>,
> - <MBUS_ID(0x09, 0x00) 0 0xf2200000 0x800>,
> + <MBUS_ID(0x09, 0x00) 0 0xf2200000 0x800>,
> <MBUS_ID(0x01, 0x0f) 0 0xf4000000 0x80000>,
> <MBUS_ID(0x01, 0x1d) 0 0xfc000000 0x1000000>;
> };
> --
> 2.53.0
>
--
Grégory CLEMENT, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com