Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rong Zhang and committed by
Bjorn Andersson
01088e25 a730364f

+17
+1
arch/arm/boot/dts/qcom/Makefile
··· 46 46 qcom-msm8974pro-fairphone-fp2.dtb \ 47 47 qcom-msm8974pro-oneplus-bacon.dtb \ 48 48 qcom-msm8974pro-samsung-klte.dtb \ 49 + qcom-msm8974pro-samsung-kltechn.dtb \ 49 50 qcom-msm8974pro-sony-xperia-shinano-castor.dtb \ 50 51 qcom-msm8974pro-sony-xperia-shinano-leo.dtb \ 51 52 qcom-mdm9615-wp8548-mangoh-green.dtb \
+16
arch/arm/boot/dts/qcom/qcom-msm8974pro-samsung-kltechn.dts
··· 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 + };