Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp3002456rdd; Sat, 13 Jan 2024 10:33:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IE10CwXKCSycrXvGteBdUDlVeSag3BxfNKlvHtYNmlFB+LZfuWtY+kZMySHfMMbA09oT69R X-Received: by 2002:a05:6a20:a112:b0:199:6bcb:573 with SMTP id q18-20020a056a20a11200b001996bcb0573mr1717360pzk.50.1705170811786; Sat, 13 Jan 2024 10:33:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705170811; cv=none; d=google.com; s=arc-20160816; b=L+nE40l5zx6mMs8HKp9Cc8JKHcggeYtEUiQD85U72J3RTjQJqzJDcLwUkA5DbbdJUN shyUsAqmL2W8p3mot9MUufsoCq/LQ2fYN8vK0rWF3uL/Al4UiSHQwSybHVaMMLFLbYK2 rOPOGj8YqiS/bXGKXHT0DEveBfTLRrivJ8DcQPA43XBl01q0rmSri354jvFuXzTwPFYf yzPpXO0rUgZSASxaavGoISge9gVy1SXAGt7BWAZCKLONElsRADPPD3XtQ0nJTwIC/GVA PcrEZ/yB5kyVznsBD4NI7H/9M1GOtI3HvtmlH0B/7sfvghaJBcpY8huwp13Wj6RfwGrK H3JA== ARC-Message-Signature: i=1; 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=OvziupLQyzD7CXIhblfqO3HA/n00b86Rv0OXwbGfPwc=; fh=tmP3r8kdHnjto9t/Q2hyg0WZlGuk2h+t0yEFfDzt3ZM=; b=T9fDElDz1MDy1uORdP4gj3keQ+yYOqtkSclUs5T+wi5bG9iM5Yo9bNfwCo25O9J/5n nRe90vlMKP5hVkcDhDMB9j3LoTFlscQm/auM6u7nMiCJPz2WK04LCIcCj8n7qiw3qJKY vr2N/zbUHDGpddvmqiy40kXflkjQJ3PnCCq8t2WdSnr34b02RY1CWxyiQAiI4Z6cm4lh 6v7qXP/THaOKVDeEbe7IoVeqke8RUH/GcJZbzu4XgsblmjombA2XV8aXYmYnDgW8OTy6 gFtjT4k3dD+joIV6R8AkQKdbAlfYGdpcyJEmPbNrniZY/iC6pQT+hCBNRMLE1RA4uSZP 5IjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@iwanders.net header.s=google header.b=ayA3iXRA; spf=pass (google.com: domain of linux-kernel+bounces-25351-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25351-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id v12-20020a170902f0cc00b001d4c4dbfdabsi5375265pla.363.2024.01.13.10.33.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jan 2024 10:33:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-25351-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@iwanders.net header.s=google header.b=ayA3iXRA; spf=pass (google.com: domain of linux-kernel+bounces-25351-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-25351-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 5BE5B283E2F for ; Sat, 13 Jan 2024 18:33:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 70CA96AD7; Sat, 13 Jan 2024 18:33:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=iwanders.net header.i=@iwanders.net header.b="ayA3iXRA" Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.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 32183569C for ; Sat, 13 Jan 2024 18:33:13 +0000 (UTC) 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-qk1-f175.google.com with SMTP id af79cd13be357-783182d4a0aso659021785a.2 for ; Sat, 13 Jan 2024 10:33:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iwanders.net; s=google; t=1705170793; x=1705775593; 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=OvziupLQyzD7CXIhblfqO3HA/n00b86Rv0OXwbGfPwc=; b=ayA3iXRAae7Qvos2nxnewcRLlz5W5eGvBkPcGRMLXMAR/G6/Dl5g3QZxwe4ImcqVaT Dz8xITHPuj2ZFBxDdI1XR/Nqyh9uHZeNasswC1/fep86sQ/iyXEjMios7Ptl4rZ6Ukvq t7++7MrdH+AOPQTlBXdm/FLvkU7Cju8wDi10o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705170793; x=1705775593; 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=OvziupLQyzD7CXIhblfqO3HA/n00b86Rv0OXwbGfPwc=; b=m0bHb6MiiVAzYPamJ9M1AxeoWrHPIaxt/u968FVhBJDaPs0G7A+aHt5CEhsNE6+Aqe hfZ36ai4NtN0zxgQ8KMWdylwno6SyytkSHapgALO7urvCbhg7O2A+7BaccOtwv/eU0Ra 74rKSgksvhhwTwFQaMMvqS4oMieBXqcFXatHeskewpvbapN8DRNrPdnM7ej8lWTaCg/g REkrxtIl8OFWyJY3MWxlQPM8eqdtpg4U8SRIb+psyZNY3u89ZUUnObqGPampV63PaH8E XCywavzjkOAR6pcT/RzOUVzRpuqvfiWCqwgbzdwGOO5f0qsLN48bRhRCDX4DdP2KvJIx pSxQ== X-Gm-Message-State: AOJu0YyUvAXjq+na7IaaHYc1O0fy5RBKdt7PiNvo0M0zurB2Vd/QsWks yEUbmv+172MW8LuLXA8qqytZxypIDTx96A== X-Received: by 2002:a05:620a:28d3:b0:783:562e:b0fc with SMTP id l19-20020a05620a28d300b00783562eb0fcmr750374qkp.7.1705170793048; Sat, 13 Jan 2024 10:33:13 -0800 (PST) Received: from eagle.lan (24-246-30-234.cable.teksavvy.com. [24.246.30.234]) by smtp.gmail.com with ESMTPSA id z4-20020ae9e604000000b0078162695b73sm1855853qkf.104.2024.01.13.10.33.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 13 Jan 2024 10:33:12 -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 v3 1/2] platform/surface: aggregator_registry: add entry for fan speed Date: Sat, 13 Jan 2024 13:33:05 -0500 Message-Id: <20240113183306.9566-2-ivor@iwanders.net> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20240113183306.9566-1-ivor@iwanders.net> References: <20240113183306.9566-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 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