]> Git Repo - J-linux.git/commitdiff
ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 LTE (SM-T535)
authorStefan Hansson <[email protected]>
Thu, 15 Feb 2024 18:02:01 +0000 (19:02 +0100)
committerBjorn Andersson <[email protected]>
Mon, 19 Feb 2024 05:00:31 +0000 (23:00 -0600)
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 <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
arch/arm/boot/dts/qcom/Makefile
arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts
arch/arm/boot/dts/qcom/qcom-msm8226-samsung-matisse-common.dtsi
arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts [new file with mode: 0644]

index 9cc1e14e6cd09c509e796188c5fc289c3ed06b11..6478a39b3be5e42cf81dd5c6233bd3fc719b5f27 100644 (file)
@@ -36,6 +36,7 @@ dtb-$(CONFIG_ARCH_QCOM) += \
        qcom-msm8926-microsoft-superman-lte.dtb \
        qcom-msm8926-microsoft-tesla.dtb \
        qcom-msm8926-motorola-peregrine.dtb \
+       qcom-msm8926-samsung-matisselte.dtb \
        qcom-msm8960-cdp.dtb \
        qcom-msm8960-samsung-expressatt.dtb \
        qcom-msm8974-lge-nexus5-hammerhead.dtb \
index ac8aef5f9d0944c22b991ccf757148345c373d89..da3be658e822fb6408738e7e79453b87c39478e1 100644 (file)
        };
 };
 
+&pm8226_l3 {
+       regulator-max-microvolt = <1337500>;
+};
+
+&pm8226_s4 {
+       regulator-max-microvolt = <1800000>;
+};
+
 &tlmm {
        tsp_en1_default_state: tsp-en1-default-state {
                pins = "gpio73";
index 6d116f9b443b717004812c67ae9cd71443097a3b..24ed2ba85d629cf22ee2b1f73ae7698943faa259 100644 (file)
 
                pm8226_s4: s4 {
                        regulator-min-microvolt = <1800000>;
-                       regulator-max-microvolt = <1800000>;
+                       regulator-max-microvolt = <2200000>;
                };
 
                pm8226_s5: s5 {
 
                pm8226_l3: l3 {
                        regulator-min-microvolt = <750000>;
-                       regulator-max-microvolt = <1337500>;
+                       regulator-max-microvolt = <1350000>;
                        regulator-always-on;
                };
 
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts b/arch/arm/boot/dts/qcom/qcom-msm8926-samsung-matisselte.dts
new file mode 100644 (file)
index 0000000..d0e1bc3
--- /dev/null
@@ -0,0 +1,37 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2022, Matti Lehtimäki <[email protected]>
+ * Copyright (c) 2023, Stefan Hansson <[email protected]>
+ */
+
+/dts-v1/;
+
+#include "qcom-msm8226-samsung-matisse-common.dtsi"
+
+/ {
+       model = "Samsung Galaxy Tab 4 10.1 LTE";
+       compatible = "samsung,matisselte", "qcom,msm8926", "qcom,msm8226";
+       chassis-type = "tablet";
+
+       reg_tsp_3p3v: regulator-tsp-3p3v {
+               compatible = "regulator-fixed";
+               regulator-name = "tsp_3p3v";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+
+               gpio = <&tlmm 32 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+
+               pinctrl-names = "default";
+               pinctrl-0 = <&tsp_en1_default_state>;
+       };
+};
+
+&tlmm {
+       tsp_en1_default_state: tsp-en1-default-state {
+               pins = "gpio32";
+               function = "gpio";
+               drive-strength = <2>;
+               bias-disable;
+       };
+};
This page took 0.059053 seconds and 4 git commands to generate.