forked from torvalds/linux
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arm64: dts: qcom: Introduce support for MSM8998 Sony Yoshino platform
This commit introduces support for the Sony Yoshino platform, using the MSM8998 SoC, including: - Sony Xperia XZ1 (codename Poplar), - Sony Xperia XZ1 Compact (codename Lilac), - Sony Xperia XZ Premium (codename Maple). All of the three aforementioned smartphones are sharing a 99% equal board configuration, with very small differences between each other, which is the reason for the introduction of a common msm8998-sony-xperia-yoshino DT. This base configuration includes regulators and project-wide pin configurations and it's made to boot to a serial console. Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org> Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
- Loading branch information
1 parent
b1e2025
commit 3f74465
Showing
5 changed files
with
570 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-lilac.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
/* | ||
* Copyright (c) 2021, AngeloGioacchino Del Regno | ||
* <angelogioacchino.delregno@somainline.org> | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "msm8998-sony-xperia-yoshino.dtsi" | ||
|
||
/ { | ||
model = "Sony Xperia XZ1 Compact"; | ||
compatible = "sony,xperia-lilac", "qcom,msm8998"; | ||
}; | ||
|
||
&vreg_l22a_2p85 { | ||
regulator-min-microvolt = <2800000>; | ||
regulator-max-microvolt = <2800000>; | ||
}; |
43 changes: 43 additions & 0 deletions
43
arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-maple.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
/* | ||
* Copyright (c) 2021, AngeloGioacchino Del Regno | ||
* <angelogioacchino.delregno@somainline.org> | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "msm8998-sony-xperia-yoshino.dtsi" | ||
|
||
/ { | ||
model = "Sony Xperia XZ Premium"; | ||
compatible = "sony,xperia-maple", "qcom,msm8998"; | ||
|
||
disp_dvdd_vreg: disp-dvdd-vreg { | ||
compatible = "regulator-fixed"; | ||
regulator-name = "disp_dvdd_en"; | ||
regulator-min-microvolt = <1350000>; | ||
regulator-max-microvolt = <1350000>; | ||
startup-delay-us = <0>; | ||
enable-active-high; | ||
gpio = <&pmi8998_gpio 10 GPIO_ACTIVE_HIGH>; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&disp_dvdd_en>; | ||
}; | ||
}; | ||
|
||
&pmi8998_gpio { | ||
disp_dvdd_en: disp-dvdd-en-active { | ||
pins = "gpio10"; | ||
function = "normal"; | ||
bias-disable; | ||
drive-push-pull; | ||
output-high; | ||
power-source = <0>; | ||
qcom,drive-strength = <1>; | ||
}; | ||
}; | ||
|
||
&vreg_l22a_2p85 { | ||
regulator-min-microvolt = <2704000>; | ||
regulator-max-microvolt = <2704000>; | ||
}; |
24 changes: 24 additions & 0 deletions
24
arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino-poplar.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// SPDX-License-Identifier: BSD-3-Clause | ||
/* | ||
* Copyright (c) 2021, AngeloGioacchino Del Regno | ||
* <angelogioacchino.delregno@somainline.org> | ||
*/ | ||
|
||
/dts-v1/; | ||
|
||
#include "msm8998-sony-xperia-yoshino.dtsi" | ||
|
||
/ { | ||
model = "Sony Xperia XZ1"; | ||
compatible = "sony,xperia-poplar", "qcom,msm8998"; | ||
}; | ||
|
||
&vreg_l18a_2p85 { | ||
regulator-min-microvolt = <2850000>; | ||
regulator-max-microvolt = <2850000>; | ||
}; | ||
|
||
&vreg_l22a_2p85 { | ||
regulator-min-microvolt = <2700000>; | ||
regulator-max-microvolt = <2700000>; | ||
}; |
Oops, something went wrong.