Skip to contentSkip to conversation

arm64: dts: qcom: Add 3 new devices

PATCH Superseded Adam Skladowski 2 participants 11 messages Aug 21

Subsystems (3)

v3 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

v3 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 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      | 441 ++++++++++++++++++
 arch/arm64/boot/dts/qcom/sm6115-xiaomi-lemon.dts   | 497 +++++++++++++++++++++
 6 files changed, 1386 insertions(+)

---
base-commit: 6b8c8af514d739d0335f5579b585e02babe8a727
change-id: 20260810-next-patches-6ad6d10077a0

Best regards,

Signature · 1 line
Adam Skladowski <[email protected]>
#1 lore raw

PATCH v3 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
index 136681412501..dd0762d3334b 100644
@@ -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
#2 lore raw

PATCH v3 2/7 dt-bindings: arm: qcom: Document Motorola Moto One

In reply to Adam Skladowski

Add 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
index ff8a35df7862..289a3de1d24b 100644
@@ -292,6 +292,7 @@ properties:
       - items:
           - enum:
               - flipkart,rimob
+              - motorola,deen
               - motorola,potter
               - xiaomi,daisy
               - xiaomi,mido
Signature · 1 line
2.55.0
#3 lore raw

PATCH v3 3/7 arm64: dts: qcom: Add Motorola One

In reply to Adam Skladowski

Add a devicetree for the Motorola One smartphone, which is based on the Jacala/MSM8953 SoC.

Supported functionality as of this initial submission:
* I2C peripherals (Touchscreen,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
index 1c86e7e98f55..11e953657691 100644
@@ -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
#4 lore raw

Re: [PATCH v3 3/7] arm64: dts: qcom: Add Motorola One

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [Medium] Missing touchscreen device node despite being claimed as supported in the commit message.…

Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] Missing touchscreen device node despite being claimed as supported in the commit message.
- [Low] Invalid node names for 'regulator-fixed' devices failing schema validation. --

--- Patch [3]: [PATCH v3 3/7] arm64: dts: qcom: Add Motorola One --- commit 8ba9a47fea266dad9cdd80e285fa6a60029f2405
Author: Adam Skladowski <[email protected]>

arm64: dts: qcom: Add Motorola One

Add a devicetree for the Motorola One smartphone, which is based on the Jacala/MSM8953 SoC.

Quoted 2 lines

Supported functionality as of this initial submission:
* I2C peripherals (Touchscreen,NFC)

[Severity: Medium]
The commit message mentions touchscreen support, but it appears the device node is missing from the I2C buses in the device tree. Are the touchscreen nodes missing from this submission?

Quoted 5 lines
arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts new file +0 -0
new file mode 100644
index 0000000000000..66ecfab69c365

[ ... ]

arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts line 49

