Message ID | 20231204055650.788388-1-kcfeng0@nuvoton.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp2570516vqy; Sun, 3 Dec 2023 21:58:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHO/tG4dC/A5v9Y2NMRvegDC0VZJGtuh7WaBSEeeVmRIWXQOFl0RPHXfdVvVWowYBUQkc9d X-Received: by 2002:a05:6808:11c1:b0:3b8:42c9:dba0 with SMTP id p1-20020a05680811c100b003b842c9dba0mr4804552oiv.31.1701669482816; Sun, 03 Dec 2023 21:58:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701669482; cv=none; d=google.com; s=arc-20160816; b=oxTaodPi4ISotF1pY+l2ZPX9tHptZgQoaqLaUWk6kgZ9zWc/dEPlA7YvvvUlHhG2Pf zfWAyB2CZMjQ0xBHIfyeF65ScbyxvquRkLHBQRrZhBT6HzJOE6BBCFwyqOkKoY7Hxvu8 qTf33dc2ZGU94VdmfcJLl3ZyvdomrMjoxXoAFgYbWk0AKotsP5IE61RWbNdL0Q0ybOZb DMz9eCNrBQrWBqRxzLkZ6+0F9cVQoJI1XIvimaT7hMnvcJ0ET8qUoi/YlXlc2zMQne96 wtpyTzVLlQytg6FU9LZEvQ5d1vgcrQERRTju/A3Z+KFV9wuyDlhAD01eDxrSy2X4ctbZ ekWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=H6eGxkIuJnwxIMsVrJhL0EVIrXnUAxwMRRf6LD+k5GI=; fh=ubsVGrXDhrR281iLUDw6XsweFqlXrW3sAKGt/IFEqqg=; b=FAiZCx8twSZi5MpwDxruo+BmgW0i3yTJVvzDozmg0sa2+wkZ/PZ2vZ+kwLTgA4vTpa ocH1amx0uovNtqTOA2ZYTGEIlXTQtvqDuQ48Q4vfpZuxX7sRSLOfEGt8n8m+DAb6Y8vI 20kC0JLXNykXDQ4S7pWJNsnZQGbD69Fh3cS5KwVx+Mhcbzk9suVOTKTM2x1VtYprXtO/ uqb09CS3Y/0a9edqVTV35Yy5yq8SrJrszOCjidE0gW8bvYQ2fxDmJRWJCwAVlgXQUjyq 0T3jkHwL5KPbq3CVed73CU8X00/uLNuG2dw+uHsSZoVKP8AeK3fS3qXgSUyDPgyngr+z Exlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DIFNGNfq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id k37-20020a63ff25000000b005ad8009e304si7438410pgi.784.2023.12.03.21.58.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 21:58:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=DIFNGNfq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 6B6D88072147; Sun, 3 Dec 2023 21:57:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229869AbjLDF5m (ORCPT <rfc822;chrisfriedt@gmail.com> + 99 others); Mon, 4 Dec 2023 00:57:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjLDF5l (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 4 Dec 2023 00:57:41 -0500 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B2EC95; Sun, 3 Dec 2023 21:57:47 -0800 (PST) Received: by mail-pg1-x52e.google.com with SMTP id 41be03b00d2f7-5c673b01eeeso241672a12.1; Sun, 03 Dec 2023 21:57:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701669467; x=1702274267; 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=H6eGxkIuJnwxIMsVrJhL0EVIrXnUAxwMRRf6LD+k5GI=; b=DIFNGNfqCZ8+QL6eIKVkn8686e8yop9I7zGyZ7HCJOOCwxdNSnCQLf5KReZO+22Z28 0uaIGJlRA6gMWZsefcqNp6Dk25CKOsO4QCggFRFZdW0S20QKhnz5pJnBfs52Fn0BIqr6 MLUVR6YdRjIhWMRkKHyuzanHgEzJ6FdSxizlvTe5J1u4SZF0aTt9sa5Y512fpxooWBnb j6zNvhC9UsLUim77RtTAeUCQDRQSwnpjj2AFp9uGcvZnOBQiic8XUMW5l/BzR0tKd81w 33b29lZElJaS7njdxFoZdOgT1P/KtOQEnpIlCNz4lrdo3je0p+sXTd1fb0M7zx1eCsMp Aezg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701669467; x=1702274267; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H6eGxkIuJnwxIMsVrJhL0EVIrXnUAxwMRRf6LD+k5GI=; b=pPhoXo/YG9uiNsBwAzG73OnVBQ9CLdO55uXqqLuiIYkxxVZpwSFCfhM7M8CZilyHRM N14sk670h2ZxfM7hBXNrlug37WbpXvb0zwF/TyiD6194EWtBTf11wAYgUShst3HM/weu G85deWlNCrfDPVwkZevX4ednJdJEib6CFVWvnKmG3Lop56pCxt8pAvQj5EYjZaXVx+OV TgaFSoANg1tQFpBbMBL1VVh53akGToUUp+C9caC3GWhdDRQe8GCpnfwDPOb9eNHbZFWh 88DsVOMdJUSKWLhm2nbmySRSaTHBfSHlhTTM2YaXynTl5/2Qi2MPZureAzwFHmA2fe6H t3PA== X-Gm-Message-State: AOJu0Yycp2lISih25V/xn4VzZQPkMN3QzC+I43QVE1ga7oToGbN94/ic 6Dh2R0RofkCS7tA2YIPGmt4= X-Received: by 2002:a17:90b:4d0c:b0:286:3b18:af40 with SMTP id mw12-20020a17090b4d0c00b002863b18af40mr1058284pjb.21.1701669466622; Sun, 03 Dec 2023 21:57:46 -0800 (PST) Received: from hcdev-d520mt2.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id 95-20020a17090a09e800b0028651ea5e7csm6113523pjo.33.2023.12.03.21.57.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 21:57:46 -0800 (PST) From: baneric926@gmail.com X-Google-Original-From: kcfeng0@nuvoton.com To: jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, corbet@lwn.net Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, openbmc@lists.ozlabs.org, kwliu@nuvoton.com, kcfeng0@nuvoton.com, DELPHINE_CHIU@wiwynn.com, Bonnie_Lo@wiwynn.com, Ban Feng <baneric926@gmail.com> Subject: [PATCH v1 0/2] hwmon: Driver for Nuvoton NCT736X Date: Mon, 4 Dec 2023 13:56:48 +0800 Message-Id: <20231204055650.788388-1-kcfeng0@nuvoton.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 03 Dec 2023 21:57:59 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784329779364254285 X-GMAIL-MSGID: 1784329779364254285 |
Series |
hwmon: Driver for Nuvoton NCT736X
|
|
Message
Ban Feng
Dec. 4, 2023, 5:56 a.m. UTC
From: Ban Feng <baneric926@gmail.com>
NCT736X is an I2C based hardware monitoring chip from Nuvoton.
Ban Feng (2):
dt-bindings: hwmon: Add nct736x bindings
hwmon: Driver for Nuvoton NCT736X
.../bindings/hwmon/nuvoton,nct736x.yaml | 80 +++
Documentation/hwmon/index.rst | 1 +
Documentation/hwmon/nct736x.rst | 35 ++
MAINTAINERS | 8 +
drivers/hwmon/Kconfig | 10 +
drivers/hwmon/Makefile | 1 +
drivers/hwmon/nct736x.c | 479 ++++++++++++++++++
7 files changed, 614 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwmon/nuvoton,nct736x.yaml
create mode 100644 Documentation/hwmon/nct736x.rst
create mode 100644 drivers/hwmon/nct736x.c
Comments
On 12/3/23 21:56, baneric926@gmail.com wrote: > From: Ban Feng <baneric926@gmail.com> > > NCT736X is an I2C based hardware monitoring chip from Nuvoton. > No, it isn't. Such a chip does not exist. The chips are apparently NCT7362Y and NCT7363Y. No wildcards in filenames, variables, etc., please. Pick one name (nct7362y) instead and reference both chips where appropriate. Guenter
On Mon, Dec 4, 2023 at 3:04 PM Guenter Roeck <linux@roeck-us.net> wrote: > > On 12/3/23 21:56, baneric926@gmail.com wrote: > > From: Ban Feng <baneric926@gmail.com> > > > > NCT736X is an I2C based hardware monitoring chip from Nuvoton. > > > > No, it isn't. Such a chip does not exist. The chips are apparently > NCT7362Y and NCT7363Y. No wildcards in filenames, variables, etc., > please. Pick one name (nct7362y) instead and reference both chips > where appropriate. > This driver is based on nct7363y, so I'll rename all to NCT7363Y in v2. Thanks, Ban