Samsung DTS ARM changes for v5.4, part 2

1. Fix Exynos542x Chromebooks boot with multi_v7 defconfig,
 2. Add GPU (Mali) support to Exynos5250 boards,
 3. Minor cleanup for Exynos3250 ADC.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAl1v9BQQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD11SiD/9ne/XDfE3mLaEserj15QkGJobF6F5GU/Lc
 Gd0zWtBYfdY68z6Gpjipd+9qwY6BtQ1MJl1I8luB43p59BkA+oNCgedN7q2E4REW
 aWIeuEsMa9nI/WcuCFHo69Uya6oJ7yRmdxpMKFDX2rAncmYK/eV2maitevqP8vDg
 m0dyJrf32CG4zbVUarDGu1SkMQKH9ymhXJSJ01gGO2tPtIfDAXxyV997mbKWxkjo
 EqVuwz0ha/sEeJxtvZTVjI6WhLHhqG6tHqWC55ECqCh83qjjBAKc55AvaV0EryPV
 20VK5F2dPRWiEYsy3ODVjU3OVr8Cvgb7Z8UNxRtOvby4IXc5P2rbP5bysndtm2W7
 29H9LTqDUZVzUC6lM+xKiL6UC3xTxeqC2NND2mPsm5c8buUhPp1EUioerIvfYTnW
 sIY91ldw9bGy2uwb9kb5gC7W7OKzI4yxSRJLTiJP3S2iXYZJx8Ty3c87uKsLl0US
 NYT5R/rrOoGh9DIHp0s2UZGieQ9kZDSZ8JwfZ3mSoc75ZUz+7pArLB5jGWk+EBHD
 uQwgSj0ASUIslF9QCQIOMIluodmTIxWcu6Wc/x+Xj6lSg+LgqG2rBmxwXsRZ1usq
 pH5mjjw70nLnl78plncPrJu03DK79SQyZaJM4Y3zdoK6dXxugHVbDifUmz0+lDoH
 q+xxc5BF4A==
 =kXsu
 -----END PGP SIGNATURE-----

Merge tag 'samsung-dt-5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux into arm/dt

Samsung DTS ARM changes for v5.4, part 2

1. Fix Exynos542x Chromebooks boot with multi_v7 defconfig,
2. Add GPU (Mali) support to Exynos5250 boards,
3. Minor cleanup for Exynos3250 ADC.

* tag 'samsung-dt-5.4-2' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux:
  ARM: dts: exynos: Enable GPU/Mali T604 on Arndale board
  ARM: dts: exynos: Enable GPU/Mali T604 on Chromebook Snow
  ARM: dts: exynos: Add GPU/Mali T604 node to Exynos5250
  ARM: dts: exynos: Fix min/max buck4 for GPU on Arndale board
  ARM: dts: exynos: Mark LDO10 as always-on on Peach Pit/Pi Chromebooks
  ARM: dts: exynos: Remove not accurate secondary ADC compatible

Link: https://lore.kernel.org/r/20190904175002.10487-4-krzk@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2019-09-04 22:33:03 +02:00
commit 72146720dd
6 changed files with 62 additions and 4 deletions

View File

@ -450,8 +450,7 @@
};
adc: adc@126c0000 {
compatible = "samsung,exynos3250-adc",
"samsung,exynos-adc-v2";
compatible = "samsung,exynos3250-adc";
reg = <0x126C0000 0x100>;
interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
clock-names = "adc", "sclk";

View File

@ -461,8 +461,8 @@
buck4_reg: BUCK4 {
regulator-name = "vdd_g3d";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
regulator-min-microvolt = <850000>;
regulator-max-microvolt = <1300000>;
regulator-always-on;
regulator-boot-on;
op_mode = <1>;
@ -543,6 +543,11 @@
status = "okay";
};
&mali {
mali-supply = <&buck4_reg>;
status = "okay";
};
&mixer {
status = "okay";
};

View File

@ -529,6 +529,11 @@
status = "okay";
};
&mali {
mali-supply = <&buck4_reg>;
status = "okay";
};
&mixer {
status = "okay";
};

View File

@ -328,6 +328,53 @@
iommus = <&sysmmu_rotator>;
};
mali: gpu@11800000 {
compatible = "samsung,exynos5250-mali", "arm,mali-t604";
reg = <0x11800000 0x5000>;
interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "job", "mmu", "gpu";
clocks = <&clock CLK_G3D>;
clock-names = "core";
operating-points-v2 = <&gpu_opp_table>;
power-domains = <&pd_g3d>;
status = "disabled";
gpu_opp_table: gpu-opp-table {
compatible = "operating-points-v2";
opp-100000000 {
opp-hz = /bits/ 64 <100000000>;
opp-microvolt = <925000>;
};
opp-160000000 {
opp-hz = /bits/ 64 <160000000>;
opp-microvolt = <925000>;
};
opp-266000000 {
opp-hz = /bits/ 64 <266000000>;
opp-microvolt = <1025000>;
};
opp-350000000 {
opp-hz = /bits/ 64 <350000000>;
opp-microvolt = <1075000>;
};
opp-400000000 {
opp-hz = /bits/ 64 <400000000>;
opp-microvolt = <1125000>;
};
opp-450000000 {
opp-hz = /bits/ 64 <450000000>;
opp-microvolt = <1150000>;
};
opp-533000000 {
opp-hz = /bits/ 64 <533000000>;
opp-microvolt = <1250000>;
};
};
};
tmu: tmu@10060000 {
compatible = "samsung,exynos5250-tmu";
reg = <0x10060000 0x100>;

View File

@ -440,6 +440,7 @@
regulator-name = "vdd_ldo10";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};

View File

@ -440,6 +440,7 @@
regulator-name = "vdd_ldo10";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-state-mem {
regulator-off-in-suspend;
};