Quoted 10 lines
arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts new file +10 -0
+	vph_pwr: vph-pwr-regulator {
+		compatible = "regulator-fixed";
+		regulator-name = "vph_pwr";
+		regulator-always-on;
+		regulator-boot-on;
+	};
+
+	/* Fake VBUS 5V supply till we wire pmi8950 one */
+	fusb302_vbus: otg-vbus {
+		compatible = "regulator-fixed";

[Severity: Low]
Will these node names cause dtbs_check warnings?

It looks like vph-pwr-regulator and otg-vbus do not match the required node name pattern for fixed regulators in fixed-regulator.yaml. Should they start with "regulator" to pass validation?

[ ... ]

arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts line 111

Quoted 7 lines

+&i2c_2 {

arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts new file +6 -0
+	status = "okay";
+};
+
+&i2c_3 {
+	status = "okay";
+};

[Severity: Medium]
Are these I2C buses left empty because the intended touchscreen device node is missing?

[ ... ]

arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts line 395

Quoted 6 lines
arch/arm64/boot/dts/qcom/msm8953-motorola-deen.dts new file +6 -0
+	ts_int_default: ts-int-default-state {
+		pins = "gpio65";
+		function = "gpio";
+		drive-strength = <8>;
+		bias-pull-up;
+	};

[Severity: Medium]
Since the touchscreen device node seems to be missing, are these pinctrl configurations currently unused?

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
#5 lore raw

PATCH v3 4/7 dt-bindings: arm: qcom: Document LeEco Le2

In reply to Adam Skladowski

Add 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
index 289a3de1d24b..68542f76df30 100644
@@ -348,6 +348,7 @@ properties:
 
       - items:
           - enum:
+              - leeco,s2
               - longcheer,l9360
           - const: qcom,msm8976
 
Signature · 1 line
2.55.0
#6 lore raw

PATCH v3 5/7 arm64: dts: qcom: Add LeEco Le2

In reply to Adam Skladowski

Add 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 | 441 ++++++++++++++++++++++++++
 2 files changed, 442 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 11e953657691..1487f2beff3d 100644
@@ -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 +441 -0

441 lines not on this page · raw message

Signature · 1 line
2.55.0
#7 lore raw

Re: [PATCH v3 5/7] arm64: dts: qcom: Add LeEco Le2

Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider: - [High] The TUSB320 Type-C controller's interrupt is incorrectly configured with a rising edge trigger.…

Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [High] The TUSB320 Type-C controller's interrupt is incorrectly configured with a rising edge trigger.
- [Medium] The GPU regulator VDD_GFX is marked regulator-always-on, which defeats dynamic power scaling.
- [Medium] WLED is claimed as supported but the pmi8950_wled node is left disabled.
- [Medium] The 'vdd_l9_l10_l13_l14_l15_l18-supply' property is missing from the pm8950 rpm_requests regulator node. --

--- Patch [5]: [PATCH v3 5/7] arm64: dts: qcom: Add LeEco Le2 --- commit cfadc21619b39e4cbfad0d3c04b195d16b58fa22
Author: Adam Skladowski <[email protected]>

arm64: dts: qcom: Add LeEco Le2

Adds a devicetree for the LeEco Le2 smartphone based on the MSM8976 SoC. Supported features include I2C peripherals, WLED, GPU, and regulators.

Quoted 5 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +0 -0
new file mode 100644
index 0000000000000..086fab5ae6e7c

[ ... ]

arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts line 112

Quoted 4 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +4 -0
+	tiusb320: typec@47 {
+		compatible = "ti,tusb320";
+		reg = <0x47>;
+		interrupts-extended = <&tlmm 21 IRQ_TYPE_EDGE_RISING>;

[Severity: High]
The TUSB320 INT_N interrupt signal is typically an active-low open-drain output.

Will configuring it to trigger on a rising edge cause the driver to miss Type-C events, since it would only process the interrupt when the hardware deasserts the line?

Quoted 4 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +4 -0
+
+		pinctrl-0 = <&tusb320_int_active>;
+		pinctrl-names = "default";
+	};

[ ... ]

arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts line 207

Quoted 6 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +6 -0
+	pm8004_s5: s5 {
+		regulator-name = "VDD_GFX";
+		regulator-min-microvolt = <950000>;
+		regulator-max-microvolt = <1165000>;
+		regulator-enable-ramp-delay = <500>;
+		regulator-always-on;

[Severity: Medium]
Does setting regulator-always-on for the VDD_GFX regulator defeat the Adreno GPU driver's dynamic power scaling?

This appears to keep the GPU rail powered even when idle or suspended.

Quoted 2 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +2 -0
+	};
+};

[ ... ]

arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts line 233

Quoted 10 lines

+&pm8950_resin {

arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +9 -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]
The commit message lists WLED as supported, but this node lacks a status = "okay" property.

Since pmi8950.dtsi defaults the WLED node to disabled, will the driver fail to probe?

