Skip to content

Commit cfb6bb3

Browse files
committed
Merge tag 'samsung-dt-6.4' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into soc/dt
Samsung DTS ARM changes for v6.4 1. Several cleanups and improvements as a result of dtbs_checks: align node names with bindings, drop incorrect properties, fix clock-names, add missing "ports" node. 2. Move DP and MIPI phys to PMU node (DTS with binding change). 3. Drop old MSHC aliases (while adding proper mmc-ddr-1_8v which was selected by the driver based on the MSHC alias) and add generic MMC aliases in each board. The aliases match known numbering in the schematics. * tag 'samsung-dt-6.4' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux: dt-bindings: soc: samsung: exynos-pmu: allow phys as child on Exynos3 and Exynos4 ARM: dts: exynos: add mmc aliases ARM: dts: exynos: replace mshc0 alias with mmc-ddr-1_8v property ARM: dts: exynos: fix MCT compatible in Universal C210 ARM: dts: exynos: move DP and MIPI phys to PMU node in Exynos5250 ARM: dts: exynos: move DP and MIPI phys to PMU node in Exynos5420 ARM: dts: exynos: move MIPI phy to PMU node in Exynos4 ARM: dts: exynos: move MIPI phy to PMU node in Exynos3250 ARM: dts: exynos: drop unused samsung,camclk-out property in Midas ARM: dts: s5pv210: correct MIPI CSIS clock name ARM: dts: exynos: correct whitespace in Midas ARM: dts: exynos: fix WM8960 clock name in Itop Elite ARM: dts: exynos: add ports to TC358764 bridge on Arndale ARM: dts: exynos: drop fake align STMPE properties in P4 Note ARM: dts: exynos: align STMPE ADC node name with bindings in P4 Note Link: https://lore.kernel.org/r/20230405080438.156805-2-krzysztof.kozlowski@linaro.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2 parents 6dcb6ff + e154a33 commit cfb6bb3

39 files changed

Lines changed: 225 additions & 68 deletions

Documentation/devicetree/bindings/soc/samsung/exynos-pmu.yaml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ properties:
4848
- const: syscon
4949
- items:
5050
- enum:
51+
- samsung,exynos3250-pmu
52+
- samsung,exynos4210-pmu
53+
- samsung,exynos4412-pmu
5154
- samsung,exynos5250-pmu
5255
- samsung,exynos5420-pmu
5356
- samsung,exynos5433-pmu
@@ -138,18 +141,34 @@ allOf:
138141
compatible:
139142
contains:
140143
enum:
144+
- samsung,exynos3250-pmu
145+
- samsung,exynos4210-pmu
146+
- samsung,exynos4412-pmu
141147
- samsung,exynos5250-pmu
142148
- samsung,exynos5420-pmu
143149
- samsung,exynos5433-pmu
144150
then:
145151
properties:
146-
dp-phy: true
147152
mipi-phy: true
148153
else:
149154
properties:
150-
dp-phy: false
151155
mipi-phy: false
152156

157+
- if:
158+
properties:
159+
compatible:
160+
contains:
161+
enum:
162+
- samsung,exynos5250-pmu
163+
- samsung,exynos5420-pmu
164+
- samsung,exynos5433-pmu
165+
then:
166+
properties:
167+
dp-phy: true
168+
else:
169+
properties:
170+
dp-phy: false
171+
153172
examples:
154173
- |
155174
#include <dt-bindings/clock/exynos5250.h>

arch/arm/boot/dts/exynos3250-artik5-eval.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
model = "Samsung ARTIK5 evaluation board";
1717
compatible = "samsung,artik5-eval", "samsung,artik5",
1818
"samsung,exynos3250", "samsung,exynos3";
19+
20+
aliases {
21+
mmc0 = &mshc_2;
22+
};
1923
};
2024

