Skip to contentSkip to conversation

Add Samsung Galaxy Tab S7 FE LTE (gts7xllite)

PATCH In review Vishal Balasubramanian 3 participants 5 messages Nov 11 – Nov 12

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v2 cover Add Samsung Galaxy Tab S7 FE LTE (gts7xllite)

This series adds initial support for the Samsung Galaxy Tab S7 FE LTE (SM-T735), a tablet based on the Qualcomm SM7225 SoC.

Supported in this initial version:
- Display via simple-framebuffer
- Volume keys and power button
- UFS and microSD
- USB
- Wi-Fi and Bluetooth (WCN3991)
- ADSP, CDSP and modem, including mobile data

---
Changes in v2:
- Add cover letter (v1 was sent without one)
- Set PMK8350_SID to 6 and disable pmk8350_pon (Sashiko)
- Fix swapped vdda-phy/vdda-pll supplies on usb_1_qmpphy (Sashiko)
- Drop unresolvable stdout-path and unused cells from /chosen (Sashiko)
- Use cont_splash_memory for the framebuffer instead of a duplicate region (Sashiko)
- Add sd-cd pin configuration for gpio94 (Sashiko)
- Drop IPA properties already set in sm6350.dtsi (Sashiko)
- Rename knox_reserved to fastuh_mem (Sashiko)
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Vishal Balasubramanian (2):
dt-bindings: arm: qcom: Add Samsung Galaxy Tab S7 FE LTE
arm64: dts: qcom: sm7225: Add Samsung Galaxy Tab S7 FE LTE

 Documentation/devicetree/bindings/arm/qcom.yaml    |   1 +
 arch/arm64/boot/dts/qcom/Makefile                  |   1 +
 .../boot/dts/qcom/sm7225-samsung-gts7xllite.dts    | 586 +++++++++++++++++++++
 3 files changed, 588 insertions(+)

---
base-commit: 630059a5a632377b9b7b487baccde92b7ae1dd47
change-id: 20261111-master-74b35c90f44c

Best regards,

Signature · 1 line
Vishal Balasubramanian <[email protected]>
#1 lore raw

PATCH v2 1/2 dt-bindings: arm: qcom: Add Samsung Galaxy Tab S7 FE LTE

Document the compatible for the Samsung Galaxy Tab S7 FE LTE (SM-T735, codename gts7xllite), a tablet based on the Qualcomm SM7225 SoC.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index 121ca557ce1effdc95e9e97210bd9a63673f8ba4..abc3c0f53cc14b02d06b68aba3bfd8425ea4fb07 100644
@@ -1118,6 +1118,7 @@ properties:
       - items:
           - enum:
               - fairphone,fp4
+              - samsung,gts7xllite
           - const: qcom,sm7225
 
       - items:
Signature · 1 line
2.47.3
Acked-by on v2 1/2
#2 lore raw

Re: [PATCH v2 1/2] dt-bindings: arm: qcom: Add Samsung Galaxy Tab S7 FE LTE

Quoted 8 lines · Vishal Balasubramanian

Document the compatible for the Samsung Galaxy Tab S7 FE LTE (SM-T735, codename gts7xllite), a tablet based on the Qualcomm SM7225 SoC.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)

Best regards,
Krzysztof

#3 lore raw

PATCH v2 2/2 arm64: dts: qcom: sm7225: Add Samsung Galaxy Tab S7 FE LTE

In reply to Vishal Balasubramanian

Adds initial support for the Samsung Galaxy Tab S7 FE LTE (SM-T735), a tablet based on the Qualcomm Snapdragon 750G (SM7225) SoC.

The following is supported:
- Framebuffer
- Volume Up, Down and Power Buttons
- UFS Storage and SD Card
- USB
- Modem, ADSP and CDSP
- Wi-Fi and Bluetooth
- Cellular Data and SMS

The reserved-memory layout deviates from sm6350.dtsi. The ADSP firmware shipped on this device requires a 64 MiB carveout, so the ADSP, camera, NPU, video and CDSP regions are redeclared at the addresses used by the vendor firmware. The bootloader also reserves additional memory (removed_region enlarged to 0x5e00000, plus the fastuh region); without these reservations the device hangs under memory pressure.

qcom,msm-id and qcom,board-id are required for the Samsung bootloader to boot the kernel.

---
 arch/arm64/boot/dts/qcom/Makefile                  |   1 +
 .../boot/dts/qcom/sm7225-samsung-gts7xllite.dts    | 586 +++++++++++++++++++++
 2 files changed, 587 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 88230c4e00ea91ea2132f8d5ff2b971b5f682559..4c6fdaa14347b2d4cd569096bf4467d9ff5c2dc2 100644
@@ -397,6 +397,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= sm6375-sony-xperia-murray-pdx225.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm7125-xiaomi-curtana.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm7125-xiaomi-joyeuse.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm7225-fairphone-fp4.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= sm7225-samsung-gts7xllite.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm7325-motorola-dubai.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm7325-motorola-dubai-csot.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= sm7325-motorola-dubai-tianma.dtb
arch/arm64/boot/dts/qcom/sm7225-samsung-gts7xllite.dts new file +586 -0

586 lines not on this page · raw message

Signature · 1 line
2.47.3
#4 lore raw

Re: [PATCH v2 2/2] arm64: dts: qcom: sm7225: Add Samsung Galaxy Tab S7 FE LTE

Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Medium] arm64: dts: qcom: sm7225-samsung-gts7xllite: missing display clocks in simple-framebuffer --

Thank you for your contribution! Sashiko AI review found 1 potential issue to consider:
- [Medium] arm64: dts: qcom: sm7225-samsung-gts7xllite: missing display clocks in simple-framebuffer
--

commit 048a3dda70bddbbbba376b3ae7c313748689b1cb
Author: Vishal Balasubramanian <[email protected]>

arm64: dts: qcom: sm7225: Add Samsung Galaxy Tab S7 FE LTE

This commit adds initial Device Tree support for the Samsung Galaxy Tab S7 FE LTE (SM-T735) based on the Qualcomm SM7225 SoC.

Quoted 6 lines
arch/arm64/boot/dts/qcom/sm7225-samsung-gts7xllite.dts new file +0 -0
new file mode 100644
index 0000000000000..e472e3016cb9e
@@ -0,0 +1,586 @@

[ ... ]

arch/arm64/boot/dts/qcom/sm7225-samsung-gts7xllite.dts line 51

Quoted 10 lines
arch/arm64/boot/dts/qcom/sm7225-samsung-gts7xllite.dts new file +10 -0
+	chosen {
+		framebuffer0: framebuffer {
+			compatible = "simple-framebuffer";
+			memory-region = <&cont_splash_memory>;
+			width = <1600>;
+			height = <2560>;
+			stride = <(1600 * 4)>;
+			format = "a8r8g8b8";
+		};
+	};

[Severity: Medium]
Does framebuffer0 need a clocks property (such as <&gcc GCC_DISP_AXI_CLK>) to keep the display clocks enabled?

Because dispcc and mdss are disabled on this board, no enabled node claims gcc_disp_axi_clk or gcc_disp_gpll0_clk. Unlike gcc_disp_ahb_clk and gcc_disp_cc_xo_clk, these clocks are registered in drivers/clk/qcom/gcc-sm6350.c without CLK_IS_CRITICAL, so clk_disable_unused() will gate them off during boot while the display is scanning out cont_splash_memory, killing framebuffer output or hanging the bus.

Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2