[v3,0/4] ARM: dts: qcom: msm8974: Add Samsung Galaxy S5 China support

Message ID 20240213110137.122737-1-i@rong.moe
Headers
Series ARM: dts: qcom: msm8974: Add Samsung Galaxy S5 China support |

Message

Rong Zhang Feb. 13, 2024, 10:58 a.m. UTC
  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 v3:
- Regenerate the patchset with code move detection (-B -M -C).
- Fix "changes in v2" below to state why a tag was not added.
- Link to v2: https://lore.kernel.org/r/20240127172155.63624-1-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 the compatible chain in
kltechn DTS. In other words, make kltechn a subvariant of klte.
  - [PATCH 3/4] in v1 had received "Acked-by: Krzysztof Kozlowski
  <krzysztof.kozlowski@linaro.org>" but this was not added in the v2
  patch due to the change.
- 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} |  13 +-
 .../dts/qcom/qcom-msm8974pro-samsung-klte.dts | 833 +-----------------
 .../qcom/qcom-msm8974pro-samsung-kltechn.dts  |  16 +
 5 files changed, 47 insertions(+), 823 deletions(-)
 copy arch/arm/boot/dts/qcom/{qcom-msm8974pro-samsung-klte.dts => qcom-msm8974pro-samsung-klte-common.dtsi} (98%)
 rewrite arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-klte.dts (99%)
 create mode 100644 arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts


base-commit: c664e16bb1ba1c8cf1d7ecf3df5fd83bbb8ac15a