Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1318707rdb; Tue, 30 Jan 2024 15:07:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbFq/onegNNtvA2td14K/f2QqkZfqpPuKf5esmGp9kp4OIccZ4gCB+BkoLsnT3Is0TTxTJ X-Received: by 2002:a50:bb45:0:b0:55f:2f83:77e7 with SMTP id y63-20020a50bb45000000b0055f2f8377e7mr439351ede.19.1706656043894; Tue, 30 Jan 2024 15:07:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706656043; cv=pass; d=google.com; s=arc-20160816; b=yjbnyAlOBfO/nN1V3ImyZ0K6tQEcorrrvAZx/BY5DFDH0tzERduRBSJzjbeKFAVSL3 HZoh4dDxBBl6VfODcNyNJou29ldm3OvplHl0bgveubytsEqbou5FI3WQ2/omho/XlDhl Bnpa6dhI3UHwj+9IhobUbWLXHithU38fBnatpdCVR/xkT0qeZLNSgAspGg3xsoyjyiyS qdhzyW9/cBFd4AeJofH0HKehsOtR8uU73mZuxBTn1tVS9ScnhYA2J0A4vwQwd53H9rAU jhnX8KazbKpKGua3QEtMgyi6y0oDiPi8u/1I59Nc11N8iqcuyspcRktv7d/ZkHjB5mWd LfTw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=XyHH5Unq92X0kSKpyQantcGDB1tT8ugB/3UImkmNwAE=; fh=tmP3r8kdHnjto9t/Q2hyg0WZlGuk2h+t0yEFfDzt3ZM=; b=EFA4aX8jnjY0VaTcs5iUF2cf6X5+oBAZwDBCw4nUsHV8ozCPCmiMQB3iCN0yVh5ygG 3kjxT4WpRrRThASK7NpbDj6X6G/GZkqIzVQFU5QCc8bBMYHczmhvppvFESAVc06lgP+t LLPYtJ1Udr8bwlQT24qCp86smvYJy9QRL/QKm2ilFj9n/hbHCwqaLZ96aZASU/EO56Hn DXPaKYcw83Roo9JavL7F7dC36ieZLogFAku7wMPrciKmzobaafx79zjloTRGOwK/ntp4 aIc8xLzSApF6t7FEZhRhsFmJkpQwYXlB2NOgAT83veFZ9EFMUYJYzPjxecOlqwaT+ssD rSyQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@iwanders.net header.s=google header.b="IDFVj/lk"; arc=pass (i=1 spf=pass spfdomain=iwanders.net dkim=pass dkdomain=iwanders.net); spf=pass (google.com: domain of linux-kernel+bounces-45445-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45445-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r14-20020aa7d58e000000b0055f562cbfc2si567870edq.488.2024.01.30.15.07.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 15:07:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45445-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@iwanders.net header.s=google header.b="IDFVj/lk"; arc=pass (i=1 spf=pass spfdomain=iwanders.net dkim=pass dkdomain=iwanders.net); spf=pass (google.com: domain of linux-kernel+bounces-45445-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45445-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 7B3031F25291 for ; Tue, 30 Jan 2024 23:07:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB2E57992F; Tue, 30 Jan 2024 23:07:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=iwanders.net header.i=@iwanders.net header.b="IDFVj/lk" Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 851257EF15 for ; Tue, 30 Jan 2024 23:07:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706656030; cv=none; b=QoSFS4KwgoclnptJhq7ii3SjepqrB+Zvmp6HrvnQrULNtnTLVFXvryiBdv/vGjqgILCGTtpo85ozjqXCA/g3pE+KpooGFdl7GHUJUdT5Wv8aY7cGhtNxyol4VZLoyBkgr/vzWzLrt3BOC+c+tGL+CxvhkhRpt14emgB2vF+4tVw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706656030; c=relaxed/simple; bh=NQbNim9Kl9w3hMZilkX8mghToO2vPsILhxHQxKtN3Mg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=DVyYi5WJgJHae113akpxiYK9eXcGEkyGbI2KjEJY1T8kg+PRV7cBMn0UAiCsExMZFHRbFXpgiJDFTrpkawlFWT0uh1UaoCtPdOEkp1T7gggzZ4l2O4CNoSH4Uo55uZojr2VgL7GB/6VI150MwG4FX7NQMcW1fxy5YYDlzQDtLM8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iwanders.net; spf=pass smtp.mailfrom=iwanders.net; dkim=pass (1024-bit key) header.d=iwanders.net header.i=@iwanders.net header.b=IDFVj/lk; arc=none smtp.client-ip=209.85.128.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=iwanders.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=iwanders.net Received: by mail-yw1-f175.google.com with SMTP id 00721157ae682-5ffdf06e009so44963557b3.3 for ; Tue, 30 Jan 2024 15:07:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iwanders.net; s=google; t=1706656027; x=1707260827; darn=vger.kernel.org; h=references:in-reply-to:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=XyHH5Unq92X0kSKpyQantcGDB1tT8ugB/3UImkmNwAE=; b=IDFVj/lkAES27SD7y2PE+Akuu1uEcLvjm1pV7PsKvh1mqDPmiEnZqXYUtViiNbR7l6 VDkXTTkz0Hqx7eTMM9pDE91rV5p8KBew1Od+J0ZCzAfw4YA8HU+I5S/u1Wo3eAdTFrEd PEypRiIv+MaBGxLu4FRZv7keu2qR6yQ/Lzbxs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706656027; x=1707260827; h=references:in-reply-to:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XyHH5Unq92X0kSKpyQantcGDB1tT8ugB/3UImkmNwAE=; b=Q8utxlLbYfdFVQh/Pw7plazYl1DPA5qjRlcc38gE38uUojLaLL6Kx3ZSS/7Dm3VV7k 17nQp34O7VhfZ8yteV1pWNE+pLYI00AKJUduzjMJQNobaEyv0KGSgOR970ueEbyhhM1v oX685cFby5X6ze1i70aybgRrWocXitbtZ+S6lDD6Itqh/6gWYSi52PHEvC+Z+/9TbJ+H BGaypUcvoZdVUCbovphvR+BxgPQeR/Pfoapusl2Uxwp5iiBPZCCveBDA/vAm7BtEZPm+ Nzo9PHoHoLCXfVxVkHlzkd62/kcEv4uTZRwHkDSrXUk7y7p9MOOLsdKjZbixkrkWDD4m CbyA== X-Gm-Message-State: AOJu0YxKk9OpTdXHaFrlBnqm+K7jkhpuohVTUI8D0mrVMXy/O01//xZf h0qzDACWg1gpjxlNxwPkUAfgE3HaoEbL9osRDD+QGcCSgnJveJfunSnavib3SaQ= X-Received: by 2002:a81:eb0e:0:b0:5ff:6084:421e with SMTP id n14-20020a81eb0e000000b005ff6084421emr7017803ywm.32.1706656027480; Tue, 30 Jan 2024 15:07:07 -0800 (PST) Received: from eagle.lan (24-246-30-234.cable.teksavvy.com. [24.246.30.234]) by smtp.gmail.com with ESMTPSA id di8-20020ad458e8000000b0068c47832171sm3081275qvb.65.2024.01.30.15.07.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 15:07:06 -0800 (PST) From: Ivor Wanders To: Jean Delvare , Guenter Roeck , Jonathan Corbet , Maximilian Luz , Ivor Wanders , Hans de Goede , Mark Gross Cc: linux-hwmon@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org Subject: [PATCH v4 1/2] platform/surface: aggregator_registry: add entry for fan speed Date: Tue, 30 Jan 2024 18:06:53 -0500 Message-Id: <20240130230654.4218-2-ivor@iwanders.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240130230654.4218-1-ivor@iwanders.net> References: <20240130230654.4218-1-ivor@iwanders.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Add an entry for the fan speed function. Add this new entry to the Surface Pro 9 group. Signed-off-by: Ivor Wanders Link: https://github.com/linux-surface/kernel/pull/144 Reviewed-by: Maximilian Luz --- Changes in v4: - No changes in this patch. Changes in v3: - No changes in this patch. Changes in v2: - No changes in this patch. --- drivers/platform/surface/surface_aggregator_registry.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/platform/surface/surface_aggregator_registry.c b/drivers/platform/surface/surface_aggregator_registry.c index 530db4db7..b0db25886 100644 --- a/drivers/platform/surface/surface_aggregator_registry.c +++ b/drivers/platform/surface/surface_aggregator_registry.c @@ -74,6 +74,12 @@ static const struct software_node ssam_node_tmp_pprof = { .parent = &ssam_node_root, }; +/* Fan speed function. */ +static const struct software_node ssam_node_fan_speed = { + .name = "ssam:01:05:01:01:01", + .parent = &ssam_node_root, +}; + /* Tablet-mode switch via KIP subsystem. */ static const struct software_node ssam_node_kip_tablet_switch = { .name = "ssam:01:0e:01:00:01", @@ -319,6 +325,7 @@ static const struct software_node *ssam_node_group_sp9[] = { &ssam_node_bat_ac, &ssam_node_bat_main, &ssam_node_tmp_pprof, + &ssam_node_fan_speed, &ssam_node_pos_tablet_switch, &ssam_node_hid_kip_keyboard, &ssam_node_hid_kip_penstash, -- 2.17.1