2125
&mshc_2 {

arch/arm/boot/dts/exynos3250-artik5.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
/ {
1818
compatible = "samsung,artik5", "samsung,exynos3250", "samsung,exynos3";
1919

20+
aliases {
21+
mmc0 = &mshc_0;
22+
mmc1 = &mshc_1;
23+
};
24+
2025
chosen {
2126
stdout-path = &serial_2;
2227
};
@@ -321,6 +326,7 @@
321326
vmmc-supply = <&ldo12_reg>;
322327
clock-frequency = <100000000>;
323328
max-frequency = <100000000>;
329+
mmc-ddr-1_8v;
324330
samsung,dw-mshc-ciu-div = <1>;
325331
samsung,dw-mshc-sdr-timing = <0 1>;
326332
samsung,dw-mshc-ddr-timing = <1 2>;

arch/arm/boot/dts/exynos3250-monk.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
aliases {
2424
i2c7 = &i2c_max77836;
25+
mmc0 = &mshc_0;
2526
};
2627

2728
memory@40000000 {
@@ -443,6 +444,7 @@
443444
vmmc-supply = <&vemmc_reg>;
444445
clock-frequency = <100000000>;
445446
max-frequency = <100000000>;
447+
mmc-ddr-1_8v;
446448
samsung,dw-mshc-ciu-div = <1>;
447449
samsung,dw-mshc-sdr-timing = <0 1>;
448450
samsung,dw-mshc-ddr-timing = <1 2>;

arch/arm/boot/dts/exynos3250-rinato.dts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
aliases {
2525
i2c7 = &i2c_max77836;
26+
mmc0 = &mshc_0;
27+
mmc1 = &mshc_1;
2628
};
2729

2830
chosen {
@@ -624,6 +626,7 @@
624626
vmmc-supply = <&ldo12_reg>;
625627
clock-frequency = <100000000>;
626628
max-frequency = <100000000>;
629+
mmc-ddr-1_8v;
627630
samsung,dw-mshc-ciu-div = <1>;
628631
samsung,dw-mshc-sdr-timing = <0 1>;
629632
samsung,dw-mshc-ddr-timing = <1 2>;

arch/arm/boot/dts/exynos3250.dtsi

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
aliases {
2929
pinctrl0 = &pinctrl_0;
3030
pinctrl1 = &pinctrl_1;
31-
mshc0 = &mshc_0;
32-
mshc1 = &mshc_1;
33-
mshc2 = &mshc_2;
3431
spi0 = &spi_0;
3532
spi1 = &spi_1;
3633
i2c0 = &i2c_0;
@@ -346,20 +343,19 @@
346343
};
347344

348345
pmu_system_controller: system-controller@10020000 {
349-
compatible = "samsung,exynos3250-pmu", "syscon";
346+
compatible = "samsung,exynos3250-pmu", "simple-mfd", "syscon";
350347
reg = <0x10020000 0x4000>;
351348
interrupt-controller;
352349
#interrupt-cells = <3>;
353350
interrupt-parent = <&gic>;
354351
clock-names = "clkout8";
355352
clocks = <&cmu CLK_FIN_PLL>;
356353
#clock-cells = <1>;
357-
};
358354

359-
mipi_phy: video-phy {
360-
compatible = "samsung,s5pv210-mipi-video-phy";
361-
#phy-cells = <1>;
362-
syscon = <&pmu_system_controller>;
355+
mipi_phy: mipi-phy {
356+
compatible = "samsung,s5pv210-mipi-video-phy";
357+
#phy-cells = <1>;
358+
};
363359
};
364360

365361
pd_cam: power-domain@10023c00 {

arch/arm/boot/dts/exynos4.dtsi

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,6 @@
105105
reg = <0x12570000 0x14>;
106106
};
107107

108-
mipi_phy: video-phy {
109-
compatible = "samsung,s5pv210-mipi-video-phy";
110-
#phy-cells = <1>;
111-
syscon = <&pmu_system_controller>;
112-
};
113-
114108
pd_mfc: power-domain@10023c40 {
115109
compatible = "samsung,exynos4210-pd";
116110
reg = <0x10023c40 0x20>;
@@ -181,11 +175,16 @@
181175
};
182176

183177
pmu_system_controller: system-controller@10020000 {
184-
compatible = "samsung,exynos4210-pmu", "syscon";
178+
compatible = "samsung,exynos4210-pmu", "simple-mfd", "syscon";
185179
reg = <0x10020000 0x4000>;
186180
interrupt-controller;
187181
#interrupt-cells = <3>;
188182
interrupt-parent = <&gic>;
183+
184+
mipi_phy: mipi-phy {
185+
compatible = "samsung,s5pv210-mipi-video-phy";
186+
#phy-cells = <1>;
187+
};
189188
};
190189

191190
dsi_0: dsi@11c80000 {

arch/arm/boot/dts/exynos4210-i9100.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
reg = <0x40000000 0x40000000>;
2626
};
2727

28+
aliases {
29+
mmc0 = &sdhci_0;
30+
mmc1 = &sdhci_2;
31+
mmc2 = &sdhci_3;
32+
};
33+
2834
chosen {
2935
stdout-path = "serial2:115200n8";
3036
};

arch/arm/boot/dts/exynos4210-origen.dts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
0x70000000 0x10000000>;
3131
};
3232

33+
aliases {
34+
mmc0 = &sdhci_0;
35+
mmc1 = &sdhci_2;
36+
};
37+
3338
chosen {
3439
bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc";
3540
stdout-path = "serial2:115200n8";

arch/arm/boot/dts/exynos4210-smdkv310.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
reg = <0x40000000 0x80000000>;
2626
};
2727

28+
aliases {
29+
mmc0 = &sdhci_2;
30+
};
31+
2832
chosen {
2933
bootargs = "root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M init=/linuxrc";
3034
stdout-path = "serial1:115200n8";

0 commit comments

Comments
 (0)