mbox series

[0/4] Add support for the Xiaomi MSM8996 platform

Message ID 20210901193214.250375-1-y.oudjana@protonmail.com
Headers show
Series Add support for the Xiaomi MSM8996 platform | expand

Message

Yassine Oudjana Sept. 1, 2021, 7:33 p.m. UTC
This series adds support for the Xiaomi MSM8996 platform, which includes 5 devices:

 - Mi 5 (gemini): MSM8996 + PMI8994
 - Mi Note 2 (scorpio): MSM8996 Pro + PMI8996
 - Mi 5s (capricorn): MSM8996 Pro + PMI8996
 - Mi Mix (lithium): MSM8996 Pro + PMI8996
 - Mi 5s Plus (natrium): MSM8996 Pro + PMI8996

These devices share a common board design with only a few differences.
Out of these 5 devices, this series adds initial support for the Mi Note 2 and the Mi 5.
Adding support for the remaining 3 would only require adding a DTS for each, while
accounting for hardware differences such as different panels.

Raffaele Tranquillini (1):
  arm64: dts: qcom: msm8996: xiaomi-gemini: Add support for Xiaomi Mi 5

Yassine Oudjana (3):
  arm64: dts: qcom: db820c: Move blsp1_uart2 pin states to msm8996.dtsi
  arm64: dts: qcom: msm8996: Add blsp2_i2c3
  arm64: dts: qcom: Add support for the Xiaomi MSM8996 platform

 arch/arm64/boot/dts/qcom/Makefile             |   2 +
 arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi  |  29 -
 .../boot/dts/qcom/msm8996-xiaomi-common.dtsi  | 673 ++++++++++++++++++
 .../boot/dts/qcom/msm8996-xiaomi-gemini.dts   | 431 +++++++++++
 .../boot/dts/qcom/msm8996-xiaomi-scorpio.dts  | 431 +++++++++++
 arch/arm64/boot/dts/qcom/msm8996.dtsi         |  49 ++
 6 files changed, 1586 insertions(+), 29 deletions(-)
 create mode 100644 arch/arm64/boot/dts/qcom/msm8996-xiaomi-common.dtsi
 create mode 100644 arch/arm64/boot/dts/qcom/msm8996-xiaomi-gemini.dts
 create mode 100644 arch/arm64/boot/dts/qcom/msm8996-xiaomi-scorpio.dts