linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] lm75: add lm75b detection
@ 2019-10-28 11:37 Rain Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Rain Wang @ 2019-10-28 11:37 UTC (permalink / raw)
  To: Jean Delvare; +Cc: Guenter Roeck, linux-kernel, linux-hwmon

> Please send hwmon-related patches to the linux-hwmon list.

Sure, will do in future.

> I'm positively certain I don't want this. Ideally there should be no
> detection at all for device without ID registers. The only reason there
> are some occurrences of that is because there were no way to explicitly
> instantiate I2C devices back then, and we have left the detection in
> place to avoid perceived regressions. But today there are plenty of
> ways to explicitly instantiate your I2C devices so there are no excuses
> for more crappy detect functions. Ideally we would even get rid of
> existing ones at some point in the future.

I understand the concern, but there could be scenarios device tree doesn't
apply while some dynamic detection is still a valid requirement, not sure
maybe I'm wrong from beginning.

> This patch is bad anyway as it only changes the device name without
> implementing proper support for the LM75B.

This is only change we made just have our Intel C1516 board with LM75B sensor
working anyway, while majority common features of LM75 just work.

Regards
Rain

^ permalink raw reply	[flat|nested] 4+ messages in thread
[parent not found: <20191026081049.GA16839@rainw-fedora28-jabil.corp.JABIL.ORG>]

end of thread, other threads:[~2019-11-07  6:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-28 11:37 [PATCH] lm75: add lm75b detection Rain Wang
     [not found] <20191026081049.GA16839@rainw-fedora28-jabil.corp.JABIL.ORG>
     [not found] ` <7a2ddf42-8bbe-59e0-dae8-85b184ea0da0@roeck-us.net>
2019-10-28  9:46   ` Jean Delvare
2019-10-29 14:02     ` Guenter Roeck
2019-11-07  6:18       ` Rain Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).