All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dale Whinham <daleyo@gmail.com>
To: "Maximilian Luz" <luzmaximilian@gmail.com>,
	"Hans de Goede" <hdegoede@redhat.com>,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: "Jérôme de Bretagne" <jerome.debretagne@gmail.com>,
	"Dale Whinham" <daleyo@gmail.com>,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 4/9] platform/surface: aggregator_registry: Add Surface Pro 11
Date: Mon, 14 Jul 2025 18:35:40 +0100	[thread overview]
Message-ID: <20250714173554.14223-5-daleyo@gmail.com> (raw)
In-Reply-To: <20250714173554.14223-1-daleyo@gmail.com>

This enables support for the X1E-based Surface Pro 11.

Tested-by: Jérôme de Bretagne <jerome.debretagne@gmail.com>
Signed-off-by: Dale Whinham <daleyo@gmail.com>
---
 .../surface/surface_aggregator_registry.c      | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c
index a594d5fcfcfd..e08d029e0856 100644
--- a/drivers/platform/surface/surface_aggregator_registry.c
+++ b/drivers/platform/surface/surface_aggregator_registry.c
@@ -406,6 +406,22 @@ static const struct software_node *ssam_node_group_sp9_5g[] = {
 	NULL,
 };
 
+/* Devices for Surface Pro 11 (ARM/QCOM) */
+static const struct software_node *ssam_node_group_sp11[] = {
+	&ssam_node_root,
+	&ssam_node_hub_kip,
+	&ssam_node_bat_ac,
+	&ssam_node_bat_main,
+	&ssam_node_tmp_sensors,
+	&ssam_node_hid_kip_keyboard,
+	&ssam_node_hid_kip_penstash,
+	&ssam_node_hid_kip_touchpad,
+	&ssam_node_hid_kip_fwupd,
+	&ssam_node_hid_sam_sensors,
+	&ssam_node_kip_tablet_switch,
+	NULL,
+};
+
 /* -- SSAM platform/meta-hub driver. ---------------------------------------- */
 
 static const struct acpi_device_id ssam_platform_hub_acpi_match[] = {
@@ -485,6 +501,8 @@ static const struct of_device_id ssam_platform_hub_of_match[] __maybe_unused = {
 	/* Surface Laptop 7 */
 	{ .compatible = "microsoft,romulus13", (void *)ssam_node_group_sl7 },
 	{ .compatible = "microsoft,romulus15", (void *)ssam_node_group_sl7 },
+	/* Surface Pro 11 */
+	{ .compatible = "microsoft,denali", (void *)ssam_node_group_sp11 },
 	{ },
 };
 
-- 
2.50.1


  parent reply	other threads:[~2025-07-14 17:36 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-14 17:35 [PATCH 0/9] Microsoft Surface Pro 11 support Dale Whinham
2025-07-14 17:35 ` [PATCH 1/9] dt-bindings: arm: qcom: Document Microsoft Surface Pro 11 Dale Whinham
2025-07-15  3:58   ` Rob Herring (Arm)
2025-07-14 17:35 ` [PATCH 2/9] dt-bindings: display: panel: samsung,atna30dw01: document ATNA30DW01 Dale Whinham
2025-07-14 17:35   ` [PATCH 2/9] dt-bindings: display: panel: samsung, atna30dw01: " Dale Whinham
2025-07-14 17:41   ` [PATCH 2/9] dt-bindings: display: panel: samsung,atna30dw01: " Doug Anderson
2025-07-15  3:58   ` Rob Herring (Arm)
2025-07-15 17:26     ` Doug Anderson
2025-07-14 17:35 ` [PATCH 3/9] firmware: qcom: scm: allow QSEECOM on Surface Pro 11 Dale Whinham
2025-07-14 17:35 ` Dale Whinham [this message]
2025-07-15 22:24   ` [PATCH 4/9] platform/surface: aggregator_registry: Add " Maximilian Luz
2025-07-14 17:35 ` [PATCH 5/9] arm64: dts: qcom: Add support for " Dale Whinham
2025-07-14 17:35 ` [PATCH 6/9] drm/msm/dp: Work around bogus maximum link rate Dale Whinham
2025-07-14 19:50   ` Rob Clark
2025-07-15 22:52     ` Jérôme de Bretagne
2025-07-17  2:21   ` Xilin Wu
2025-07-17 20:27     ` Jérôme de Bretagne
2025-07-17 21:10       ` Konrad Dybcio
2025-07-17 21:36         ` Jérôme de Bretagne
2025-07-18 10:52           ` Dmitry Baryshkov
2025-07-18 18:18             ` Jérôme de Bretagne
2025-07-18 18:26             ` Jérôme de Bretagne
2025-07-18 18:30               ` Dmitry Baryshkov
2025-07-14 17:35 ` [PATCH 7/9 RFC] dt-bindings: wireless: ath12k: Add disable-rfkill property Dale Whinham
2025-07-14 22:33   ` Dmitry Baryshkov
2025-07-14 23:26     ` Jérôme de Bretagne
2025-07-15  4:02       ` Rob Herring
2025-07-14 17:35 ` [PATCH 8/9 RFC] wifi: ath12k: Add support for disabling rfkill via devicetree Dale Whinham
2025-07-14 17:35 ` [PATCH 9/9 RFC] arm64: dts: qcom: x1e80100-denali: Disable rfkill for wifi0 Dale Whinham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250714173554.14223-5-daleyo@gmail.com \
    --to=daleyo@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=jerome.debretagne@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luzmaximilian@gmail.com \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.