arm64: dts: qcom: Add 3 new devices
v5 cover arm64: dts: qcom: Add 3 new devices
Introduce support for 3 new devices:
- Motorola Moto One based on MSM8953
- LeEco Le2 based on MSM8976
- Xiaomi Redmi 9T based on SM6115
Device trees besides enabling most of supported hardware also wires power to subsystems like MDSS even if those are not enabled to lower maintenance burden on out of tree forks.
---
Changes in v5:
- Leeco Le2 fixed lacking -supply on map added previously
- Link to v4: https://patch.msgid.link/[email protected]
Changes in v4:
- Leeco Le 2 and Motorola One fixed-regulators aligned to schema
- Motorola One commit msg reworded to drop touchscreen
- Leeco Le 2 added lacking parent supply for rpm regulators
- Redmi 9T makefile placement fixed to be after other sm6115 device
- Link to v3: https://patch.msgid.link/[email protected]
Changes in v3:
- Motorola One Touchscreen was removed as it doesn't work
- Leeco Le 2 gpio-keys node name was fixed
- Leeco Le 2 volume down key via pm8950 resin was added
- Redmi 9T Reviewed-by tag was added
- Adressed more Sashiko-bot warnings
- Link to v2: https://patch.msgid.link/[email protected]
Changes in v2:
- Adressed Sashiko-bot warnings
- Added Krzysztof's Acks
- Dropped confusing link from first vendor-prefix patch
- Removed ramoops nodes from Motorola and Leeco patches(now handled via lk2nd)
- Motorola One USB-C connector and FUSB302 is now fully wired and enabled
- Motorola One Touchscreen has been disabled due to panel power dependency
- Motorola One debug memory regions were removed
- Motorola One regulator setup values were ajusted
- Motorola One NFC now have more specific compatible
- All devices now have described reserved GPIOs and trimmed unused ones
- Leeco Le2 added missing pinctrls for peripheral IRQs
- Leeco Le2 OTG is no longer enabled as phy dependency is not enabled(need rework)
- Redmi 9T USB-C connector now is fully wired including pmi632 setup
- Redmi 9T nodes are sorted now
- Various changes to styling to keep nodes within single dts consistent
- Link to v1: https://patch.msgid.link/[email protected]
To: Rob Herring <[email protected]>
To: Krzysztof Kozlowski <[email protected]>
To: Conor Dooley <[email protected]>
To: Bjorn Andersson <[email protected]>
To: Konrad Dybcio <[email protected]>
To: Kees Cook <[email protected]>
To: Tony Luck <[email protected]>
To: "Guilherme G. Piccoli" <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
Adam Skladowski (7):
dt-bindings: vendor-prefixes: Add LeEco
dt-bindings: arm: qcom: Document Motorola Moto One
arm64: dts: qcom: Add Motorola One
dt-bindings: arm: qcom: Document LeEco Le2
arm64: dts: qcom: Add LeEco Le2
dt-bindings: arm: qcom: Document Xiaomi Redmi 9T
arm64: dts: qcom: Add Xiaomi Redmi 9T
Documentation/devicetree/bindings/arm/qcom.yaml | 3 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm64/boot/dts/qcom/Makefile | 3 + arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts | 440 ++++++++++++++++++ arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts | 442 ++++++++++++++++++ arch/arm64/boot/dts/qcom/sm6115-xiaomi-lemon.dts | 497 +++++++++++++++++++++ 6 files changed, 1387 insertions(+)
---
base-commit: 6b8c8af514d739d0335f5579b585e02babe8a727
change-id: 20260810-next-patches-6ad6d10077a0
Best regards,
Signature · 1 line
Adam Skladowski <[email protected]>
PATCH v5 1/7 dt-bindings: vendor-prefixes: Add LeEco
Add vendor prefix for now dead ecosystem company LeEco
--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -947,6 +947,8 @@ patternProperties: description: Shenzen LC Technology Co., Ltd. "^leadtek,.*": description: Shenzhen Leadtek Technology Co., Ltd. + "^leeco,.*": + description: Leshi Holding Beijing. "^leez,.*": description: Leez "^lego,.*":
Signature · 1 line
2.55.0
Re: [PATCH v5 1/7] dt-bindings: vendor-prefixes: Add LeEco
Quoted 6 lines · Adam Skladowski
Add vendor prefix for now dead ecosystem company LeEco
Signed-off-by Adam Skladowski <[email protected]>--- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+)
Best regards,
Krzysztof
PATCH v5 2/7 dt-bindings: arm: qcom: Document Motorola Moto One
In reply to Adam SkladowskiAdd compatible for Motorola Moto One(deen) based on Snapdragon 625 SoC.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -292,6 +292,7 @@ properties: - items: - enum: - flipkart,rimob + - motorola,deen - motorola,potter - xiaomi,daisy - xiaomi,mido
Signature · 1 line
2.55.0
PATCH v5 3/7 arm64: dts: qcom: Add Motorola One
In reply to Adam SkladowskiAdd a devicetree for the Motorola One smartphone, which is based on the Jacala/MSM8953 SoC.
Supported functionality as of this initial submission:
* I2C peripherals (NFC)
* Power Button, Volume Keys
* Regulators (PM8953)
* Remoteprocs (ADSP, MPSS, WCNSS)
* USB
Device tree also contains supply maps to other subsystems like MDSS but due to missing dependencies like panel those are disabled.
--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts | 440 +++++++++++++++++++++ 2 files changed, 441 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -120,6 +120,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8939-sony-xperia-kanuti-tulip.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-wingtech-wt82918.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8939-wingtech-wt82918hd.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-flipkart-rimob.dtb +dtb-$(CONFIG_ARCH_QCOM) += msm8953-motorola-deen.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-motorola-potter.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-daisy.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-mido.dtb
arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts new file +440 -0
440 lines not on this page · raw message
Signature · 1 line
2.55.0
PATCH v5 4/7 dt-bindings: arm: qcom: Document LeEco Le2
In reply to Adam SkladowskiAdd compatible for LeEco Le2 codename s2 based on Snapdragon 652 SoC.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -348,6 +348,7 @@ properties: - items: - enum: + - leeco,s2 - longcheer,l9360 - const: qcom,msm8976
Signature · 1 line
2.55.0
PATCH v5 5/7 arm64: dts: qcom: Add LeEco Le2
In reply to Adam SkladowskiAdd a devicetree for the LeEco Le2 smartphone, which is based on the Eldarion/MSM8976 SoC.
Supported functionality as of this initial submission:
* I2C peripherals (Touchscreen,Audio amp, Haptics, Extcon, Led)
* Power Button, Volume Keys
* Regulators (PM8950)
* WLED (PMI8950)
* Remoteprocs (WCNSS)
* GPU
Device tree also contains supply maps to other subsystems like MDSS but due to missing dependencies like panel those are disabled.
--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts | 442 ++++++++++++++++++++++++++ 2 files changed, 443 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -128,6 +128,7 @@ dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-tissot.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8953-xiaomi-vince.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8956-sony-xperia-loire-kugo.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8956-sony-xperia-loire-suzu.dtb +dtb-$(CONFIG_ARCH_QCOM) += msm8976-leeco-s2.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8976-longcheer-l9360.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8992-lg-bullhead-rev-10.dtb dtb-$(CONFIG_ARCH_QCOM) += msm8992-lg-bullhead-rev-101.dtb
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +442 -0
442 lines not on this page · raw message
Signature · 1 line
2.55.0
[email protected]
AI reviewRe: [PATCH v5 5/7] arm64: dts: qcom: Add LeEco Le2
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider: - [High] TUSB320 Type-C controller interrupt is incorrectly configured with a rising edge trigger, causing…
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [High] TUSB320 Type-C controller interrupt is incorrectly configured with a rising edge trigger, causing missed events.
- [Medium] Incorrect touchscreen reset GPIO polarity prevents touchscreen initialization.
- [Medium] WLED node is not enabled, contradicting the commit message claims.
--
--- Patch [5]: [PATCH v5 5/7] arm64: dts: qcom: Add LeEco Le2 --- commit bf1cb1abb3fe575b45f1473fbbd547b3fb860088
Author: Adam Skladowski <[email protected]>
arm64: dts: qcom: Add LeEco Le2
Add a devicetree for the LeEco Le2 smartphone, which is based on the Eldarion/MSM8976 SoC. This adds support for I2C peripherals, regulators, WLED, remoteprocs, and GPU.
Quoted 4 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +0
-0
[ ... ]
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts line 71
Quoted 12 lines
+&blsp1_i2c4 {
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +11
-0+ status = "okay"; + + touchscreen@4b { + compatible = "syna,rmi4-i2c"; + reg = <0x4b>; + interrupts-extended = <&tlmm 65 IRQ_TYPE_EDGE_FALLING>; + + pinctrl-0 = <&touch_default_state>; + pinctrl-names = "default"; + + reset-gpios = <&tlmm 64 GPIO_ACTIVE_HIGH>;
[Severity: Medium]
Is this GPIO polarity correct for the Synaptics RMI4 controller? The hardware typically uses an active-low reset.
If configured as active-high, the driver will drive the line low during normal operation, which might hold the touchscreen controller in a perpetual reset state and prevent initialization.
Quoted 3 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +3
-0+ + vdd-supply = <&pm8950_l17>; + vio-supply = <&pm8950_l6>;
[ ... ]
Quoted 5 lines
+&blsp2_i2c2 {
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +4
-0+ status = "okay"; + + haptics: haptics@5a { + compatible = "ti,drv2604";
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts line 112
Quoted 10 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +10
-0+ reg = <0x5a>; + enable-gpios = <&tlmm 109 GPIO_ACTIVE_HIGH>; + mode = <DRV260X_LRA_MODE>; + library-sel = <DRV260X_LIB_LRA>; + }; + + tiusb320: typec@47 { + compatible = "ti,tusb320"; + reg = <0x47>; + interrupts-extended = <&tlmm 21 IRQ_TYPE_EDGE_RISING>;
[Severity: High]
Will this rising edge trigger work for the TUSB320 hardware?
The TUSB320 uses an open-drain, active-low INT_N signal that is pulled low when an event occurs and remains low until serviced.
If configured as a rising edge, the interrupt handler might not run when the signal is asserted. This could prevent the interrupt status from being read, which would mean the chip never releases the line, deadlocking the interrupt mechanism and missing attach/detach events.
Quoted 5 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +5
-0+ + pinctrl-0 = <&tusb320_int_active>; + pinctrl-names = "default"; + }; +};
[ ... ]
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts line 234
Quoted 11 lines
+&pm8950_resin {
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +10
-0+ linux,code = <KEY_VOLUMEDOWN>; + + status = "okay"; +}; + +&pmi8950_wled { + qcom,current-limit-microamp = <20000>; + qcom,enabled-strings = <0 1>; + qcom,ovp-millivolt = <29500>; +};
[Severity: Medium]
Does this node need a status = "okay"; property added here?
The commit message mentions WLED support is included in this initial submission, but the pmi8950_wled node is usually defined as disabled in the base pmi8950.dtsi file. Without an explicit okay status, this hardware functionality might remain disabled.
Quoted 2 lines
+
+&rpm_requests {
[ ... ]
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=5
PATCH v5 6/7 dt-bindings: arm: qcom: Document Xiaomi Redmi 9T
In reply to Adam SkladowskiAdd compatible for Xiaomi Redmi 9T NFC codename lemon which is one of variants of Xiaomi Citrus lineup based on Snapdragon 662 SoC.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
@@ -1035,6 +1035,7 @@ properties: - items: - enum: - fxtec,pro1x + - xiaomi,lemon - const: qcom,sm6115 - items:
Signature · 1 line
2.55.0
PATCH v5 7/7 arm64: dts: qcom: Add Xiaomi Redmi 9T
In reply to Adam SkladowskiAdd a devicetree for the Xiaomi Redmi 9T smartphone, which is based on the Bengal/SM6115 SoC.
Supported functionality as of this initial submission:
* Display via SimpleFB/SimpleDRM
* GPU
* I2C peripherals (Backlight)
* Power Button, Volume Keys
* Regulators
* Remoteprocs (ADSP, CDSP, MPSS)
* UFS/SDCARD
* USB
Device tree also contains supply maps to other subsystems like MDSS but due to missing dependencies like panel those are disabled.
--- arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sm6115-xiaomi-lemon.dts | 497 +++++++++++++++++++++++ 2 files changed, 498 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
@@ -344,6 +344,7 @@ dtb-$(CONFIG_ARCH_QCOM) += shikra-iqs-evk.dtb dtb-$(CONFIG_ARCH_QCOM) += sm4250-oneplus-billie2.dtb dtb-$(CONFIG_ARCH_QCOM) += sm4450-qrd.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6115-fxtec-pro1x.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm6115-xiaomi-lemon.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6115p-lenovo-j606f.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6125-sony-xperia-seine-pdx201.dtb dtb-$(CONFIG_ARCH_QCOM) += sm6125-xiaomi-ginkgo.dtb
arch/arm64/boot/dts/qcom/sm6115-xiaomi-lemon.dts new file +497 -0
497 lines not on this page · raw message
Signature · 1 line
2.55.0
[email protected]
AI reviewRe: [PATCH v5 7/7] arm64: dts: qcom: Add Xiaomi Redmi 9T
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] Device Tree Misconfiguration: Invalid `brightness-levels` array in `led-backlight` node. --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Device Tree Misconfiguration: Invalid brightness-levels array in led-backlight node. --
--- Patch [7]: [PATCH v5 7/7] arm64: dts: qcom: Add Xiaomi Redmi 9T --- commit b28de55d5a8b36d66c2c9a970672b92796d38f43
Author: Adam Skladowski <[email protected]>
arm64: dts: qcom: Add Xiaomi Redmi 9T
This commit adds a new devicetree for the Xiaomi Redmi 9T smartphone based on the Qualcomm SM6115 SoC. It enables foundational hardware support including simple framebuffer, GPU, regulators, and USB, while leaving display-dependent nodes disabled for now.
Quoted 5 lines
arch/arm64/boot/dts/qcom/sm6115-xiaomi-lemon.dts new file +0
-0
[ ... ]
arch/arm64/boot/dts/qcom/sm6115-xiaomi-lemon.dts line 46
Quoted 4 lines
arch/arm64/boot/dts/qcom/sm6115-xiaomi-lemon.dts new file +4
-0+ backlight_dsi: backlight-dsi { + compatible = "led-backlight"; + leds = <&led_backlight>; + brightness-levels = <255>;
[Severity: Low]
Is this single-element brightness-levels array intentional?
If the backlight_dsi node is later enabled by a panel variant, the led-backlight driver will parse this property via led_bl_parse_levels(). Since it expects multiple levels, providing only one element causes the driver to print a "Not enough levels defined" warning, ignore the property, and fall back to native scaling.
Could this property be removed, or populated with the full array of expected brightness levels?
Quoted 4 lines
arch/arm64/boot/dts/qcom/sm6115-xiaomi-lemon.dts new file +4
-0+ default-brightness-level = <190>; + /* Backlight controllers can differ between panel variants */ + status = "disabled"; + };
[ ... ]
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=7
Quoted 11 lines · Adam Skladowski
Introduce support for 3 new devices:
- Motorola Moto One based on MSM8953
- LeEco Le2 based on MSM8976
- Xiaomi Redmi 9T based on SM6115Device trees besides enabling most of supported hardware also wires power to subsystems like MDSS even if those are not enabled to lower maintenance burden on out of tree forks.
Signed-off-by Adam Skladowski <[email protected]>---
Three patchsets within one hour. Slow down.
It is one per 24h during normal cycle and some maintainers prefer even rarer during the merge window.
Best regards,
Krzysztof
Re: (subset) [PATCH v5 0/7] arm64: dts: qcom: Add 3 new devices
In reply to Adam SkladowskiQuoted 10 lines · Adam Skladowski
Introduce support for 3 new devices:
- Motorola Moto One based on MSM8953
- LeEco Le2 based on MSM8976
- Xiaomi Redmi 9T based on SM6115Device trees besides enabling most of supported hardware also wires power to subsystems like MDSS even if those are not enabled to lower maintenance burden on out of tree forks.
[...]
Applied, thanks!
[1/7] dt-bindings: vendor-prefixes: Add LeEco
commit: 1658af4d25bd3133d1b3403ccdda6214d40c0ebb
[2/7] dt-bindings: arm: qcom: Document Motorola Moto One
commit: 51c5d61ba73bde54d7900276cb1c0e37d416adfb
[4/7] dt-bindings: arm: qcom: Document LeEco Le2
commit: 147a652d5257cca0cda8a7ad5f4f69ed0eff4a2f
[6/7] dt-bindings: arm: qcom: Document Xiaomi Redmi 9T
commit: c2cec02793328f09dd80387d23d7a9562fd80f36Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>
Re: (subset) [PATCH v5 0/7] arm64: dts: qcom: Add 3 new devices
In reply to Adam SkladowskiQuoted 10 lines · Adam Skladowski
Introduce support for 3 new devices:
- Motorola Moto One based on MSM8953
- LeEco Le2 based on MSM8976
- Xiaomi Redmi 9T based on SM6115Device trees besides enabling most of supported hardware also wires power to subsystems like MDSS even if those are not enabled to lower maintenance burden on out of tree forks.
[...]
Applied, thanks!
[3/7] arm64: dts: qcom: Add Motorola One
commit: b62af30ebdb4ae4ec6230c5e39eea97f65b9f5ea
[5/7] arm64: dts: qcom: Add LeEco Le2
commit: 88e66b7b609ea27e1ceddd1bd2c581a4a29f0574
[7/7] arm64: dts: qcom: Add Xiaomi Redmi 9T
commit: 76fbf547548ccd1a650c096836d8cf01f3ce3ce6Best regards,
Signature · 1 line
Bjorn Andersson <[email protected]>