Skip to contentSkip to conversation

Add Medion SPRCHRGD 14 S1 (X1E78100)

PATCH Superseded Georg Gottleuber 4 participants 10 messages Dec 2, 2025

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Add Medion SPRCHRGD 14 S1 (X1E78100)

Initial support for Medion SPRCHRGD 14 S1 notebook, which is based on Qualcomm Snapdragon X Elite SoC (X1E78100).

These patches are based on the patches for the TUXEDO Elite 14 Gen1 notebook and have almost the same code [1]. I only did a rebase on linux-next/master and replaced all vendor stings.

The patches for asl-tek vendor prefix have already been accepted [2]. ALSA UCM and Audioreach topology patches are available at [3] and [4]. The fingerprint reader requires USB IDs to be patched into libfprint. WiFi requires a firmware patch [5].

[1]: https://lore.kernel.org/lkml/[email protected]/
[2]: https://lore.kernel.org/lkml/[email protected]/
[3]: https://github.com/tuxedo-ggo/alsa-ucm-conf/tree/medion-sprchrgd-dp
[4]: https://github.com/tuxedo-ggo/audioreach-topology/tree/medion-display-port
[5]: https://lore.kernel.org/linux-wireless/[email protected]/

Georg Gottleuber (4):
dt-bindings: vendor-prefixes: Add Medion AG
dt-bindings: arm: qcom: Add Medion device
arm64: dts: qcom: Add dts for Medion SPRCHRGD 14 S1
firmware: qcom: scm: QSEECOM on Medion SPRCHRGD 14 S1

 .../devicetree/bindings/arm/qcom.yaml         |    6 +
 .../devicetree/bindings/vendor-prefixes.yaml  |    2 +
 arch/arm64/boot/dts/qcom/Makefile             |    2 +
 .../qcom/x1e80100-medion-sprchrgd-14-s1.dts   | 1520 +++++++++++++++++
 drivers/firmware/qcom/qcom_scm.c              |    1 +
 5 files changed, 1531 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/4 dt-bindings: vendor-prefixes: Add Medion AG

Add Medion AG, a German electronics company, to the list of vendor prefixes.

---
 Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
index 4e72882cf90e..e7b72b5d3274 100644
@@ -993,6 +993,8 @@ patternProperties:
     description: Mustek Limited
   "^mediatek,.*":
     description: MediaTek Inc.
+  "^medion,.*":
+    description: Medion AG
   "^megachips,.*":
     description: MegaChips
   "^mele,.*":
Signature · 1 line
2.43.0
#3 lore raw

PATCH 2/4 dt-bindings: arm: qcom: Add Medion device

In reply to Georg Gottleuber

Introduce new binding for the Medion SPRCHRGD 14 S1 notebook with X1E78100 SoC.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/qcom.yaml +6 -0
index d84bd3bca201..95cc1d00fb1f 100644
@@ -1067,6 +1067,12 @@ properties:
           - const: qcom,x1e78100
           - const: qcom,x1e80100
 
+      - items:
+          - enum:
+              - medion,sprchrgd14s1
+          - const: qcom,x1e78100
+          - const: qcom,x1e80100
+
       - items:
           - enum:
               - asus,vivobook-s15
Signature · 1 line
2.43.0
#4 lore raw

Re: [PATCH 2/4] dt-bindings: arm: qcom: Add Medion device

Quoted 13 lines · Georg Gottleuber

Introduce new binding for the Medion SPRCHRGD 14 S1 notebook with X1E78100 SoC.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/qcom.yaml +0 -0
index d84bd3bca201..95cc1d00fb1f 100644

Documentation/devicetree/bindings/arm/qcom.yaml properties: · line 1072

Quoted 6 lines
Documentation/devicetree/bindings/arm/qcom.yaml +3 -0
@@ -1067,6 +1067,12 @@ properties:
           - const: qcom,x1e78100
           - const: qcom,x1e80100
 
+      - items:
+          - enum:
+              - medion,sprchrgd14s1

Your cover letter says this is based on Tuxedo laptop patches, thus just squash it into that enum.

Best regards,
Krzysztof

#5 lore raw

Re: [PATCH 2/4] dt-bindings: arm: qcom: Add Medion device

Am 02.12.25 um 17:09 schrieb Krzysztof Kozlowski:

Quoted 17 lines · Georg Gottleuber
Quoted 16 lines

Introduce new binding for the Medion SPRCHRGD 14 S1 notebook with X1E78100 SoC.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/qcom.yaml +0 -0
index d84bd3bca201..95cc1d00fb1f 100644
@@ -1067,6 +1067,12 @@ properties:
           - const: qcom,x1e78100
           - const: qcom,x1e80100
 
