devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ARM: dts: qcom: msm8974: Add Samsung Galaxy S5 China support
@ 2024-01-27 17:21 Rong Zhang
  2024-01-27 17:21 ` [PATCH v2 1/4] ARM: dts: qcom: msm8974: Split out common part of samsung-klte Rong Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Rong Zhang @ 2024-01-27 17:21 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: Rong Zhang, linux-arm-msm, devicetree, linux-kernel,
	Icenowy Zheng

Samsung Galaxy S5 has many variants. Currently, the only supported one
is klte. Samsung Galaxy S5 China (kltechn) is the China edition of
klte, and it can mostly work with the klte DTB, with only LEDs and WiFi
missing.

This patchset splits out the common part of klte DTS into klte-common
DTSI, and adds DTS for kltechn by fixing up the GPIO pins for the LEDs
and GPIO expander connected by the WiFi module. A "brcm,board-type"
property is added into the wifi@1 node of the common DTSI to allow all
klte* variants to load the same NVRAM file.

Signed-off-by: Rong Zhang <i@rong.moe>
---
Changes in v2:
- Split out the common part of klte DTS into klte-common DTSI.
- Fix dt-binding to make it consistent with kltechn compatible.
- Link to v1: https://lore.kernel.org/r/20240121154010.168440-1-i@rong.moe/

---
Rong Zhang (4):
  ARM: dts: qcom: msm8974: Split out common part of samsung-klte
  ARM: dts: qcom: msm8974-klte-common: Pin WiFi board type
  dt-bindings: arm: qcom: Add Samsung Galaxy S5 China (kltechn)
  ARM: dts: qcom: msm8974: Add DTS for Samsung Galaxy S5 China (kltechn)

 .../devicetree/bindings/arm/qcom.yaml         |   7 +
 arch/arm/boot/dts/qcom/Makefile               |   1 +
 .../qcom-msm8974pro-samsung-klte-common.dtsi  | 818 ++++++++++++++++++
 .../dts/qcom/qcom-msm8974pro-samsung-klte.dts | 813 +----------------
 .../qcom/qcom-msm8974pro-samsung-kltechn.dts  |  16 +
 5 files changed, 848 insertions(+), 807 deletions(-)
 create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte-common.dtsi
 create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts


base-commit: 3a5879d495b226d0404098e3564462d5f1daa33b
-- 
2.43.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-01-29  9:03 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-27 17:21 [PATCH v2 0/4] ARM: dts: qcom: msm8974: Add Samsung Galaxy S5 China support Rong Zhang
2024-01-27 17:21 ` [PATCH v2 1/4] ARM: dts: qcom: msm8974: Split out common part of samsung-klte Rong Zhang
2024-01-29  8:22   ` Krzysztof Kozlowski
2024-01-29  9:02     ` Rong Zhang
2024-01-27 17:21 ` [PATCH v2 2/4] ARM: dts: qcom: msm8974-klte-common: Pin WiFi board type Rong Zhang
2024-01-27 17:21 ` [PATCH v2 3/4] dt-bindings: arm: qcom: Add Samsung Galaxy S5 China (kltechn) Rong Zhang
2024-01-29  8:20   ` Krzysztof Kozlowski
2024-01-29  8:40     ` Rong Zhang
2024-01-27 17:21 ` [PATCH v2 4/4] ARM: dts: qcom: msm8974: Add DTS for " Rong Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).