From: arno@natisbad.org (Arnaud Ebalard)
To: Guenter Roeck <linux@roeck-us.net>
Cc: Simon Guinot <simon.guinot@sequanux.org>,
Andrew Lunn <andrew@lunn.ch>,
Russell King - ARM Linux <linux@arm.linux.org.uk>,
Jason Cooper <jason@lakedaemon.net>,
linux-doc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org,
Olivier Mouchet <olivier.mouchet@gmail.com>,
Rob Herring <rob.herring@calxeda.com>,
lm-sensors@lm-sensors.org,
Grant Likely <grant.likely@secretlab.ca>,
Rob Landley <rob@landley.net>, Jean Delvare <khali@linux-fr.org>,
Linux ARM Kernel Mailing List
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [lm-sensors] [PATCHv2 1/3] Add support for GMT G762/G763 PWM fan controller
Date: Sun, 02 Jun 2013 21:36:28 +0000 [thread overview]
Message-ID: <87ppw442lf.fsf@natisbad.org> (raw)
In-Reply-To: <20130602203553.GA7920@roeck-us.net> (Guenter Roeck's message of "Sun, 2 Jun 2013 13:35:53 -0700")
Hi Guenter,
Guenter Roeck <linux@roeck-us.net> writes:
> On Sun, Jun 02, 2013 at 05:45:58PM +0200, Arnaud Ebalard wrote:
>> Hi,
>>
>> >> I haven't noticed this issue while testing your v1 patch series because
>> >> at the time I was using a board with an U-Boot modified by LaCie. This
>> >> last sets the set_cnt register to 0 while U-Boot mainline don't.
>> >> Actually, the 2Big fan is not configured nor even started by U-Boot
>> >> mainline. I have to fix this but maybe that something can be done in
>> >> the g762 Linux driver too ?
>>
>> At the moment, DT bindings and platform_data structure both allow
>> setting an initial fan_target value. I could add a 'pwm' binding for DT
>> and an assoicated field in platform_data to allow passing an initial
>> value so that maintainers of platforms with a 2 wire fan (open loop) can
>> still make the fan somewhat rotate at boot.
>>
> Devicetree properties are supposed to describe the system, not its configuration.
> There are exceptions, but I don't recall seeing a case where a parameter
> can be set both with devicetree properties and sysfs attributes.
>
> Before going further on this, we will need to have an ack from devicetree
> maintainers which specifically permits your dual-configuration approach.
> Even with that, you'll still have convince me that you need both (while
> so far no other driver needed it).
If you are not convinced yet, what I can do is remove the code in question
in a v4 and work on remaining issues (e.g. platform data init, fan_target
and pwm1 access for closed-loop) based on your feedback. If during the
process or after inclusion of this minimal version someone brings new
arguments to add the code back, this should be fairly easy to do.
Thanks for your time and patience dealing with me.
Cheers,
a+
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
WARNING: multiple messages have this Message-ID (diff)
From: arno@natisbad.org (Arnaud Ebalard)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv2 1/3] Add support for GMT G762/G763 PWM fan controller
Date: Sun, 02 Jun 2013 23:36:28 +0200 [thread overview]
Message-ID: <87ppw442lf.fsf@natisbad.org> (raw)
In-Reply-To: <20130602203553.GA7920@roeck-us.net> (Guenter Roeck's message of "Sun, 2 Jun 2013 13:35:53 -0700")
Hi Guenter,
Guenter Roeck <linux@roeck-us.net> writes:
> On Sun, Jun 02, 2013 at 05:45:58PM +0200, Arnaud Ebalard wrote:
>> Hi,
>>
>> >> I haven't noticed this issue while testing your v1 patch series because
>> >> at the time I was using a board with an U-Boot modified by LaCie. This
>> >> last sets the set_cnt register to 0 while U-Boot mainline don't.
>> >> Actually, the 2Big fan is not configured nor even started by U-Boot
>> >> mainline. I have to fix this but maybe that something can be done in
>> >> the g762 Linux driver too ?
>>
>> At the moment, DT bindings and platform_data structure both allow
>> setting an initial fan_target value. I could add a 'pwm' binding for DT
>> and an assoicated field in platform_data to allow passing an initial
>> value so that maintainers of platforms with a 2 wire fan (open loop) can
>> still make the fan somewhat rotate at boot.
>>
> Devicetree properties are supposed to describe the system, not its configuration.
> There are exceptions, but I don't recall seeing a case where a parameter
> can be set both with devicetree properties and sysfs attributes.
>
> Before going further on this, we will need to have an ack from devicetree
> maintainers which specifically permits your dual-configuration approach.
> Even with that, you'll still have convince me that you need both (while
> so far no other driver needed it).
If you are not convinced yet, what I can do is remove the code in question
in a v4 and work on remaining issues (e.g. platform data init, fan_target
and pwm1 access for closed-loop) based on your feedback. If during the
process or after inclusion of this minimal version someone brings new
arguments to add the code back, this should be fairly easy to do.
Thanks for your time and patience dealing with me.
Cheers,
a+
WARNING: multiple messages have this Message-ID (diff)
From: arno@natisbad.org (Arnaud Ebalard)
To: Guenter Roeck <linux@roeck-us.net>
Cc: Simon Guinot <simon.guinot@sequanux.org>,
Andrew Lunn <andrew@lunn.ch>,
Russell King - ARM Linux <linux@arm.linux.org.uk>,
Jason Cooper <jason@lakedaemon.net>,
linux-doc@vger.kernel.org, devicetree-discuss@lists.ozlabs.org,
Olivier Mouchet <olivier.mouchet@gmail.com>,
Rob Herring <rob.herring@calxeda.com>,
lm-sensors@lm-sensors.org,
Grant Likely <grant.likely@secretlab.ca>,
Rob Landley <rob@landley.net>, Jean Delvare <khali@linux-fr.org>,
Linux ARM Kernel Mailing List
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCHv2 1/3] Add support for GMT G762/G763 PWM fan controller
Date: Sun, 02 Jun 2013 23:36:28 +0200 [thread overview]
Message-ID: <87ppw442lf.fsf@natisbad.org> (raw)
In-Reply-To: <20130602203553.GA7920@roeck-us.net> (Guenter Roeck's message of "Sun, 2 Jun 2013 13:35:53 -0700")
Hi Guenter,
Guenter Roeck <linux@roeck-us.net> writes:
> On Sun, Jun 02, 2013 at 05:45:58PM +0200, Arnaud Ebalard wrote:
>> Hi,
>>
>> >> I haven't noticed this issue while testing your v1 patch series because
>> >> at the time I was using a board with an U-Boot modified by LaCie. This
>> >> last sets the set_cnt register to 0 while U-Boot mainline don't.
>> >> Actually, the 2Big fan is not configured nor even started by U-Boot
>> >> mainline. I have to fix this but maybe that something can be done in
>> >> the g762 Linux driver too ?
>>
>> At the moment, DT bindings and platform_data structure both allow
>> setting an initial fan_target value. I could add a 'pwm' binding for DT
>> and an assoicated field in platform_data to allow passing an initial
>> value so that maintainers of platforms with a 2 wire fan (open loop) can
>> still make the fan somewhat rotate at boot.
>>
> Devicetree properties are supposed to describe the system, not its configuration.
> There are exceptions, but I don't recall seeing a case where a parameter
> can be set both with devicetree properties and sysfs attributes.
>
> Before going further on this, we will need to have an ack from devicetree
> maintainers which specifically permits your dual-configuration approach.
> Even with that, you'll still have convince me that you need both (while
> so far no other driver needed it).
If you are not convinced yet, what I can do is remove the code in question
in a v4 and work on remaining issues (e.g. platform data init, fan_target
and pwm1 access for closed-loop) based on your feedback. If during the
process or after inclusion of this minimal version someone brings new
arguments to add the code back, this should be fairly easy to do.
Thanks for your time and patience dealing with me.
Cheers,
a+
next prev parent reply other threads:[~2013-06-02 21:36 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-27 22:02 [lm-sensors] [PATCHv2 0/3] Add G762/G763 PWM fan controller Arnaud Ebalard
2013-05-27 22:02 ` Arnaud Ebalard
2013-05-27 22:02 ` Arnaud Ebalard
2013-05-27 22:03 ` [lm-sensors] [PATCHv2 1/3] Add support for GMT " Arnaud Ebalard
2013-05-27 22:03 ` Arnaud Ebalard
2013-05-27 22:03 ` Arnaud Ebalard
2013-05-31 22:16 ` [lm-sensors] " Simon Guinot
2013-05-31 22:16 ` Simon Guinot
2013-05-31 22:16 ` Simon Guinot
2013-06-01 17:26 ` [lm-sensors] " Arnaud Ebalard
2013-06-01 17:26 ` Arnaud Ebalard
2013-06-01 17:26 ` Arnaud Ebalard
2013-06-02 15:45 ` [lm-sensors] " Arnaud Ebalard
2013-06-02 15:45 ` Arnaud Ebalard
2013-06-02 15:45 ` Arnaud Ebalard
2013-06-02 20:35 ` [lm-sensors] " Guenter Roeck
2013-06-02 20:35 ` Guenter Roeck
2013-06-02 20:35 ` Guenter Roeck
2013-06-02 21:36 ` Arnaud Ebalard [this message]
2013-06-02 21:36 ` Arnaud Ebalard
2013-06-02 21:36 ` Arnaud Ebalard
2013-06-02 21:59 ` [lm-sensors] " Simon Guinot
2013-06-02 21:59 ` Simon Guinot
2013-06-02 21:59 ` Simon Guinot
2013-06-04 6:52 ` [lm-sensors] " Arnaud Ebalard
2013-06-04 6:52 ` Arnaud Ebalard
2013-06-04 6:52 ` Arnaud Ebalard
2013-06-04 21:23 ` [lm-sensors] " Simon Guinot
2013-06-04 21:23 ` Simon Guinot
2013-06-04 21:23 ` Simon Guinot
2013-06-11 15:15 ` [lm-sensors] " Guenter Roeck
2013-06-11 15:15 ` Guenter Roeck
2013-06-11 15:15 ` Guenter Roeck
2013-06-15 16:13 ` [lm-sensors] " Arnaud Ebalard
2013-06-15 16:13 ` Arnaud Ebalard
2013-06-15 16:13 ` Arnaud Ebalard
2013-06-04 6:51 ` [lm-sensors] " Arnaud Ebalard
2013-06-04 6:51 ` Arnaud Ebalard
2013-06-04 6:51 ` Arnaud Ebalard
2013-06-01 14:33 ` [lm-sensors] " Guenter Roeck
2013-06-01 14:33 ` Guenter Roeck
2013-06-01 14:33 ` Guenter Roeck
2013-06-02 15:39 ` [lm-sensors] " Arnaud Ebalard
2013-06-02 15:39 ` Arnaud Ebalard
2013-06-02 15:39 ` Arnaud Ebalard
2013-05-27 22:03 ` [lm-sensors] [PATCHv2 2/3] Add documentation for g762 driver Arnaud Ebalard
2013-05-27 22:03 ` Arnaud Ebalard
2013-05-27 22:03 ` Arnaud Ebalard
2013-05-27 22:03 ` [lm-sensors] [PATCHv2 3/3] Add DT bindings " Arnaud Ebalard
2013-05-27 22:03 ` Arnaud Ebalard
2013-05-27 22:03 ` Arnaud Ebalard
2013-05-27 22:15 ` [lm-sensors] [PATCHv2 0/3] Add G762/G763 PWM fan controller Arnd Bergmann
2013-05-27 22:15 ` Arnd Bergmann
2013-05-27 22:15 ` Arnd Bergmann
2013-05-28 10:15 ` [lm-sensors] " Arnaud Ebalard
2013-05-28 10:15 ` Arnaud Ebalard
2013-05-28 10:15 ` Arnaud Ebalard
2013-05-28 11:19 ` [lm-sensors] " Thierry Reding
2013-05-28 11:19 ` Thierry Reding
2013-05-28 11:19 ` Thierry Reding
2013-05-28 12:29 ` [lm-sensors] " Guenter Roeck
2013-05-28 12:29 ` Guenter Roeck
2013-05-28 12:29 ` Guenter Roeck
2013-05-28 13:47 ` [lm-sensors] " Thierry Reding
2013-05-28 13:47 ` Thierry Reding
2013-05-28 13:47 ` Thierry Reding
2013-05-28 15:42 ` [lm-sensors] " Guenter Roeck
2013-05-28 15:42 ` Guenter Roeck
2013-05-28 15:42 ` Guenter Roeck
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=87ppw442lf.fsf@natisbad.org \
--to=arno@natisbad.org \
--cc=andrew@lunn.ch \
--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=linux@roeck-us.net \
--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 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.