Quoted 7 lines

Documentation/devicetree/bindings/arm/qcom.yaml properties: · line 1072

Quoted 3 lines
Documentation/devicetree/bindings/arm/qcom.yaml +3 -0
+      - items:
+          - enum:
+              - medion,sprchrgd14s1

Your cover letter says this is based on Tuxedo laptop patches, thus just squash it into that enum.

Yes, will add it in v2. But without the tuxedo vendor prefix, that probably doesn't make much sense. So I'll add it back in again.

Quoted 2 lines

Best regards,
Krzysztof

Regards,
Georg

#6 lore raw

PATCH 3/4 arm64: dts: qcom: Add dts for Medion SPRCHRGD 14 S1

In reply to Georg Gottleuber

Initial support for the Medion SPRCHRGD 14 S1, which is based on the Qualcomm Snapdragon X Elite SoC (X1E78100).

Working:
* Touchpad
* Keyboard
* eDP
* NVMe
* USB Type-C port
* USB-C DP altmode
* HDMI-A port
* WiFi
* Bluetooth
* GPU
* Video decoding
* USB Type-A
* Audio, speakers, microphones
- 4x speakers.
- 2x dmic
- headset
* Camera
* Fingerprint reader

---
 arch/arm64/boot/dts/qcom/Makefile             |    2 +
 .../qcom/x1e80100-medion-sprchrgd-14-s1.dts   | 1520 +++++++++++++++++
 2 files changed, 1522 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts
arch/arm64/boot/dts/qcom/Makefile +2 -0
index 6f34d5ed331c..0b4d29d08783 100644
@@ -346,6 +346,8 @@ x1e80100-hp-omnibook-x14-el2-dtbs	:= x1e80100-hp-omnibook-x14.dtb x1-el2.dtbo
 dtb-$(CONFIG_ARCH_QCOM)	+= x1e80100-hp-omnibook-x14.dtb x1e80100-hp-omnibook-x14-el2.dtb
 x1e80100-lenovo-yoga-slim7x-el2-dtbs	:= x1e80100-lenovo-yoga-slim7x.dtb x1-el2.dtbo
 dtb-$(CONFIG_ARCH_QCOM)	+= x1e80100-lenovo-yoga-slim7x.dtb x1e80100-lenovo-yoga-slim7x-el2.dtb
+x1e80100-medion-sprchrgd-14-s1-el2-dtbs	:= x1e80100-medion-sprchrgd-14-s1.dtb x1-el2.dtbo
+dtb-$(CONFIG_ARCH_QCOM)	+= x1e80100-medion-sprchrgd-14-s1.dtb x1e80100-medion-sprchrgd-14-s1-el2.dtb
 x1e80100-microsoft-romulus13-el2-dtbs	:= x1e80100-microsoft-romulus13.dtb x1-el2.dtbo
 dtb-$(CONFIG_ARCH_QCOM)	+= x1e80100-microsoft-romulus13.dtb x1e80100-microsoft-romulus13-el2.dtb
 x1e80100-microsoft-romulus15-el2-dtbs	:= x1e80100-microsoft-romulus15.dtb x1-el2.dtbo
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +1520 -0

1,520 lines not on this page · raw message

Signature · 1 line
2.43.0
#7 lore raw

Re: [PATCH 3/4] arm64: dts: qcom: Add dts for Medion SPRCHRGD 14 S1

Quoted 2 lines · Georg Gottleuber

Initial support for the Medion SPRCHRGD 14 S1, which is based on the Qualcomm Snapdragon X Elite SoC (X1E78100).

[...]

Review

Quoted 3 lines

