Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7729923rwn; Wed, 14 Sep 2022 03:40:41 -0700 (PDT) X-Google-Smtp-Source: AA6agR4mYR0tspLaGQ28XeGNDgoRaFwsAtBwWp52kPXl2d4Qc4vl8IQQQ/pTRH1S9iQbUZWOnvak X-Received: by 2002:a17:907:9718:b0:77b:45b6:b047 with SMTP id jg24-20020a170907971800b0077b45b6b047mr9836361ejc.479.1663152041719; Wed, 14 Sep 2022 03:40:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663152041; cv=none; d=google.com; s=arc-20160816; b=RPFGJUhQLbIs8FlC3HOnbV5xvP6i2VnbTLlwueVFh1eSbYSNQY3WTkDRsyyCZkWOx4 O22oQe/onkLF4s1swT7vU+iV3mJpe8qqNEVzCyCxYMNuGANorVuHus4Bttgpd2qmhsHc A3m2gPys04bwPRpsogRnVC1q9vxfFValZSIukZayePC6zKwJBxWDWeHjhq0PAOSAgbNR PFKbVaapVD1BZ0r9bQyyCaz0iMEiSO0ZNyqcPJPdNe5ApFBZBSOUxbGDOQ3yaNF91GgZ wFBGPtdiliSZ2OHUw5ILkR/2P1B2uyo9jbV1SFQ8IUtpdDlkmADriKt2WKSsT+3rp9NC cLkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=4G22fVvk8WenHj+MqQ5LUF2d/Do37iHoErDy2LmjSsI=; b=Ix6a3mp/0oOJr/xul333lSXmmLgxOWf6dpaJ/0PzyhRH0uocoH6LeIn45fvyYAbubl yj2n92IjHgNp9Vf57NkgB1KvLyzBbi0tuSc+06AdY9C1/R1WRcYG5gvOcj92NITFVYIM xjZaIb8mV4QgOLPb+Fe6dIxH0AOaDUkGWIPrLvfJle1vy73xwaB128OVqBK0F7jzKmud yT6haEep+li16Ir371cfVya5VRL6R1V74ckqxxMGmhG0lYjOWPYBAzxjENiE4C1VCUoI Khy+IQGiyOEK/tHNlefSUKNbuwE0mkRfdEgdygtt3IT12IXHbQFoV0gfM+vJE8skz/FQ dLrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@traverse.com.au header.s=fm1 header.b=WoXoLduZ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="uX4R/6iT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w26-20020a170906b19a00b007721f88d3e0si9498491ejy.554.2022.09.14.03.40.14; Wed, 14 Sep 2022 03:40:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@traverse.com.au header.s=fm1 header.b=WoXoLduZ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b="uX4R/6iT"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229877AbiINKYz (ORCPT + 99 others); Wed, 14 Sep 2022 06:24:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229936AbiINKYh (ORCPT ); Wed, 14 Sep 2022 06:24:37 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F2201A3B8; Wed, 14 Sep 2022 03:24:34 -0700 (PDT) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 158B75C012E; Wed, 14 Sep 2022 06:24:32 -0400 (EDT) Received: from imap41 ([10.202.2.91]) by compute4.internal (MEProxy); Wed, 14 Sep 2022 06:24:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=traverse.com.au; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1663151072; x=1663237472; bh=4G 22fVvk8WenHj+MqQ5LUF2d/Do37iHoErDy2LmjSsI=; b=WoXoLduZdD0A/zwR2u F46C3h7JVMPJNFXf7tyKpug5kWyz8WwHCuy1S9+AAQISvWBuGV6oIf4mnonUNnSJ RK71YHXZ5RC6vMoEOk8OraLcQn9KODZ+61uVg+haHZYzsNRVHWXfcN+3NfL5KNrb 29kCiA1vNH+n1ChV86KToIfj7vFFImX2oyeWmTpZ/Eu/1Cl+qOISo/uqcNV3AFDy wZg6ChwVRc6rp+wYwGAuSGMIxLpiZAG82acbER4k9RsNv2//o0j2rbA+JsT6KwoU SuO+V9Zg7TWoZe/NA2zWk/+Ra1C7wAAkeGqacQ/00m1qE8JcyAATlMfPcm+vvBKr JsFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1663151072; x=1663237472; bh=4G22fVvk8WenHj+MqQ5LUF2d/Do3 7iHoErDy2LmjSsI=; b=uX4R/6iTXxay5Hge23f5YU/fR9kYxTndXlKGC4xHhUOh BELyAlklBKr0mTi7nBDpbJydLAn8ccuSBhozuaw1mcKXlFgeNbiD6lvV9I4VrvQ9 abtaDXajji36BoPrMg5C1FW9k+aTgoKuvYE6ziwN4xvqJ66VU6iDWOo3GVcX8s6G 6454HfSLZmZDUfvL0DU8nzDRbenGsle9h7if+bbn9SMlrhuna0kWY3fqHqfBN7Hr tGkJDrfqMf50ob/5kiTmoljtafjiVhl3vDmDStc73edCwvZvDtlpeAV/c0izckZU Y8u9wErp333iTByZXgQ3s/Pe9wYuVAETtFClAvdcCw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeduiedgvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvvefutgesth dtredtreertdenucfhrhhomhepfdforghthhgvficuofgtuehrihguvgdfuceomhgrthht sehtrhgrvhgvrhhsvgdrtghomhdrrghuqeenucggtffrrghtthgvrhhnpeejtdejffelke ekueekueegteevjeeljeekkeffieeiudeiffeltedvkeelkeevgeenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghtthesthhrrghvvghrsh gvrdgtohhmrdgruh X-ME-Proxy: Feedback-ID: i426947f3:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id C85B9234007E; Wed, 14 Sep 2022 06:24:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-934-g6274855a4c-fm-20220913.002-g6274855a Mime-Version: 1.0 Message-Id: <7c1c705f-65b4-47d3-afae-68e70b85ab3b@www.fastmail.com> In-Reply-To: <20220914101207.GA938301@roeck-us.net> References: <20220914053030.8929-1-matt@traverse.com.au> <20220914101207.GA938301@roeck-us.net> Date: Wed, 14 Sep 2022 20:24:12 +1000 From: "Mathew McBride" To: "Guenter Roeck" Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] hwmon: add Microchip EMC230X fan controller driver Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,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: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 14, 2022, at 8:12 PM, Guenter Roeck wrote: > On Wed, Sep 14, 2022 at 05:30:27AM +0000, Mathew McBride wrote: > > The Microchip EMC230X (formerly made by SMSC) family of fan controllers > > provide PWM control for up to 5 fans (in the EMC2305). The EMC230X is > > capable of maintaining (closed-loop) a target RPM speed through PWM. > > > > This driver has been tested with the EMC2301 (on our Traverse Ten64 > > appliance) and with the EMC2305 demo board (ADM00879). > > > > The driver is by no means complete, for example, further work would > > be required to support the different PWM output frequencies for > > voltage-based fan speed control. (So far this driver has only been > > tested with direct PWM capable fans, like the 4 pin fans found > > in recent PCs) > > > > The emc230x driver also has thermal subsystem integration which allows > > the emc230x-controlled fan(s) to be used as cooling devices. > > I just accepted a driver or emc2301/2/3/5. Please submit improvements > on top of that driver if needed; we won't have competing drivers > for the same chip in the kernel, and replacing a just accepted driver > smply does not make any sense. My apologies, I was unaware of the separate effort! Mine has been out of tree for a long time and I finally had time to work on it recently. There are several changes I can see that need to be made to the accepted one to work for our usecase. > Guenter >