arm64: dts: qcom: msm8916-samsung-fortuna/rossa: Add initial device trees
authorWalter Broemeling <wallebroem@gmail.com>
Mon, 29 Jan 2024 14:32:02 +0000 (14:32 +0000)
committerBjorn Andersson <andersson@kernel.org>
Wed, 14 Feb 2024 15:41:27 +0000 (09:41 -0600)
commite1839f78e4699005cfd4f5f59107c33b174fa706
tree11381bd3fea97c36c7737851de200d22d1c60495
parent2f7be4caacd264b23f637f2e1d7dccf4f1e4f20e
arm64: dts: qcom: msm8916-samsung-fortuna/rossa: Add initial device trees

Samsung Galaxy Core Prime and Grand Prime are phones based on MSM8916.
They are similar to the other Samsung devices based on MSM8916 with only a
few minor differences.

This initial commit adds support for:
 - fortuna3g (SM-G530H)
 - gprimeltecan (SM-G530W)
 - grandprimelte (SM-G530FZ)
 - rossa (SM-G360G)

The device trees contain initial support with:
 - GPIO keys
 - Regulator haptic
 - SDHCI (internal and external storage)
 - USB Device Mode
 - UART (on USB connector via the SM5502/SM5504 MUIC)
 - WCNSS (WiFi/BT)
 - Regulators
 - QDSP6 audio
 - Speaker/earpiece/headphones/microphones via digital/analog codec in
   MSM8916/PM8916
 - WWAN Internet via BAM-DMUX

There are different variants of Core Prime and Grand Prime, with some
differences in accelerometer, NFC and panel.
Core Prime and Grand Prime are similar, with some differences in MUIC,
panel and touchscreen.

The common parts are shared in
msm8916-samsung-fortuna-common.dtsi and msm8916-samsung-rossa-common.dtsi
to reduce duplication.

Signed-off-by: Walter Broemeling <wallebroem@gmail.com>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
[Joe: Add audio, buttons and WiFi]
Signed-off-by: Joe Mason <buddyjojo06@outlook.com>
[Siddharth: Add fortuna3g]
Signed-off-by: Siddharth Manthan <siddharth.manthan@gmail.com>
[Raymond: Add modem, fortuna-common.dtsi, grandprimelte and rossa]
Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com>
Link: https://lore.kernel.org/r/20240129143147.5058-1-raymondhackley@protonmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/Makefile
arch/arm64/boot/dts/qcom/msm8216-samsung-fortuna3g.dts [new file with mode: 0644]
arch/arm64/boot/dts/qcom/msm8916-samsung-fortuna-common.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/qcom/msm8916-samsung-gprimeltecan.dts [new file with mode: 0644]
arch/arm64/boot/dts/qcom/msm8916-samsung-grandprimelte.dts [new file with mode: 0644]
arch/arm64/boot/dts/qcom/msm8916-samsung-rossa-common.dtsi [new file with mode: 0644]
arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts [new file with mode: 0644]