+&iris {

(quoted diff) +2 -0
+	firmware-name = "qcom/x1e80100/medion/qcvss8380.mbn";
+	status = "okay";

Please add an \n above status

arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts line 950

Quoted 9 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +9 -0
+};
+
+&lpass_tlmm {
+	spkr_01_sd_n_active: spkr-01-sd-n-active-state {
+		pins = "gpio12";
+		function = "gpio";
+		drive-strength = <16>;
+		bias-disable;
+		output-low;

Let's drop output-low from these two, the driver controls that over GPIO APIs

Quoted 9 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +9 -0
+	};
+
+	spkr_23_sd_n_active: spkr-23-sd-n-active-state {
+		pins = "gpio13";
+		function = "gpio";
+		drive-strength = <16>;
+		bias-disable;
+		output-low;
+	};

[...]

arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts line 1268

Quoted 6 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +6 -0
+	eusb3_reset_n: eusb3-reset-n-state {
+		pins = "gpio124";
+		function = "gpio";
+		drive-strength = <2>;
+		bias-disable;
+		output-low;

Similarly, for all three eUSBn, the regulator driver will assert the pin as necessary

[...]

arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts line 1324

Quoted 5 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +5 -0
+		perst-n-pins {
+			pins = "gpio146";
+			function = "gpio";
+			drive-strength = <2>;
+			bias-pull-down;

PERST# is active-low, switch to bias-disable

[...]

arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts line 1347

Quoted 5 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +5 -0
+		perst-n-pins {
+			pins = "gpio152";
+			function = "gpio";
+			drive-strength = <2>;
+			bias-disable;

just like you did here

[...]

arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts line 1369

Quoted 6 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +6 -0
+	wcd_default: wcd-reset-n-active-state {
+		pins = "gpio191";
+		function = "gpio";
+		drive-strength = <16>;
+		bias-disable;
+		output-low;

ditto

Konrad

#8 lore raw

Re: [PATCH 3/4] arm64: dts: qcom: Add dts for Medion SPRCHRGD 14 S1

Am 02.12.25 um 16:15 schrieb Konrad Dybcio:

Quoted 11 lines · Georg Gottleuber
Quoted 2 lines

Initial support for the Medion SPRCHRGD 14 S1, which is based on the Qualcomm Snapdragon X Elite SoC (X1E78100).

[...]

Review

Quoted 3 lines

+&iris {

(quoted diff) +2 -0
+	firmware-name = "qcom/x1e80100/medion/qcvss8380.mbn";
+	status = "okay";

Please add an \n above status

Ack.

Quoted 4 lines
Quoted 4 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +4 -0
+};
+
+&lpass_tlmm {
+	spkr_01_sd_n_active: spkr-01-sd-n-active-state {
Quoted 8 lines

arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts line 950

Quoted 5 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +5 -0
+		pins = "gpio12";
+		function = "gpio";
+		drive-strength = <16>;
+		bias-disable;
+		output-low;

Let's drop output-low from these two, the driver controls that over GPIO APIs

Ack.

Quoted 12 lines
Quoted 9 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +9 -0
+	};
+
+	spkr_23_sd_n_active: spkr-23-sd-n-active-state {
+		pins = "gpio13";
+		function = "gpio";
+		drive-strength = <16>;
+		bias-disable;
+		output-low;
+	};

[...]

Quoted 9 lines

arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts line 1268

Quoted 6 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +6 -0
+	eusb3_reset_n: eusb3-reset-n-state {
+		pins = "gpio124";
+		function = "gpio";
+		drive-strength = <2>;
+		bias-disable;
+		output-low;

Similarly, for all three eUSBn, the regulator driver will assert the pin as necessary

Ack.

Quoted 9 lines

[...]

arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts line 1324

Quoted 5 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +5 -0
+		perst-n-pins {
+			pins = "gpio146";
+			function = "gpio";
+			drive-strength = <2>;
+			bias-pull-down;

PERST# is active-low, switch to bias-disable

Ack.

Quoted 12 lines

[...]

arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts line 1347

Quoted 5 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +5 -0
+		perst-n-pins {
+			pins = "gpio152";
+			function = "gpio";
+			drive-strength = <2>;
+			bias-disable;

just like you did here

[...]

Quoted 8 lines

arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts line 1369

Quoted 6 lines
arch/arm64/boot/dts/qcom/x1e80100-medion-sprchrgd-14-s1.dts new file +6 -0
+	wcd_default: wcd-reset-n-active-state {
+		pins = "gpio191";
+		function = "gpio";
+		drive-strength = <16>;
+		bias-disable;
+		output-low;

ditto

Ack. Will drop this output-low too.

Quoted 2 lines

Konrad

Thanks for the review. I will implement all your hints in v2.

Regards,
Georg

#9 lore raw

PATCH 4/4 firmware: qcom: scm: QSEECOM on Medion SPRCHRGD 14 S1

In reply to Georg Gottleuber

This is needed to access EFI variables from Linux.

---
 drivers/firmware/qcom/qcom_scm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/firmware/qcom/qcom_scm.c +1 -0
index 1a6f85e463e0..ff0f7101dfe2 100644
@@ -2005,6 +2005,7 @@ static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = {
 	{ .compatible = "lenovo,thinkpad-t14s" },
 	{ .compatible = "lenovo,thinkpad-x13s", },
 	{ .compatible = "lenovo,yoga-slim7x" },
+	{ .compatible = "medion,sprchrgd14s1" },
 	{ .compatible = "microsoft,arcata", },
 	{ .compatible = "microsoft,blackrock" },
 	{ .compatible = "microsoft,romulus13", },
Signature · 1 line
2.43.0