Skip to contentSkip to conversation

arm64: dts: qcom: Add the Lenovo IdeaCentre Mini X

PATCH Applied Bjorn Andersson 2 participants 5 messages Apr 2 – Apr 5

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

v2 cover arm64: dts: qcom: Add the Lenovo IdeaCentre Mini X

---
Changes in v2:
- Shufflex the reset and wake gpios for each PCIe controller.
- Fixed a couple of pinctrl-N vs pinctrl-names ordering issues
- Dropped duplicate smb2360_0 node
- Added a newline before status
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Bjorn Andersson (3):
dt-bindings: arm: qcom: Document the Lenovo IdeaCentre Mini X
arm64: dts: qcom: Add the Lenovo IdeaCentre Mini X
firmware: qcom: scm: Allow QSEECOM on Lenovo IdeaCentre Mini X

 Documentation/devicetree/bindings/arm/qcom.yaml    |    1 +
 arch/arm64/boot/dts/qcom/Makefile                  |    1 +
 .../qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts  | 1200 ++++++++++++++++++++
 drivers/firmware/qcom/qcom_scm.c                   |    1 +
 4 files changed, 1203 insertions(+)

---
base-commit: bd0f139e5fc11182777b81cefc3893ea508544ec
change-id: 20260311-ideacentre-9048b8cb7b9f

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>
#1 lore raw

PATCH v2 1/3 dt-bindings: arm: qcom: Document the Lenovo IdeaCentre Mini X

The Lenovo IdeaCentre Mini X (Snapdragon) Desktop is a Hamoa-based ultracompact desktop PC. It provides HDMI, DisplayPort, USB Type-C display outputs, 5 additional USB ports, Ethernet, dual NVME slots, headphone jack, WiFi, and Bluetooth.

Document the compatible for this device.

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/qcom.yaml +1 -0
index 8c5fdd320cfcf723b982cf10d886018dbabeb6c3..a7d212d75bff8ff9ccc680ca61ec9a97a091a81f 100644
@@ -1148,6 +1148,7 @@ properties:
               - dell,xps13-9345
               - hp,elitebook-ultra-g1q
               - hp,omnibook-x14
+              - lenovo,ideacentre-mini-01q8x10
               - lenovo,yoga-slim7x
               - microsoft,romulus13
               - microsoft,romulus15
Signature · 1 line
2.51.0
#2 lore raw

PATCH v2 2/3 arm64: dts: qcom: Add the Lenovo IdeaCentre Mini X

In reply to Bjorn Andersson

The Lenovo IdeaCentre Mini X (Snapdragon) Desktop is a Hamoa-based ultracompact desktop PC. It provides HDMI, DisplayPort, USB Type-C display outputs, 5 additional USB ports, Ethernet, dual NVME slots, headphone jack, WiFi, and Bluetooth.

Introduce a DeviceTree describing this device.

---
 arch/arm64/boot/dts/qcom/Makefile                  |    1 +
 .../qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts  | 1200 ++++++++++++++++++++
 2 files changed, 1201 insertions(+)
arch/arm64/boot/dts/qcom/Makefile +1 -0
index 91b7236a2190584d852f645cf6fefc4cc72ae432..32159e385144ebf464d20f6db9a2f49900333cf6 100644
@@ -21,6 +21,7 @@ dtb-$(CONFIG_ARCH_QCOM)	+= hamoa-iot-evk.dtb
 hamoa-iot-evk-el2-dtbs	:= hamoa-iot-evk.dtb x1-el2.dtbo
 
 dtb-$(CONFIG_ARCH_QCOM)	+= hamoa-iot-evk-el2.dtb
+dtb-$(CONFIG_ARCH_QCOM)	+= hamoa-lenovo-ideacentre-mini-01q8x10.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= ipq5018-rdp432-c2.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= ipq5018-tplink-archer-ax55-v1.dtb
 dtb-$(CONFIG_ARCH_QCOM)	+= ipq5210-rdp504.dtb
arch/arm64/boot/dts/qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts new file +1200 -0

1,200 lines not on this page · raw message

Signature · 1 line
2.51.0
#3 lore raw

PATCH v2 3/3 firmware: qcom: scm: Allow QSEECOM on Lenovo IdeaCentre Mini X

In reply to Bjorn Andersson

The Hamoa-based Lenovo IdeaCentre Mini X provides the same UEFI variable access through uefisecapp as other Hamoa devices, add it to the allowlist.

---
 drivers/firmware/qcom/qcom_scm.c | 1 +
 1 file changed, 1 insertion(+)
drivers/firmware/qcom/qcom_scm.c +1 -0
index 9292af4a76d215f35c2fac28acfecbd199296daf..9b06a69d3a6d76c9e3b0a26be4cf7880587e8b3f 100644
@@ -2299,6 +2299,7 @@ static const struct of_device_id qcom_scm_qseecom_allowlist[] __maybe_unused = {
 	{ .compatible = "hp,omnibook-x14" },
 	{ .compatible = "huawei,gaokun3" },
 	{ .compatible = "lenovo,flex-5g" },
+	{ .compatible = "lenovo,ideacentre-mini-01q8x10" },
 	{ .compatible = "lenovo,thinkbook-16" },
 	{ .compatible = "lenovo,thinkpad-t14s" },
 	{ .compatible = "lenovo,thinkpad-x13s", },
Signature · 1 line
2.51.0
maintainer Applied
#4 lore raw

Re: (subset) [PATCH v2 0/3] arm64: dts: qcom: Add the Lenovo IdeaCentre Mini X

In reply to Bjorn Andersson
Quoted 1 line · Bjorn Andersson

Applied, thanks!

[3/3] firmware: qcom: scm: Allow QSEECOM on Lenovo IdeaCentre Mini X

      commit: a31ad9339eff4ce401dec816b01a94b4e3c47898

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>