Skip to content

Commit d305361

Browse files
Newbyteeandersson
authored andcommitted
ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 LTE (SM-T535)
Add a device tree for the Samsung Galaxy Tab 4 10.1 (SM-T535) LTE tablet based on the MSM8926 platform. The common dtsi is also modified to describe the widest constraints, which required modifications to the matisse-wifi dts. Signed-off-by: Stefan Hansson <newbyte@postmarketos.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240215180322.99089-4-newbyte@postmarketos.org Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent f91dc3e commit d305361

4 files changed

Lines changed: 48 additions & 2 deletions

File tree

arch/arm/boot/dts/qcom/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
3636
qcom-msm8926-microsoft-superman-lte.dtb \
3737
qcom-msm8926-microsoft-tesla.dtb \
3838
qcom-msm8926-motorola-peregrine.dtb \
39+
qcom-msm8926-samsung-matisselte.dtb \
3940
qcom-msm8960-cdp.dtb \
4041
qcom-msm8960-samsung-expressatt.dtb \
4142
qcom-msm8974-lge-nexus5-hammerhead.dtb \

arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,14 @@
7373
};
7474
};
7575

76+
&pm8226_l3 {
77+
regulator-max-microvolt = <1337500>;
78+
};
79+
80+
&pm8226_s4 {
81+
regulator-max-microvolt = <1800000>;
82+
};
83+
7684
&tlmm {
7785
tsp_en1_default_state: tsp-en1-default-state {
7886
pins = "gpio73";

arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230

231231
pm8226_s4: s4 {
232232
regulator-min-microvolt = <1800000>;
233-
regulator-max-microvolt = <1800000>;
233+
regulator-max-microvolt = <2200000>;
234234
};
235235

236236
pm8226_s5: s5 {
@@ -250,7 +250,7 @@
250250

251251
pm8226_l3: l3 {
252252
regulator-min-microvolt = <750000>;
253-
regulator-max-microvolt = <1337500>;
253+
regulator-max-microvolt = <1350000>;
254254
regulator-always-on;
255255
};
256256

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) 2022, Matti Lehtimäki <matti.lehtimaki@gmail.com>
4+
* Copyright (c) 2023, Stefan Hansson <newbyte@postmarketos.org>
5+
*/
6+
7+
/dts-v1/;
8+
9+
#include "qcom-msm8226-samsung-matisse-common.dtsi"
10+
11+
/ {
12+
model = "Samsung Galaxy Tab 4 10.1 LTE";
13+
compatible = "samsung,matisselte", "qcom,msm8926", "qcom,msm8226";
14+
chassis-type = "tablet";
15+
16+
reg_tsp_3p3v: regulator-tsp-3p3v {
17+
compatible = "regulator-fixed";
18+
regulator-name = "tsp_3p3v";
19+
regulator-min-microvolt = <3300000>;
20+
regulator-max-microvolt = <3300000>;
21+
22+
gpio = <&tlmm 32 GPIO_ACTIVE_HIGH>;
23+
enable-active-high;
24+
25+
pinctrl-names = "default";
26+
pinctrl-0 = <&tsp_en1_default_state>;
27+
};
28+
};
29+
30+
&tlmm {
31+
tsp_en1_default_state: tsp-en1-default-state {
32+
pins = "gpio32";
33+
function = "gpio";
34+
drive-strength = <2>;
35+
bias-disable;
36+
};
37+
};

0 commit comments

Comments
 (0)