Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp470702lqz; Sat, 30 Mar 2024 04:58:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW4CGYIKdP0l4J39VWwnOJroJJ3atg2CE4sBBDIPcUL/AVMXaQKmuXQkrZJwUv1W31l4+PnmrcD88F42lDIMM3TlbHy/sdz/4YpSRJ2gw== X-Google-Smtp-Source: AGHT+IEsOop3E0C1fwBQb4J4uf/TYQV10Z4bnvcjnnOJtdDxqYNQHqa+amnbSsHraORZItN2iqvP X-Received: by 2002:a05:6a20:e605:b0:1a3:dd15:dacb with SMTP id my5-20020a056a20e60500b001a3dd15dacbmr4654869pzb.52.1711799919765; Sat, 30 Mar 2024 04:58:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711799919; cv=pass; d=google.com; s=arc-20160816; b=VRaOdSUOqC3rrtceH44cX58GXTYVqq7ROh+L6Kf/FxAUIgCps35lmEO626EHb/wiad PHCJoSw6/XfWToTtE9YB/wu2PhE/IGZXRgKVO+gr8lSJcDRAiDFuJwqexfed8T6iQf8C Ly4qeTJ2If/r9vXwsbLIhvN0rku0hPtZzROLVJblfgCMX6n62jzf16yiEe4+xo0hTk5N OHWDDjXKoH9ziWDw2rWGsmTlIRI6YBULvj7lqnCBlstiML+5ay8u2Bl0jHi126W1009h YTcQZi8scIhsn6LZkKTERns3IFdPz/dFyULoXgCLfsBy9Xfruy1PZ9ePxRTl7muHQKzb hKCg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=PwQxQ55Te/E+L+J8NXVNW/6D/jEVDpLbVJSx9S8S4Y4=; fh=aEcDmGHu8x4gpCo7qYBRqdmUJ/wg8QkYDMYJRh0Qlok=; b=vdhQr2oLjtQfAoxoEx1CEa79KLpOxY7SNNY6rxPOaP9rbF90TMkuPYDWZxkC5G3Lx6 oRPSPSKGWEJB8cxko0seAUowp0mhtjDGjAuItnehBXG3iZQMT2WNUT4EzZIl6VAuqFY1 RXOuZ/pZqEhPGwtHsoU5MA+3urv5W4nKp+Lld2KsHmS9dAxtZg7zyeHJum4IfRY+teLG VGcWfK8APLWZ9Z402Q1T9v0ZgXWdkpezG5bqAttlbH0G2W+npruP+okwRTMUppTV8I0x JGi/MWZeexWVtkNorJjkXQb/yeg4ae+SWKJzEyw+jjOnTdMxsAgFl7TjcHYP3rH3Ml7I hjtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=doc9atA2; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-125716-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125716-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 b19-20020a17090ae39300b0029b80d93d0asi5632274pjz.128.2024.03.30.04.58.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 04:58:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125716-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=@gmail.com header.s=20230601 header.b=doc9atA2; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-125716-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125716-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 6D808282EF6 for ; Sat, 30 Mar 2024 11:58:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3EC89374C3; Sat, 30 Mar 2024 11:58:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="doc9atA2" Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (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 921482C698; Sat, 30 Mar 2024 11:58:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711799913; cv=none; b=HvQY+P8B/rW+aqK70pZ3+nWrLgXkn1xpx/ghY/3bZ39PzMYVB1D/42d+UNh5XGtwP+MxwENhtIfyS/5Kh8c8L7WeOr+aa48irM9VxxlXJWpOp+fSdDCf7oCXPs+pl1HC2GCSJvaJdgr9OhFx0WRH4xlOW+mX01xPvZelWV2dO4w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711799913; c=relaxed/simple; bh=TbrIO4XyQEd+k39NL1nF1BZX16Lmo09f878RPERjTjU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uUl6Ghe5u91L22FfFV2DAopCkne0ZKrQ7OmbswIeg2Z9OpAmt583DqF34V1WRLhT+FpleaS5BoPrgndCBeNpInuChhXmg5CLULDC3e7FOufsYpq2hpSTPN5tYKC3w4Leb7RSHCLoRLsc6lP1OSAs45N1Bj09O8guy5CfbITpcLo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=doc9atA2; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-1e0000cdf99so22805895ad.0; Sat, 30 Mar 2024 04:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711799910; x=1712404710; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=PwQxQ55Te/E+L+J8NXVNW/6D/jEVDpLbVJSx9S8S4Y4=; b=doc9atA2gzb5M5MgnMrt9Oi5D/4o0YMGM210rv7cDBEU4BC/E4JD6+54FP5Yp6MNPE 3mAZogxF/LlUzh98fpzbPBi8OYbPod5m0M2F956wZ7J/WyGXpUGxlOxl6U++Dw3RYAJW L9evEWaPbTnLIYV7eP3eGeCkEEefrr1QX6r6HspskQR1I6lkaa2ZLwdOO6ULRIHLkytG DoJAzu7uKxueYaaawa2UoCT0MJxXAaLLrgM4GoUgheW9cMjs5gbu7pBYZWxBbylCWeGb WY9ObJ2ZiJqxQoHc4BSwjy3Bt1qLLMOzLCB34toJD0aLeO65sa22QwqKmd0b51Yp0OGb YgWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711799910; x=1712404710; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PwQxQ55Te/E+L+J8NXVNW/6D/jEVDpLbVJSx9S8S4Y4=; b=m4iMlFxLshF2Go4p27kd5FWg6DjXS+EnEkkRIkw+LTey8KlZCTyd9/uWNbBEqJxaul jiYvPT69u7f45tEOU/vw3hAPCRFKNEd0gBAjSJrJNaJDa02aGqXuGY+A70mY7S6u3dNt 7dXEqQcAvYW9JH7S6D1L+n/buuTloDPHw2f27kaWnAZ5isp1XUi1az63DK4IoXTdSqLO E/0kmHNCCKT7T3pgs7FXR3WCXF0K/9J3fnr9cLXq+GJSdtCBJe56Z+hdQ2xeaxSdxu0K DNF+f6IkCjVACATyW6Jb8c4z+Et1Qs62/cRbKVTt0L1+NGFoRkd+8FHWpZPg4kpnR6yw WTlQ== X-Forwarded-Encrypted: i=1; AJvYcCV3EGtnnL/zRNDBl776RDHSKKGmNT1HBKzjysnIXrkZMiTC6ou/JQs0dj2Z/w2QACQ5Kc1cdBMhOEi4FnRKUFYLKKh7l3/ZIOmxhC9p2GcdCgDa0dNdEw0qbrAE0HcjwS74vpTWYktt7zP551zdT/jvN1wmV8bDlgTAL76rHXLqt0ATBtpEzZBXOuR2g8zO X-Gm-Message-State: AOJu0YwHls4WVl+bhhCaloIu1LVDTQysDNoQg9qIV6H/iNUFVigOVmDN EqYRC7m4+TI8JcXYg+gTcyOyK+orkH9W2b51Rl7O3a2oRT4b0RlF X-Received: by 2002:a17:902:684e:b0:1e0:ac2b:44ad with SMTP id f14-20020a170902684e00b001e0ac2b44admr5114698pln.35.1711799910247; Sat, 30 Mar 2024 04:58:30 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id n6-20020a170902e54600b001e0b863b815sm5107145plf.96.2024.03.30.04.58.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Mar 2024 04:58:29 -0700 (PDT) Sender: Guenter Roeck Message-ID: Date: Sat, 30 Mar 2024 04:58:27 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] hwmon: Add thermal sensor driver for Surface Aggregator Module Content-Language: en-US To: Maximilian Luz , Jean Delvare , =?UTF-8?Q?Ilpo_J=C3=A4rvinen?= , Hans de Goede Cc: Ivor Wanders , linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, linux-hwmon@vger.kernel.org References: <20240330112409.3402943-1-luzmaximilian@gmail.com> <20240330112409.3402943-2-luzmaximilian@gmail.com> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9pKkKmHHh7s jfZJkB5fWKVdoCv/omy6UyH6ykLOPFugl+hVL2Prf8xrXuZe1CMS7ID9Lc8FaL1ROIN/W8Vk BIs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YOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: <20240330112409.3402943-2-luzmaximilian@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/30/24 04:24, Maximilian Luz wrote: > Some of the newer Microsoft Surface devices (such as the Surface Book > 3 and Pro 9) have thermal sensors connected via the Surface Aggregator > Module (the embedded controller on those devices). Add a basic driver > to read out the temperature values of those sensors. > > Link: https://github.com/linux-surface/surface-aggregator-module/issues/59 > Signed-off-by: Maximilian Luz I very much dislike the idea of having multiple drivers for hardware monitoring on the same system. Please explain in detail why this and the fan driver for the same system need separate drivers. I'll also very much want to know if we will see submissions for separate voltage, current, power, energy, humidity, and/or other hardware monitoring entities for the same system later on. Guenter