Skip to content

Commit 01088e2

Browse files
Rongronggg9andersson
authored andcommitted
ARM: dts: qcom: msm8974: Add DTS for Samsung Galaxy S5 China (kltechn)
The only difference between Samsung Galaxy S5 China (kltechn) and klte is the gpio pins of i2c_led_gpio. With pins corrected, the LEDs and WiFi are able to work properly. Signed-off-by: Rong Zhang <i@rong.moe> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Tested-by: Icenowy Zheng <uwu@icenowy.me> Link: https://lore.kernel.org/r/20240213110137.122737-5-i@rong.moe Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent a730364 commit 01088e2

2 files changed

Lines changed: 17 additions & 0 deletions

File tree

arch/arm/boot/dts/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
4646
qcom-msm8974pro-fairphone-fp2.dtb \
4747
qcom-msm8974pro-oneplus-bacon.dtb \
4848
qcom-msm8974pro-samsung-klte.dtb \
49+
qcom-msm8974pro-samsung-kltechn.dtb \
4950
qcom-msm8974pro-sony-xperia-shinano-castor.dtb \
5051
qcom-msm8974pro-sony-xperia-shinano-leo.dtb \
5152
qcom-mdm9615-wp8548-mangoh-green.dtb \
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
#include "qcom-msm8974pro-samsung-klte-common.dtsi"
3+
4+
/ {
5+
model = "Samsung Galaxy S5 China";
6+
compatible = "samsung,kltechn", "samsung,klte", "qcom,msm8974pro", "qcom,msm8974";
7+
};
8+
9+
&i2c_led_gpio {
10+
scl-gpios = <&tlmm 61 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
11+
sda-gpios = <&tlmm 60 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
12+
};
13+
14+
&i2c_led_gpioex_pins {
15+
pins = "gpio60", "gpio61";
16+
};

0 commit comments

Comments
 (0)