ARM: dts: qcom: msm8926-sony-xperia-yukon-eagle: add initial device tree
cover ARM: dts: qcom: msm8926-sony-xperia-yukon-eagle: add initial device tree
Sony Xperia M2 is a smartphone released in 2014 based on the Qualcomm Snapdragon 400 (MSM8926) platform.
Add initial device tree with for Sony Xperia M2 with support for:
- Framebuffer
- Regulators
- Internal storage
- SD card
- Accelerometer
- Magnetometer
- Ambient Light/Proximity sensor
- NFC
- USB/Charger
---
Erikas Bitovtas (2):
dt-bindings: arm: qcom: Add Sony Xperia M2
ARM: dts: qcom: msm8926-sony-xperia-yukon-eagle: add initial device tree
Documentation/devicetree/bindings/arm/qcom.yaml | 1 + arch/arm/boot/dts/qcom/Makefile | 1 + .../dts/qcom/msm8926-sony-xperia-yukon-eagle.dts | 406 +++++++++++++++++++++ 3 files changed, 408 insertions(+)
---
base-commit: e7e28506af98ce4e1059e5ec59334b335c00a246
change-id: 20260526-yukon-eagle-658f2f81a14d
Best regards,
Signature · 1 line
Erikas Bitovtas <[email protected]>
PATCH 1/2 dt-bindings: arm: qcom: Add Sony Xperia M2
Document the Sony Xperia M2, which is a smartphone based on the Qualcomm MSM8926 SoC.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -99,6 +99,7 @@ properties: - microsoft,tesla - motorola,peregrine - samsung,matisselte + - sony,eagle - const: qcom,msm8926 - const: qcom,msm8226
Signature · 1 line
2.54.0
Re: [PATCH 1/2] dt-bindings: arm: qcom: Add Sony Xperia M2
Quoted 7 lines · Erikas Bitovtas
Document the Sony Xperia M2, which is a smartphone based on the Qualcomm MSM8926 SoC.
Signed-off-by Erikas Bitovtas <[email protected]>--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Best regards,
Krzysztof
PATCH 2/2 ARM: dts: qcom: msm8926-sony-xperia-yukon-eagle: add initial device tree
In reply to Erikas BitovtasAdd device tree for Sony Xperia M2 (sony-eagle) smartphone based on the Qualcomm MSM8926 SoC.
Initial features:
- Framebuffer
- Regulators
- Internal storage
- SD card
- Accelerometer
- Magnetometer
- Ambient Light/Proximity sensor
- NFC
- USB/Charger
--- arch/arm/boot/dts/qcom/Makefile | 1 + .../dts/qcom/msm8926-sony-xperia-yukon-eagle.dts | 406 +++++++++++++++++++++ 2 files changed, 407 insertions(+)
arch/arm/boot/dts/qcom/Makefile +1 -0
@@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 dtb-$(CONFIG_ARCH_QCOM) += \ msm8226-motorola-falcon.dtb \ + msm8926-sony-xperia-yukon-eagle.dtb \ qcom-apq8016-sbc.dtb \ qcom-apq8026-asus-sparrow.dtb \ qcom-apq8026-huawei-sturgeon.dtb \
arch/arm/boot/dts/qcom/msm8926-sony-xperia-yukon-eagle.dts new file +406 -0
406 lines not on this page · raw message
Signature · 1 line
2.54.0
[email protected]
AI reviewThank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider: - [Medium] Board-specific GPIOs lack explicit pin control configurations. - [Medium] Unjustified use of…
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Medium] Board-specific GPIOs lack explicit pin control configurations.
- [Medium] Unjustified use of regulator-always-on for managed regulators.
- [Low] Unnecessary deletion and recreation of reserved memory nodes instead of property overrides. --
commit 9c64533c5c22d487f869e7fde305b8e89bded0d1
Author: Erikas Bitovtas <[email protected]>
ARM: dts: qcom: msm8926-sony-xperia-yukon-eagle: add initial device tree
This commit adds the initial device tree for the Sony Xperia M2 smartphone based on the Qualcomm MSM8926 SoC. It includes configurations for the framebuffer, regulators, internal storage, SD card, sensors, NFC, and USB.
Quoted 10 lines
arch/arm/boot/dts/qcom/msm8926-sony-xperia-yukon-eagle.dts new file +4
-0@@ -0,0 +1,406 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2026 Erikas Bitovtas <[email protected]> + */
arch/arm/boot/dts/qcom/msm8926-sony-xperia-yukon-eagle.dts line 14
Quoted 10 lines
arch/arm/boot/dts/qcom/msm8926-sony-xperia-yukon-eagle.dts new file +10
-0+ +/dts-v1/; + +#include "msm8926.dtsi" +#include "pm8226.dtsi" + +/delete-node/ &adsp_region; +/delete-node/ &mba_region; +/delete-node/ &mpss_region; +/delete-node/ &smem_region;
[Severity: Low]
Is it necessary to delete and recreate these reserved memory nodes? Since the base unit addresses for these regions don't change, we could override the reg property directly instead of deleting the nodes. Completely deleting the nodes risks dropping other properties defined in the base dtsi.
[ ... ]
arch/arm/boot/dts/qcom/msm8926-sony-xperia-yukon-eagle.dts line 57
Quoted 6 lines
arch/arm/boot/dts/qcom/msm8926-sony-xperia-yukon-eagle.dts new file +6
-0+ gpio-keys { + compatible = "gpio-keys"; + + button-camera-focus { + label = "Camera Focus"; + gpios = <&tlmm 108 GPIO_ACTIVE_LOW>;
[Severity: Medium]
Are there missing pinctrl states for this and other board-specific GPIOs defined in this file? Relying on the bootloader for pin multiplexing, drive strengths, and bias resistors can leave pins in an undefined state and might cause issues after resuming from suspend.
[ ... ]
arch/arm/boot/dts/qcom/msm8926-sony-xperia-yukon-eagle.dts line 256
Quoted 5 lines
arch/arm/boot/dts/qcom/msm8926-sony-xperia-yukon-eagle.dts new file +5
-0+ pm8226_l6: l6 { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + };
[Severity: Medium]
Does this regulator need to be forced always-on? It is provided to sdhc_1 as its vqmmc-supply, so the MMC subsystem should be able to dynamically manage its power state. Unless there is an unmodeled hardware constraint, the regulator-always-on property prevents the consumer from managing the supply efficiently.
[ ... ]
Quoted 9 lines
arch/arm/boot/dts/qcom/msm8926-sony-xperia-yukon-eagle.dts new file +9
-0+&sdhc_1 { + vmmc-supply = <&pm8226_l17>; + vqmmc-supply = <&pm8226_l6>; + + bus-width = <8>; + non-removable; + + status = "okay"; +};
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2