Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'dt64-cleanup-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt into soc/dt

Minor improvements in ARM64 DTS for v6.12

1. APM: correct node name to match bindings.
2. Spreadtrum: correct node names to match bindings, order properties to
match DTS coding style and put SPDX identifier at top of the file as
expected usually.

* tag 'dt64-cleanup-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
arm64: dts: sprd: move/add SPDX license to top of the file
arm64: dts: sprd: reorder clock-names after clocks
arm64: dts: sprd: rename SDHCI and fuel gauge nodes to match bindings
arm64: dts: apm: storm: Rename menetphy@3 to ethernet-phy@3

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+37 -40
+1 -1
arch/arm64/boot/dts/apm/apm-storm.dtsi
··· 997 997 compatible = "apm,xgene-mdio"; 998 998 #address-cells = <1>; 999 999 #size-cells = <0>; 1000 - menetphy: menetphy@3 { 1000 + menetphy: ethernet-phy@3 { 1001 1001 compatible = "ethernet-phy-id001c.c915"; 1002 1002 reg = <0x3>; 1003 1003 };
+2 -3
arch/arm64/boot/dts/sprd/sc2731.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 2 /* 2 3 * Spreadtrum SC2731 PMIC dts file 3 4 * 4 5 * Copyright (C) 2018, Spreadtrum Communications Inc. 5 - * 6 - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 6 */ 8 7 9 8 &adi_bus { ··· 94 95 nvmem-cells = <&adc_big_scale>, <&adc_small_scale>; 95 96 }; 96 97 97 - fgu@a00 { 98 + fuel-gauge@a00 { 98 99 compatible = "sprd,sc2731-fgu"; 99 100 reg = <0xa00>; 100 101 bat-detect-gpio = <&pmic_eic 9 GPIO_ACTIVE_HIGH>;
+1 -2
arch/arm64/boot/dts/sprd/sc9836-openphone.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0-only OR MIT) 1 2 /* 2 3 * Spreadtrum SC9836 openphone board DTS file 3 4 * 4 5 * Copyright (C) 2014, Spreadtrum Communications Inc. 5 - * 6 - * This file is licensed under a dual GPLv2 or X11 license. 7 6 */ 8 7 9 8 /dts-v1/;
+1 -2
arch/arm64/boot/dts/sprd/sc9836.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0-only OR MIT) 1 2 /* 2 3 * Spreadtrum SC9836 SoC DTS file 3 4 * 4 5 * Copyright (C) 2014, Spreadtrum Communications Inc. 5 - * 6 - * This file is licensed under a dual GPLv2 or X11 license. 7 6 */ 8 7 9 8 #include "sharkl64.dtsi"
+1 -2
arch/arm64/boot/dts/sprd/sc9860.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 2 /* 2 3 * Spreadtrum SC9860 SoC 3 4 * 4 5 * Copyright (C) 2016, Spreadtrum Communications Inc. 5 - * 6 - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 6 */ 8 7 9 8 #include <dt-bindings/interrupt-controller/arm-gic.h>
+4 -4
arch/arm64/boot/dts/sprd/sc9863a.dtsi
··· 551 551 #size-cells = <2>; 552 552 ranges; 553 553 554 - sdio0: sdio@20300000 { 554 + sdio0: mmc@20300000 { 555 555 compatible = "sprd,sdhci-r11"; 556 556 reg = <0 0x20300000 0 0x1000>; 557 557 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>; 558 558 559 - clock-names = "sdio", "enable"; 560 559 clocks = <&aon_clk CLK_SDIO0_2X>, 561 560 <&apahb_gate CLK_SDIO0_EB>; 561 + clock-names = "sdio", "enable"; 562 562 assigned-clocks = <&aon_clk CLK_SDIO0_2X>; 563 563 assigned-clock-parents = <&rpll CLK_RPLL_390M>; 564 564 ··· 567 567 no-mmc; 568 568 }; 569 569 570 - sdio3: sdio@20600000 { 570 + sdio3: mmc@20600000 { 571 571 compatible = "sprd,sdhci-r11"; 572 572 reg = <0 0x20600000 0 0x1000>; 573 573 interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>; 574 574 575 - clock-names = "sdio", "enable"; 576 575 clocks = <&aon_clk CLK_EMMC_2X>, 577 576 <&apahb_gate CLK_EMMC_EB>; 577 + clock-names = "sdio", "enable"; 578 578 assigned-clocks = <&aon_clk CLK_EMMC_2X>; 579 579 assigned-clock-parents = <&rpll CLK_RPLL_390M>; 580 580
+1 -2
arch/arm64/boot/dts/sprd/sharkl64.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0-only OR MIT) 1 2 /* 2 3 * Spreadtrum Sharkl64 platform DTS file 3 4 * 4 5 * Copyright (C) 2014, Spreadtrum Communications Inc. 5 - * 6 - * This file is licensed under a dual GPLv2 or X11 license. 7 6 */ 8 7 9 8 / {
+1 -2
arch/arm64/boot/dts/sprd/sp9860g-1h10.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 2 /* 2 3 * Spreadtrum SP9860g board 3 4 * 4 5 * Copyright (C) 2017, Spreadtrum Communications Inc. 5 - * 6 - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 6 */ 8 7 9 8 /dts-v1/;
+2 -2
arch/arm64/boot/dts/sprd/ums512.dtsi
··· 849 849 compatible = "sprd,sdhci-r11"; 850 850 reg = <0x1100000 0x1000>; 851 851 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 852 - clock-names = "sdio", "enable"; 853 852 clocks = <&ap_clk CLK_SDIO0_2X>, 854 853 <&apapb_gate CLK_SDIO0_EB>; 854 + clock-names = "sdio", "enable"; 855 855 assigned-clocks = <&ap_clk CLK_SDIO0_2X>; 856 856 assigned-clock-parents = <&pll1 CLK_RPLL>; 857 857 status = "disabled"; ··· 861 861 compatible = "sprd,sdhci-r11"; 862 862 reg = <0x1400000 0x1000>; 863 863 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 864 - clock-names = "sdio", "enable"; 865 864 clocks = <&ap_clk CLK_EMMC_2X>, 866 865 <&apapb_gate CLK_EMMC_EB>; 866 + clock-names = "sdio", "enable"; 867 867 assigned-clocks = <&ap_clk CLK_EMMC_2X>; 868 868 assigned-clock-parents = <&pll1 CLK_RPLL>; 869 869 status = "disabled";
+23 -20
arch/arm64/boot/dts/sprd/whale2.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 2 /* 2 3 * Spreadtrum Whale2 platform peripherals 3 4 * 4 5 * Copyright (C) 2016, Spreadtrum Communications Inc. 5 - * 6 - * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 6 */ 8 7 9 8 #include <dt-bindings/clock/sprd,sc9860-clk.h> ··· 74 75 "sprd,sc9836-uart"; 75 76 reg = <0x0 0x100>; 76 77 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>; 77 - clock-names = "enable", "uart", "source"; 78 78 clocks = <&apapb_gate CLK_UART0_EB>, 79 - <&ap_clk CLK_UART0>, <&ext_26m>; 79 + <&ap_clk CLK_UART0>, 80 + <&ext_26m>; 81 + clock-names = "enable", "uart", "source"; 80 82 status = "disabled"; 81 83 }; 82 84 ··· 86 86 "sprd,sc9836-uart"; 87 87 reg = <0x100000 0x100>; 88 88 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; 89 - clock-names = "enable", "uart", "source"; 90 89 clocks = <&apapb_gate CLK_UART1_EB>, 91 - <&ap_clk CLK_UART1>, <&ext_26m>; 90 + <&ap_clk CLK_UART1>, 91 + <&ext_26m>; 92 + clock-names = "enable", "uart", "source"; 92 93 status = "disabled"; 93 94 }; 94 95 ··· 98 97 "sprd,sc9836-uart"; 99 98 reg = <0x200000 0x100>; 100 99 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 101 - clock-names = "enable", "uart", "source"; 102 100 clocks = <&apapb_gate CLK_UART2_EB>, 103 - <&ap_clk CLK_UART2>, <&ext_26m>; 101 + <&ap_clk CLK_UART2>, 102 + <&ext_26m>; 103 + clock-names = "enable", "uart", "source"; 104 104 status = "disabled"; 105 105 }; 106 106 ··· 110 108 "sprd,sc9836-uart"; 111 109 reg = <0x300000 0x100>; 112 110 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 113 - clock-names = "enable", "uart", "source"; 114 111 clocks = <&apapb_gate CLK_UART3_EB>, 115 - <&ap_clk CLK_UART3>, <&ext_26m>; 112 + <&ap_clk CLK_UART3>, 113 + <&ext_26m>; 114 + clock-names = "enable", "uart", "source"; 116 115 status = "disabled"; 117 116 }; 118 117 }; ··· 132 129 /* For backwards compatibility: */ 133 130 #dma-channels = <32>; 134 131 dma-channels = <32>; 135 - clock-names = "enable"; 136 132 clocks = <&apahb_gate CLK_DMA_EB>; 133 + clock-names = "enable"; 137 134 }; 138 135 139 - sdio3: sdio@50430000 { 136 + sdio3: mmc@50430000 { 140 137 compatible = "sprd,sdhci-r11"; 141 138 reg = <0 0x50430000 0 0x1000>; 142 139 interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 143 140 144 - clock-names = "sdio", "enable", "2x_enable"; 145 141 clocks = <&aon_prediv CLK_EMMC_2X>, 146 - <&apahb_gate CLK_EMMC_EB>, 147 - <&aon_gate CLK_EMMC_2X_EN>; 142 + <&apahb_gate CLK_EMMC_EB>, 143 + <&aon_gate CLK_EMMC_2X_EN>; 144 + clock-names = "sdio", "enable", "2x_enable"; 148 145 assigned-clocks = <&aon_prediv CLK_EMMC_2X>; 149 146 assigned-clock-parents = <&clk_l0_409m6>; 150 147 ··· 197 194 compatible = "sprd,hwspinlock-r3p0"; 198 195 reg = <0 0x40500000 0 0x1000>; 199 196 #hwlock-cells = <1>; 200 - clock-names = "enable"; 201 197 clocks = <&aon_gate CLK_SPLK_EB>; 198 + clock-names = "enable"; 202 199 }; 203 200 204 201 eic_debounce: gpio@40210000 { ··· 261 258 reg = <0 0x40310000 0 0x1000>; 262 259 interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 263 260 timeout-sec = <12>; 264 - clock-names = "enable", "rtc_enable"; 265 261 clocks = <&aon_gate CLK_APCPU_WDG_EB>, 266 - <&aon_gate CLK_AP_WDG_RTC_EB>; 262 + <&aon_gate CLK_AP_WDG_RTC_EB>; 263 + clock-names = "enable", "rtc_enable"; 267 264 }; 268 265 }; 269 266 ··· 280 277 /* For backwards compatibility: */ 281 278 #dma-channels = <32>; 282 279 dma-channels = <32>; 283 - clock-names = "enable", "ashb_eb"; 284 280 clocks = <&agcp_gate CLK_AGCP_DMAAP_EB>, 285 - <&agcp_gate CLK_AGCP_AP_ASHB_EB>; 281 + <&agcp_gate CLK_AGCP_AP_ASHB_EB>; 282 + clock-names = "enable", "ashb_eb"; 286 283 }; 287 284 }; 288 285 };