From: Roland Stigge <roland.stigge@work-microwave.de>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [PATCH] Added driver for Maxim MAX6639
Date: Wed, 19 Jan 2011 16:30:03 +0000 [thread overview]
Message-ID: <4D37118B.4030504@work-microwave.de> (raw)
In-Reply-To: <1295361711-4638-1-git-send-email-stigge@antcom.de>
Hi!
On 01/18/2011 05:31 PM, Guenter Roeck wrote:
>> Signed-off-by: Roland Stigge <stigge@antcom.de>
>>
> Bunch of comments below. This is not a complete review; the driver will need
> some cleanup to enable that.
Thanks for your notes!
I took the max6639.c from He Changqing of semptian.net. Extended and
cleaned it up quite a bit, but surely it was still not enough.
Will send the updated version in a separate patch mail where I
considered all your suggestions.
fan_div in the register and maintained separately is a bit tricky. You
have it in Register 0x24. But also, you have a ratio between "selected
pulses per revolution" and "actual ppr", see page 14, table 7, in the
datasheet. I guess He Changqing tried to model this in the initial
semptian.net version of the driver by handling fan_div independently
from the reg. For now, I'm moving fan_div to platform_data's ppr (pulses
per rotation), because it doesn't fit our sysfs' fan_div definition
(powers of two).
In a future update, I can try to adjust the fan rpm range automatically.
Still need a robust strategy because we need to guard against hardware
failures (what this interface is about in the first place). Also doing
via platform_data's rpm_range for now.
Thanks in advance!
Roland
--
Dipl.-Inf. Roland Stigge
SATCOM Technologies
**********************************************************
WORK Microwave GmbH
Raiffeisenstrasse 12
83607 Holzkirchen
Germany
Tel: +49 8024 6408-0
Fax: +49 8024 6408-40
roland.stigge@work-microwave.de
http://www.work-microwave.de./
Gesch채ftsf체hrer / Managing Directors:
Dr. Andreas Hausotter (CEO), Dr. G체nter Prokoph (CTO)
Sitz / Reg. Office: Holzkirchen, Germany
Reg. HRB M체nchen Nr. 79479
ISO 9001:2008 certificate
This message and any attachments may contain confidential information
and must not be disclosed to a third party without the prior written
consent of Work Microwave GmbH, Germany.
If you have received it erroneously, please discard it and contact us by
return.
**********************************************************
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2011-01-19 16:30 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-18 14:41 [lm-sensors] [PATCH] Added driver for Maxim MAX6639 stigge
2011-01-18 16:31 ` Guenter Roeck
2011-01-19 16:29 ` stigge
2011-01-19 16:30 ` Roland Stigge [this message]
2011-01-19 18:11 ` Guenter Roeck
2011-01-20 11:00 ` stigge
2011-01-20 11:01 ` Roland Stigge
2011-01-20 15:57 ` Guenter Roeck
2011-01-20 17:43 ` Roland Stigge
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=4D37118B.4030504@work-microwave.de \
--to=roland.stigge@work-microwave.de \
--cc=lm-sensors@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.