From: Guenter Roeck <linux@roeck-us.net>
To: Arnaud Ebalard <arno@natisbad.org>
Cc: Jean Delvare <khali@linux-fr.org>,
Grant Likely <grant.likely@secretlab.ca>,
Rob Herring <rob.herring@calxeda.com>,
lm-sensors@lm-sensors.org, devicetree-discuss@lists.ozlabs.org,
Rob Landley <rob@landley.net>,
linux-doc@vger.kernel.org,
Linux ARM Kernel Mailing List
<linux-arm-kernel@lists.infradead.org>,
Russell King - ARM Linux <linux@arm.linux.org.uk>,
Andrew Lunn <andrew@lunn.ch>, Jason Cooper <jason@lakedaemon.net>,
Simon Guinot <simon.guinot@sequanux.org>,
Olivier Mouchet <olivier.mouchet@gmail.com>
Subject: Re: [PATCHv3 0/3] Add G762/G763 PWM fan controller
Date: Sun, 2 Jun 2013 19:30:53 -0700 [thread overview]
Message-ID: <20130603023053.GA11723@roeck-us.net> (raw)
In-Reply-To: <cover.1370202835.git.arno@natisbad.org>
On Sun, Jun 02, 2013 at 10:14:05PM +0200, Arnaud Ebalard wrote:
> Hi,
>
> This series adds support for GMT G762/G763. This work is based on a
> basic version for 2.6.31 kernel developed Olivier Mouchet for LaCie
> NAS. Updates have been performed to run on recent kernels. Support has
> been completed and additional features added: ability to configure
> various characteristics from .dts file, better initialization, alarms
> and error reporting support, gear mode, polarity, fan pulse per
> revolution, fan startup voltage control. The following detailed
> datasheet has been used as a basis for this work:
>
> http://natisbad.org/NAS/refs/GMT_EDS-762_763-080710-0.2.pdf
>
> The patch was developed for and tested against the GMT G762 fan
> controller used in a Netgear ReadyNAS Duo v2 (kirkwood 88F6282-based
> NAS). This is the main reason for the device tree bindings provided in
> first patch. The driver also support init via board file. The patches
> are against current ARM tree; tell me if you need me to rebase it
> against something else. Patch 2 and 3 provides documentation for the
> driver and DT bindings, respectively.
>
> As discussed in a previous email:
>
> - A macro is defined to pass values of platform data structure in
> board setup files. If one has a better approach ...
> - This v3 still has support for pwm1 sysfs entry in closed-loop mode.
> Guenter, if you still think it is a bad idea, I will change that
> in v4.
>
If you want me to accept your code, I would suggest to change it such that
pwm1 sets the FAN_SET_OUT register, and fan1_target sets the SET_CNT register,
both unconditionally. Redefining the pwm1 attribute to set the fan target
speed instead of a pwm / voltage value is not acceptable.
> note: this should not be an issue but this v3 is based on
> jcooper/mvebu/fixes branch.
>
I don't know about this branch/repository. If there are hwmon fixes in it,
they should be submitted to the lm-sensors mailing list.
Thanks,
Guenter
next prev parent reply other threads:[~2013-06-03 2:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-02 20:14 [PATCHv3 0/3] Add G762/G763 PWM fan controller Arnaud Ebalard
2013-06-02 20:14 ` [PATCHv3 1/3] Add support for GMT " Arnaud Ebalard
2013-06-03 2:34 ` Guenter Roeck
2013-06-04 6:54 ` Arnaud Ebalard
2013-06-02 20:14 ` [PATCHv3 2/3] Add documentation for g762 driver Arnaud Ebalard
2013-06-02 20:14 ` [PATCHv3 3/3] Add DT bindings " Arnaud Ebalard
2013-06-03 2:30 ` Guenter Roeck [this message]
[not found] ` <20130603023053.GA11723-0h96xk9xTtrk1uMJSBkQmQ@public.gmane.org>
2013-06-03 14:15 ` [PATCHv3 0/3] Add G762/G763 PWM fan controller Jason Cooper
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=20130603023053.GA11723@roeck-us.net \
--to=linux@roeck-us.net \
--cc=andrew@lunn.ch \
--cc=arno@natisbad.org \
--cc=devicetree-discuss@lists.ozlabs.org \
--cc=grant.likely@secretlab.ca \
--cc=jason@lakedaemon.net \
--cc=khali@linux-fr.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=lm-sensors@lm-sensors.org \
--cc=olivier.mouchet@gmail.com \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
--cc=simon.guinot@sequanux.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;
as well as URLs for NNTP newsgroup(s).