Skip to contentSkip to conversation

Add support for Xiaomi Mi 5s Plus

PATCH Applied Alec Su 2 participants 4 messages Jun 6, 2022 – Jul 3, 2022 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Alec Su

author
#1 lore raw

v4 cover Add support for Xiaomi Mi 5s Plus

This series adds the device tree for Xiaomi Mi 5s Plus (xiaomi-natrium) smartphone which is based on Snapdragon 821 SoC.

Changes since v3:
- Remove the unnecessary properties in the device tree.
- Correct the supplies in "dsi0" node
- Add delay properties in "touchscreen" node

Changes since v2:
- Rename the node "synaptics" to "touchscreen".

Changes since v1:
- Adjust the sequence of the patches in this series.
- Remove the unnecessary line and properties in the device tree.
- Rename the nodes contain underscores.

Alec Su (2):
dt-bindings: arm: qcom: Document xiaomi,natrium board
arm64: dts: qcom: msm8996-xiaomi-natrium: Add support for Xiaomi Mi 5s
Plus

 .../devicetree/bindings/arm/qcom.yaml         |   1 +
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../boot/dts/qcom/msm8996-xiaomi-natrium.dts  | 414 ++++++++++++++++++
 3 files changed, 416 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/msm8996-xiaomi-natrium.dts
Signature · 1 line
2.35.3
author
#2 lore raw

PATCH v4 1/2 dt-bindings: arm: qcom: Document xiaomi,natrium board

Document Xiaomi Mi 5s Plus (xiaomi-natrium) smartphone which is based on Snapdragon 821 SoC.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index 5c06d1bfc046..7ee852079d13 100644
@@ -190,6 +190,7 @@ properties:
               - sony,kagura-row
               - sony,keyaki-row
               - xiaomi,gemini
+              - xiaomi,natrium
               - xiaomi,scorpio
           - const: qcom,msm8996
 
Signature · 1 line
2.35.3
author
#3 lore raw

PATCH v4 2/2 arm64: dts: qcom: msm8996-xiaomi-natrium: Add support for Xiaomi Mi 5s Plus

In reply to Alec Su

Add the device tree for Xiaomi Mi 5s Plus (natrium).

---
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../boot/dts/qcom/msm8996-xiaomi-natrium.dts  | 414 ++++++++++++++++++
 2 files changed, 415 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/msm8996-xiaomi-natrium.dts
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 2f8aec2cc6db..3ae7ecd369fb 100644
@@ -37,6 +37,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= msm8996-sony-xperia-tone-dora.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8996-sony-xperia-tone-kagura.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8996-sony-xperia-tone-keyaki.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8996-xiaomi-gemini.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= msm8996-xiaomi-natrium.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8996-xiaomi-scorpio.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8998-asus-novago-tp370ql.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= msm8998-fxtec-pro1.dtb
arch/arm64/boot/dts/qcom/msm8996-xiaomi-natrium.dts new file +414 -0

414 lines not on this page · raw message

Signature · 1 line
2.35.3
#4 lore raw
In reply to Alec Su
Quoted 9 lines · Alec Su

This series adds the device tree for Xiaomi Mi 5s Plus (xiaomi-natrium) smartphone which is based on Snapdragon 821 SoC.

Changes since v3:
- Remove the unnecessary properties in the device tree.
- Correct the supplies in "dsi0" node
- Add delay properties in "touchscreen" node

[...]

Applied, thanks!

[1/2] dt-bindings: arm: qcom: Document xiaomi,natrium board

      commit: bb856fdf07f666686439b2c186fbb80a41e93277
[2/2] arm64: dts: qcom: msm8996-xiaomi-natrium: Add support for Xiaomi Mi 5s Plus
      commit: 13e75fe786a16c35bccc5e9d8890224fd38ad733

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>