Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp2475189rbb; Wed, 28 Feb 2024 03:05:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXW3gnNQ1Whlv4qCNBfkmKZRmA3soNbzlr0RA1Gt/r5WQeBw+sF3l8y5DvgLBvskqZLzJlahpkOymXo6r7oFRwJSQhCrXYjaryGnJu/Qg== X-Google-Smtp-Source: AGHT+IHj63TtmZ/gUybwUa1gfcNuTaJNEQhao/BqCHMSKEhHcxkMBuuUW1dtwOrGQNgtiloPqAtB X-Received: by 2002:a05:6512:4005:b0:512:ae18:74a1 with SMTP id br5-20020a056512400500b00512ae1874a1mr9612435lfb.11.1709118321294; Wed, 28 Feb 2024 03:05:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709118321; cv=pass; d=google.com; s=arc-20160816; b=Zg7daa5phhB0klFI7VIJ/QlKrdjNueppB5fO8Yj0PHzCHwbeXu9Viui76UtYDnDcNS z890cYtFMG1kICHIl4TMJ6dpHKbHKRsxBtPHLBUY5Dp/tdyz+/3RLNQbBcQEFJBnZwSU o0JCr31eEZuk5qXMfWy0a9Fabn7MgaGQGWv9bR0GpF95nLwwTLNzV55d0qNM8ocsJcLz S9toFPHnXBBINsSpmcdyARbAtDtkwmlzUKSN1LUGFvjd6VdxXnFJjoP6/iZK9nMNYjf+ KCa3/dnsQxy0TndNdQVgYeQIK/YeA3PGG0RXtEtAw0iKqM0qToKj1HewpsiJmd3Yrmfo IzUg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id; bh=zhr333ykke2pQKwKHEWD7d7v/jVsjnL7AIiSmKJ8Rm8=; fh=kIU2Sg/YLdCJBlHvhFjC/xrDxGo1swK5QLrlybDdiqA=; b=goFxogjTDm7333mytoyb/pWTS652TL7/e+dMAP0fAcPJbhkWtdWGj/caVb/AMcG6+A 4IukAVfO4AlIeXaVVxxdxbgVoJYeLrX+KAXWPeOYnx7s18OoR8JJD3rvcwB73BV6ZXgf ETMee2oroCt3Pb66zmoezae9IMsLfYOr+2O3wDRbuP4TcH0pH7sRWIFLHISZUltCf4lN ig574iim4xG7vVhUZOPBPsiyI1eSmzmV6LbQD8FSqOQvb3UN9pOJAteBBj1oKtIWRyTf RhMMuryxqfR34Ex8drzIJ9sYsc3y3ISN4VV/gdts1/ihSLjZVHhbsKW+qelOAp//uN5d QMfg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-kernel+bounces-84850-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84850-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id g23-20020a50d5d7000000b00565aa006837si1554366edj.549.2024.02.28.03.05.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 03:05:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-84850-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=molgen.mpg.de); spf=pass (google.com: domain of linux-kernel+bounces-84850-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-84850-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 DCA2E1F241C1 for ; Wed, 28 Feb 2024 11:05:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CB6C12C53A; Wed, 28 Feb 2024 11:05:11 +0000 (UTC) Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 51A5B7E577; Wed, 28 Feb 2024 11:05:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=141.14.17.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709118311; cv=none; b=AmP/rm1NsdH9a7FDc22FHgq/JJ2A7IO1TL/BnQ/3DaTuElseFQKA0rCN+iX/DP9AY/e0pLF7tn61Fr8d/3q1QV9v/gOTwBNtPzNiHaGmyNlSxRSxvx+iXzeuD5IARP8UQ2r/3qhAucztV0dS0rPQ3kqL5lNMLOY9wY5OHukwxQg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709118311; c=relaxed/simple; bh=8NK4irqoUtZNeA9ilQS8XOvOEpho8tVdwBHh1QuXj1o=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=WkGc9mNBfRdhZtaJqOfVf/vRn5He2YXHW8VE9smjtwMM+QNqAWj+/yjuxAsORLGP1DAnhFW3nprsQDaqgGWMCB32yLEXIBDN6i77d0vdHLLi+nJJ4jV8aWnBh3TDKQOMdEqO2dOxKPWNtT79a48MRS66p/J8crBS6izhEyBWP5E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de; spf=pass smtp.mailfrom=molgen.mpg.de; arc=none smtp.client-ip=141.14.17.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=molgen.mpg.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=molgen.mpg.de Received: from [192.168.0.53] (ip5f5aedb1.dynamic.kabel-deutschland.de [95.90.237.177]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 8347861E5FE05; Wed, 28 Feb 2024 12:03:57 +0100 (CET) Message-ID: Date: Wed, 28 Feb 2024 12:03:56 +0100 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 v4 3/3] hwmon: Driver for Nuvoton NCT7363Y Content-Language: en-US To: Guenter Roeck Cc: Ban Feng , jdelvare@suse.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, corbet@lwn.net, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, kcfeng0@nuvoton.com, kwliu@nuvoton.com, openbmc@lists.ozlabs.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, DELPHINE_CHIU@wiwynn.com, naresh.solanki@9elements.com, billy_tsai@aspeedtech.com References: <20240227005606.1107203-1-kcfeng0@nuvoton.com> <20240227005606.1107203-4-kcfeng0@nuvoton.com> <62f38808-7d5f-4466-a65e-b6a64b2e7c01@molgen.mpg.de> <4b06d535-6739-47b5-ad1e-0ff94322620e@roeck-us.net> From: Paul Menzel In-Reply-To: <4b06d535-6739-47b5-ad1e-0ff94322620e@roeck-us.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Dear Guenter, Am 28.02.24 um 10:03 schrieb Guenter Roeck: > On 2/27/24 23:57, Paul Menzel wrote: >> Am 27.02.24 um 01:56 schrieb baneric926@gmail.com: >>> From: Ban Feng >>> >>> NCT7363Y is an I2C based hardware monitoring chip from Nuvoton. >> >> Please reference the datasheet. > > Note that something like > > Datasheet: Available from Nuvoton upon request > > is quite common for hardware monitoring chips and acceptable. Yes, it would be nice to document it though. (And finally for vendors to just make them available for download.) >> Could you please give a high level description of the driver design? > > Can you be more specific ? I didn't have time yet to look into details, > but at first glance this looks like a standard hardware monitoring driver. > One could argue that the high level design of such drivers is described > in Documentation/hwmon/hwmon-kernel-api.rst. > > I don't usually ask for a additional design information for hwmon drivers > unless some chip interaction is unusual and needs to be explained, > and then I prefer to have it explained in the code. Given that, I am > quite curious and would like to understand what you are looking for. For a 10+ lines commit, in my opinion the commit message should say something about the implementation. Even it is just, as you wrote, a note, that it follows the standard design. Kind regards, Paul