Quoted 6 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +6 -0
+};
+
+&rpm_requests {
+	regulators {
+		compatible = "qcom,rpm-pm8950-regulators";
+

arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts line 249

Quoted 10 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +10 -0
+		vdd_s1-supply = <&vph_pwr>;
+		vdd_s2-supply = <&vph_pwr>;
+		vdd_s3-supply = <&vph_pwr>;
+		vdd_s4-supply = <&vph_pwr>;
+		vdd_s6-supply = <&vph_pwr>;
+		vdd_l1_l19-supply = <&pm8950_s3>;
+		vdd_l2_l23-supply = <&pm8950_s3>;
+		vdd_l3-supply = <&pm8950_s3>;
+		vdd_l5_l6_l7_l16-supply = <&pm8950_s4>;
+		vdd_l8_l11_l12_l17_l22-supply = <&vph_pwr>;

[Severity: Medium]
Are we missing the vdd_l9_l10_l13_l14_l15_l18-supply property here?

Without it, the regulator core might not be able to track the parent supply for LDOs 9, 10, 13, 14, 15, and 18.

Quoted 5 lines
arch/arm64/boot/dts/qcom/msm8976-leeco-s2.dts new file +5 -0
+
+		pm8950_s3: s3 {
+			regulator-min-microvolt = <1325000>;
+			regulator-max-microvolt = <1325000>;
+		};
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=5
#8 lore raw

PATCH v3 6/7 dt-bindings: arm: qcom: Document Xiaomi Redmi 9T

In reply to Adam Skladowski

Add 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
index 68542f76df30..5363efadd4ee 100644
@@ -1035,6 +1035,7 @@ properties:
       - items:
           - enum:
               - fxtec,pro1x
+              - xiaomi,lemon
           - const: qcom,sm6115
 
       - items:
Signature · 1 line
2.55.0
#9 lore raw

PATCH v3 7/7 arm64: dts: qcom: Add Xiaomi Redmi 9T

In reply to Adam Skladowski

Add 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
index 1487f2beff3d..6dee0a99fdc6 100644
@@ -345,6 +345,7 @@ 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)	+= sm6115p-lenovo-j606f.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= sm6115-xiaomi-lemon.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm6125-sony-xperia-seine-pdx201.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm6125-xiaomi-ginkgo.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm6125-xiaomi-laurel-sprout.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
#10 lore raw

Re: [PATCH v3 7/7] arm64: dts: qcom: Add Xiaomi Redmi 9T

Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider: - [Medium] Contradiction in Supported Features regarding backlight. - [Low] Unnecessary Hardware Enablement…

Thank you for your contribution! Sashiko AI review found 4 potential issue(s) to consider:
- [Medium] Contradiction in Supported Features regarding backlight.
- [Low] Unnecessary Hardware Enablement of SPI2 bus.
- [Low] Invalid brightness-levels array in backlight-dsi causes boot warning.
- [Low] The dtb targets in arch/arm64/boot/dts/qcom/Makefile are not sorted alphabetically. --

--- Patch [7]: [PATCH v3 7/7] arm64: dts: qcom: Add Xiaomi Redmi 9T --- commit 5a94602cab46fa97db70f855960005f354c8b9aa
Author: Adam Skladowski <[email protected]>

arm64: dts: qcom: Add Xiaomi Redmi 9T

This commit adds the devicetree for the Xiaomi Redmi 9T smartphone, based on the Bengal/SM6115 SoC. It defines memory regions, regulators, and enables various peripherals like SimpleFB and remoteprocs.

Quoted 5 lines

Supported functionality as of this initial submission:

* Display via SimpleFB/SimpleDRM
* GPU
* I2C peripherals (Backlight)

[Severity: Medium]
Is the commit message accurate about backlight support? The device tree marks both the backlight-dsi and lm36923_bl nodes with status = "disabled", which would prevent the driver from probing.

[ ... ]

arch/arm64/boot/dts/qcom/Makefile dtb-$(CONFIG_ARCH_QCOM) += sm4250-oneplus-billie2.dtb · line 343

Quoted 9 lines
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 821101c6d338e..63d678ab215e4 100644
@@ -340,6 +340,7 @@ 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)	+= sm6115p-lenovo-j606f.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= sm6115-xiaomi-lemon.dtb

[Severity: Low]
Does this break alphabetical ordering in the Makefile? The hyphen character comes before 'p' in ASCII, so sm6115-xiaomi-lemon.dtb should probably be placed before sm6115p-lenovo-j606f.dtb to prevent future merge conflicts.

Quoted 2 lines
arch/arm64/boot/dts/qcom/Makefile +0 -0
 dtb-$(CONFIG_ARCH_QCOM)	+= sm6125-sony-xperia-seine-pdx201.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm6125-xiaomi-ginkgo.dtb

[ ... ]

Quoted 5 lines
arch/arm64/boot/dts/qcom/sm6115-xiaomi-lemon.dts new file +0 -0
new file mode 100644
index 0000000000000..881e05b70116b

[ ... ]

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]
Does this single-element brightness-levels array trigger a boot warning? In led_bl_parse_levels(), the driver checks if there is more than 1 level and emits a "Not enough levels defined" warning if only one is present.

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";
+	};

[ ... ]

arch/arm64/boot/dts/qcom/sm6115-xiaomi-lemon.dts

Quoted 3 lines

+&spi2 {

arch/arm64/boot/dts/qcom/sm6115-xiaomi-lemon.dts new file +2 -0
+	status = "okay";
+};

[Severity: Low]
Is it necessary to enable the spi2 bus here? It appears to be enabled without any child nodes or pinctrl configurations, which might hold unnecessary power and clock resources.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=7