From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (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 E010E1F1534 for ; Sat, 10 Jan 2026 01:24:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768008250; cv=none; b=lbV8oKvHW+YWFCzICeCfZciFVdGcYqWeJykiE0DgVmPlg9PFOalgBpIdDE92qt++DKEQfe7+7ALNM2uw6xvKpwRlEO/nRkivbc9uglMgw6tYrPqgw3PEMnVPTyd0TUE7rSQh/YmjDaBz7s07tBU4oCsHUsSkPTa2A2lCLpM+u0I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768008250; c=relaxed/simple; bh=0HZUy3Efrzltz8zOWDsnq4KxDebU+Evn00ngo3qLrhk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hzpqYg+ByUoxDDJtkiRaBDAx+0cXy2RteVavM246qR/+FEMYzzytG0rqElhSEXvvyvDMnK1Yax9hJpXNmucn2NjHHuzsOv6lUhJC6FkVxUNLxASl1ZCGz15vBPtLd0Eu5JYMzlVwldv2/ZbL9v5+lCi0d/sndzR/Cyd4ou7+8jQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=perenite.com; spf=pass smtp.mailfrom=perenite.com; dkim=pass (2048-bit key) header.d=perenite-com.20230601.gappssmtp.com header.i=@perenite-com.20230601.gappssmtp.com header.b=vEtk2/SR; arc=none smtp.client-ip=209.85.221.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=perenite.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=perenite.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=perenite-com.20230601.gappssmtp.com header.i=@perenite-com.20230601.gappssmtp.com header.b="vEtk2/SR" Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-4327778df7fso2962843f8f.3 for ; Fri, 09 Jan 2026 17:24:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perenite-com.20230601.gappssmtp.com; s=20230601; t=1768008247; x=1768613047; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=48uhg1n8pZrtKH3QTAeljNenkTOpWB0A9Zn6lZHQKGU=; b=vEtk2/SR9EJw6RW2o/tInoJgFysralG4US038MFaBgU39w+dz8tq0RRZ9rP/YxwJLb 6tvKiYCOHu9uT+MvZu+5BzOxRx2+22gK0TetSGfTMkGNwYRhQWbGsQ8YABCv8Dlf1vBU iyNItudgWkHKSMG72532f+dUjL5FIRqp3ec0RCqoJ/2FTFLLgLT8qvU2p/Y4G28aut0O WKHyRuAijbl+ghufKrcyJTyzlSgoljS+E2PAt6ZQkuTX7+fkcLnghzJn3hyIHsogAD61 Tior868Q2RkOwz8lhvhqsePdpBnP4OxsQxIVjXLTA2s8AapqVVxH1gAqlhrIwRDI+mv5 sZBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768008247; x=1768613047; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=48uhg1n8pZrtKH3QTAeljNenkTOpWB0A9Zn6lZHQKGU=; b=WztgpF0uyCO8odSGBI6Iuz9fc+ECDqX3G7j+JOVMgruG1zdVYb2ybcvy7rRRdR6Cx8 mcZDrJdghNUcg8V1Nfv+XAY/2P8Y8T+V6Ey8nEDySla3dpQPguQKKjOPGew0wHbHrchB 4g6s314KwUTeuUjoA1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SMTP id ffacd0b85a97d-432c3779051mr13533710f8f.60.1768008246967; Fri, 09 Jan 2026 17:24:06 -0800 (PST) Received: from mac.net ([2001:861:8b92:2c50:6cf2:f0aa:7bc6:15fc]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-432bd5ee24esm25208007f8f.33.2026.01.09.17.24.06 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 09 Jan 2026 17:24:06 -0800 (PST) From: "benoit.masson" To: Jean Delvare Cc: Guenter Roeck , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, "benoit.masson" Subject: [PATCH v3 0/5] hwmon: it87: prep for IT8613E support Date: Sat, 10 Jan 2026 02:24:05 +0100 Message-ID: <20260110012405.47906-1-yahoo@perenite.com> X-Mailer: git-send-email 2.50.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series ports IT8613E support from the out-of-tree it87 fork into upstream in small steps. It first adds per-chip resource metadata and new PWM temp map handling, then expands temp limits/offsets, adds IT8613E detection, and finally the IT8613E configuration. Tested on: IT8613E, MEDION B660H7-M20 BIOS motherboard. Changes in v3: - Send as a proper patch series (maintainer request). - Fix smatch warning in show_pwm_temp_map() (IS_ERR check before use). - PWM control fixes based on fork diff: - Use IT8613E PWM register table (and it8622 for future extension). - Clamp invalid PWM temp map values when reading. - Default new-tempmap PWM mapping to channel 0. benoit.masson (5): hwmon: it87: describe per-chip temperature resources hwmon: it87: prepare for extended PWM temp maps hwmon: it87: expose additional temperature limits hwmon: it87: add IT8613E identification hwmon: it87: add IT8613E configuration Documentation/hwmon/it87.rst | 8 + drivers/hwmon/it87.c | 336 +++++++++++++++++++++++++++++------ 2 files changed, 286 insertions(+), 58 deletions(-) -- 2.50.1 (Apple Git-155)