From: Guenter Roeck <linux@roeck-us.net>
To: "Álvaro Fernández Rojas" <noltari@gmail.com>,
jdelvare@suse.com, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, corbet@lwn.net, linux-hwmon@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org
Subject: Re: [PATCH v3 3/3] drivers: hwmon: add EMC2101 driver
Date: Wed, 16 Jul 2025 18:30:31 -0700 [thread overview]
Message-ID: <eeca688d-e429-4752-844b-031ce6b8e982@roeck-us.net> (raw)
In-Reply-To: <e02cda3e-799f-42bc-8651-108a258b3d85@roeck-us.net>
On 7/16/25 09:05, Guenter Roeck wrote:
> On 7/9/25 09:48, Álvaro Fernández Rojas wrote:
>> The Microchip EMC2101 is a SMBus 2.0 fan controller with temperature
>> monitoring.
>> It supports up to 1 fan, 1 internal temperature sensor, 1 external
>> temperature sensor and an 8 entry look up table to create a
>> programmable temperature response.
>>
>> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
>
> This looks very much like a clone of LM63. Why does it warrant a new driver ?
>
I had another look at the two chips. EMC2101 is indeed - with a few exceptions -
almost identical to LM63. There are minor differences; for example, EMC2101 does
not (or not officially) support temperature offset registers. That does not
warrant a separate driver.
Please add support for EMC2101 to the lm63 driver. If you like, feel free
to "modernize" the lm63 driver to use the with_info API and/or to use regmap,
but a separate driver for what is essentially the same chip is not acceptable.
Thanks,
Guenter
prev parent reply other threads:[~2025-07-17 1:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-09 16:48 [PATCH v3 0/3] hwmon: add Microchip " Álvaro Fernández Rojas
2025-07-09 16:48 ` [PATCH v3 1/3] docs: hwmon: add emc2101.rst to docs Álvaro Fernández Rojas
2025-07-09 16:48 ` [PATCH v3 2/3] dt-bindings: hwmon: Add Microchip EMC2101 support Álvaro Fernández Rojas
2025-07-10 10:00 ` Krzysztof Kozlowski
2025-07-09 16:48 ` [PATCH v3 3/3] drivers: hwmon: add EMC2101 driver Álvaro Fernández Rojas
2025-07-16 16:05 ` Guenter Roeck
2025-07-17 1:30 ` Guenter Roeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eeca688d-e429-4752-844b-031ce6b8e982@roeck-us.net \
--to=linux@roeck-us.net \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=devicetree@vger.kernel.org \
--cc=jdelvare@suse.com \
--cc=krzk+dt@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=noltari@gmail.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®