From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=44.202.169.39 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795887767; b=L7e/dJfTyK5jSYIkQAcDNqCxKQlCBFHxUdVqt/x0sTwI9VcPVurw5em07yiO6UPX3w43 6c9g0c+AbVtUk1g6/N+KMYWhJeFo2vDgvDHjM/8DLzJLtchXQUI0wYIxHPVYF3fprcolH JotyhjDSo0C1ORMyUclcHg2WG3JN8HKBpJGLsFH2zc92smb91/XIZ60zMZI20n3yqOiXt jLhXUtwLztNmaFRpWhFKEzczW35k2na1UDuD+LAMfF8F3GRvifm27IdOOZg1BreOMdAvM PeXrs14oahgcmrVzyZjUysdENC17Clf5IxY8132KoXVtbejj+u3VX4s/aqHRcKibXyQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795887767; h=DMARC-Filter:Received:Received:X-Authority-Analysis:DKIM-Signature: Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To:X-AntiAbuse:X-AntiAbuse: X-AntiAbuse:X-AntiAbuse:X-AntiAbuse:X-BWhitelist:X-Source-IP: X-Source-L:X-Exim-ID:X-Source:X-Source-Args:X-Source-Dir: X-Source-Sender:X-Source-Auth:X-Email-Count:X-Org:X-Source-Cap: X-Local-Domain:X-CMAE-Envelope; bh=3y8o5rf93bMJe/qkYCNtnd/Fwl4nGibxk4LovORGw/E=; b=Cve1VyPr9jbKeBivTL2l/XhPCRxeKNPDyQQAJVIgqD4EI0WCdqbtlAqVBHgMzWcrue4/ QPcMKHgftyWEvPNsmrMWJjDLKvvNogELp0iRccgQ2Gd62wY7oSoX8Bh24qN4Q67IHSFVS boDWhMgtYr0RHJyaIVc68Vvp3jfCMEXABCOhadCmSYF4jS8VHVBaGKOwTFtARtvVtTVfo 1/j8+XjcO/pGQm+AvhqrH1IFLE5Vo60Hg6MZxDzRmOruXmvipdKtj0C5numvGi3gMLykk NLt1R1QqfHUZ3o2mCxvweFHU4keIHEnBs0pj0zvKZi5Jao6pFHjW9BeZzs7YD3M6esg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=roeck-us.net; spf=fail smtp.mailfrom=roeck-us.net; dkim=pass header.d=roeck-us.net header.i=@roeck-us.net header.a=rsa-sha256 header.s=default header.b=BIh0mmPW; arc=none smtp.remote-ip=44.202.169.39 Received: from omta040.useast.a.cloudfilter.net (omta040.useast.a.cloudfilter.net [44.202.169.39]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33298606A326 for ; Sat, 28 Nov 2026 17:42:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 33298606A326 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=roeck-us.net header.i=@roeck-us.net header.a=rsa-sha256 header.s=default header.b=BIh0mmPW Received: from eig-obgw-6005b.ext.cloudfilter.net ([10.0.30.162]) by cmsmtp with ESMTPS id X3z9xgPmZOOJnXMRixpr7S; Sat, 28 Nov 2026 17:42:46 +0000 Received: from 162-215-252-36.unifiedlayer.com ([208.91.199.152]) by cmsmtp with ESMTPS id XMRhxBtTd0288XMRhxDKDF; Sat, 28 Nov 2026 17:42:45 +0000 X-Authority-Analysis: v=2.4 cv=a5Iw9VSF c=1 sm=1 tr=0 ts=6b0b1295 a=QNED+QcLUkoL9qulTODnwA==:117 a=2cfIYNtKkjgZNaOwnGXpGw==:17 a=kj9zAlcOel0A:10 a=zJRp6_cAMcgA:10 a=M0FbrtG7MMAA:10 a=iox4zFpeAAAA:8 a=_jlGtV7tAAAA:8 a=jRv6SZqfwPPOu8Mw20sA:9 a=CjuIK1q_8ugA:10 a=WzC6qhA0u3u7Ye7llzcV:22 a=nlm17XC03S6CtCLSeiRr:22 a=KPbNTLLc3YvdawN95zVk:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=In-Reply-To:Content-Type:MIME-Version:References :Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding :Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Unsubscribe-Post:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3y8o5rf93bMJe/qkYCNtnd/Fwl4nGibxk4LovORGw/E=; b=BIh0mmPWzem1+G318kY6ef1+/C 5uk5PLZ2CEJ4JdNo5ZctwpMXv7J9MustqxNy4nGePPVd0xm4MR6WvNczK9hkXsNSU7Fl7iCWTzf9A ThEDA+CVbScVR1yRp99K+n2Tvo7je1G+oRM6Ou5hHamTaaBdHXuH/4/m5QVF76EoSWYpFPp0FqsFr +ClhcrWiAg1lSWZhviYKCCDIOAXCtwQg/C0f+t8gD+5/UMvriIfGHHBGefK0QIkVCMbraRRWBtAuB TovO7mcJEtk+dzbozXZlzzCZLyNgBVQhMBpq2DoQPyn7ghDi2K8pBRafe3JlTpqyK+3ELx1KoHfL1 wA0TUdoA==; Received: from 108-223-40-66.lightspeed.sntcca.sbcglobal.net ([108.223.40.66]:58802 helo=server.roeck-us.net) by bh-25.webhostbox.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.100.2) (envelope-from ) id 1xXMRh-000000007VH-0TSi; Sat, 28 Nov 2026 23:12:45 +0530 Date: Sat, 28 Nov 2026 09:42:44 -0800 From: Guenter Roeck To: Andrea della Porta Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Corbet , Shuah Khan , Randy Dunlap , linux-doc@vger.kernel.org, Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , linux-pwm@vger.kernel.org, Gary Guo Subject: Re: [PATCH v2 1/1] hwmon: Add driver for Raspberry Pi RP1 fan tachometer Message-ID: <0d047acc-7921-4482-a130-9c630cf3f1eb@roeck-us.net> References: <20261124173900.31266-1-andrea.porta@suse.com> <20261124173900.31266-2-andrea.porta@suse.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261124173900.31266-2-andrea.porta@suse.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - bh-25.webhostbox.net X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - roeck-us.net X-BWhitelist: no X-Source-IP: 108.223.40.66 X-Source-L: No X-Exim-ID: 1xXMRh-000000007VH-0TSi X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 108-223-40-66.lightspeed.sntcca.sbcglobal.net (server.roeck-us.net) [108.223.40.66]:58802 X-Source-Auth: guenter@roeck-us.net X-Email-Count: 17 X-Org: HG=direseller_whb_net_legacy;ORG=directi; X-Source-Cap: cm9lY2s7YWN0aXZzdG07YmgtMjUud2ViaG9zdGJveC5uZXQ= X-Local-Domain: yes X-CMAE-Envelope: MS4xfPQ65C2TaRJrVhkKwBh+aQ/uM5tUpV42hgTz81zO6HWCe5n1psnIzzFS1e2V+zzlxlXTLDC/rP4UEw1BY7F/4PABqsfT9wEx7gruv9LzjyMwRgIFKDJZ p8NxGXUy1YzaZxpDzO4JtCfmmF2EhHdwDD3M6k2S6X4UWIzB2Gs083quCFOpl1DZFXCDpCGS6bvtEIYabxU6MMemS5D6Ce1eni3dPeoYongNVqbbQCYQaPvY On Tue, Nov 24, 2026 at 06:39:00PM +0100, Andrea della Porta wrote: > Add a hardware monitoring driver to support the fan tachometer on the > Raspberry Pi RP1 southbridge, found on the Raspberry Pi 5. > > The RP1 PWM controller block contains an MMIO register that holds the > current fan speed in RPM. This register is periodically updated by the > RP1 internal firmware based on the tachometer pulses. > > The RP1 PWM driver registers a "fan" auxiliary device for the > tachometer. This driver binds to it as an auxiliary driver and reads > the RPM value through rp1_pwm_read_tachometer(), exported by the PWM > driver in the 'RP1_PWM' symbol namespace. Since the auxiliary device is > a child of the PWM controller, no Device Tree node is needed and the > lifetime of this driver is bound to the one of the PWM controller. > > Provides the standard hwmon sysfs attribute 'fan1_input'. > > Signed-off-by: Andrea della Porta Acked-by: Guenter Roeck I assume that the driver will be applied together with the changes introducing rp1_pwm_read_tachometer(). Guenter