From: Simon Guinot <simon.guinot@sequanux.org>
To: Guenter Roeck <linux@roeck-us.net>
Cc: Arnaud Ebalard <arno@natisbad.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] [PATCHv1 1/3] hwmon: Add support for GMT G762/G763 PWM fan controller
Date: Thu, 25 Apr 2013 10:14:50 +0000 [thread overview]
Message-ID: <20130425101450.GD17771@kw.sim.vm.gnt> (raw)
In-Reply-To: <20130424224731.GB7767@roeck-us.net>
[-- Attachment #1.1: Type: text/plain, Size: 2901 bytes --]
On Wed, Apr 24, 2013 at 03:47:31PM -0700, Guenter Roeck wrote:
> On Wed, Apr 24, 2013 at 10:28:47PM +0200, Arnaud Ebalard wrote:
> > Hi,
> >
> > Guenter Roeck <linux@roeck-us.net> writes:
> >
> > >> > You could consider using regmap for holding this cache.
> > >> >
> > >> > http://elceurope2012.sched.org/event/100619b669ce5767341624253aa03659?iframe=no&w=900&sidebar=yes&bg=no#.UXdspHLQ5jM
> > >> >
> > >> > http://elinux.org/ELCE_Europe_2012_Presentations
> > >>
> > >> Interesting. As I am not yet familiar w/ regmap I would prefer having
> > >> the driver accepted during merge window with current data structure and
> > >> then convert it to regmap. But I will take a look (e.g. will study
> > >> fca1dd03 for instance). Thanks for the pointers.
> > >>
> > > I have not had time for a detailed review, but adding regmap support
> > > will not be a requirement.
> > >
> > > Note that it is too late for 3.10, so the driver will have to wait for
> > > 3.11.
> >
> > Well, I think I can live with it; The only bad thing is that it kills my
> > excuses not to spend time on regmap ;-)
> >
> Your call.
>
> >
> > >> >> +/*
> > >> >> + * Helpers to import hardware characteristics from .dts file and overload
> > >> >> + * default config values.
> > >> >> + */
> > >> >> +
> > >> >> +#ifdef CONFIG_OF
> > >> >
> > >> > Can the driver be used without device tree? Would it be simpler to
> > >> > just add depends OF in the Kconfig entry?
> > >>
> > >> It can be used if the default params (or those configured by u-boot I
> > >> guess) fit your needs. I think it would be fairly easy to extend the
> > >> driver later to expose g762_config struct to allow parameters to be set
> > >> w/o using OF. If someone wants to do that, I think it is better to not
> > >> depend on OF in Kconfig at the moment but I have not strong argument
> > >> other that that one. I'll let you decide.
> > >>
> > > Agreed. As long as there are major platforms not supporting device tree,
> > > and as long as device tree overlays are not supported, it must not be made
> > > mandatory. Especially for I2C and SPI devices I reserve the right to be able
> > > test the hardware on an X86 system and not require a reboot to do so.
> >
> > Understood. Following Simon's post, I think it's useful to implement
> > some init function for non DT-enabled platforms.
> >
> Sure, as long as Simon commits to test it and - if possible - to provide
> the necessary platform code.
Hi Guenter,
I commit to do whatever needed to have g762 support on the 2Big Network
v2 and 2Big NAS boards.
But note that I am can't test the options "pwm_enable" and "fan_target".
As we are using a two wire fan on this boards, this options are not
relevant.
Moreover except for the out_mode/pwm_mode setting, I am rather happy
with the default configuration.
Simon
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 153 bytes --]
_______________________________________________
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: simon.guinot@sequanux.org (Simon Guinot)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCHv1 1/3] hwmon: Add support for GMT G762/G763 PWM fan controller
Date: Thu, 25 Apr 2013 12:14:50 +0200 [thread overview]
Message-ID: <20130425101450.GD17771@kw.sim.vm.gnt> (raw)
In-Reply-To: <20130424224731.GB7767@roeck-us.net>
On Wed, Apr 24, 2013 at 03:47:31PM -0700, Guenter Roeck wrote:
> On Wed, Apr 24, 2013 at 10:28:47PM +0200, Arnaud Ebalard wrote:
> > Hi,
> >
> > Guenter Roeck <linux@roeck-us.net> writes:
> >
> > >> > You could consider using regmap for holding this cache.
> > >> >
> > >> > http://elceurope2012.sched.org/event/100619b669ce5767341624253aa03659?iframe=no&w=900&sidebar=yes&bg=no#.UXdspHLQ5jM
> > >> >
> > >> > http://elinux.org/ELCE_Europe_2012_Presentations
> > >>
> > >> Interesting. As I am not yet familiar w/ regmap I would prefer having
> > >> the driver accepted during merge window with current data structure and
> > >> then convert it to regmap. But I will take a look (e.g. will study
> > >> fca1dd03 for instance). Thanks for the pointers.
> > >>
> > > I have not had time for a detailed review, but adding regmap support
> > > will not be a requirement.
> > >
> > > Note that it is too late for 3.10, so the driver will have to wait for
> > > 3.11.
> >
> > Well, I think I can live with it; The only bad thing is that it kills my
> > excuses not to spend time on regmap ;-)
> >
> Your call.
>
> >
> > >> >> +/*
> > >> >> + * Helpers to import hardware characteristics from .dts file and overload
> > >> >> + * default config values.
> > >> >> + */
> > >> >> +
> > >> >> +#ifdef CONFIG_OF
> > >> >
> > >> > Can the driver be used without device tree? Would it be simpler to
> > >> > just add depends OF in the Kconfig entry?
> > >>
> > >> It can be used if the default params (or those configured by u-boot I
> > >> guess) fit your needs. I think it would be fairly easy to extend the
> > >> driver later to expose g762_config struct to allow parameters to be set
> > >> w/o using OF. If someone wants to do that, I think it is better to not
> > >> depend on OF in Kconfig at the moment but I have not strong argument
> > >> other that that one. I'll let you decide.
> > >>
> > > Agreed. As long as there are major platforms not supporting device tree,
> > > and as long as device tree overlays are not supported, it must not be made
> > > mandatory. Especially for I2C and SPI devices I reserve the right to be able
> > > test the hardware on an X86 system and not require a reboot to do so.
> >
> > Understood. Following Simon's post, I think it's useful to implement
> > some init function for non DT-enabled platforms.
> >
> Sure, as long as Simon commits to test it and - if possible - to provide
> the necessary platform code.
Hi Guenter,
I commit to do whatever needed to have g762 support on the 2Big Network
v2 and 2Big NAS boards.
But note that I am can't test the options "pwm_enable" and "fan_target".
As we are using a two wire fan on this boards, this options are not
relevant.
Moreover except for the out_mode/pwm_mode setting, I am rather happy
with the default configuration.
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130425/fdf1f927/attachment-0001.sig>
WARNING: multiple messages have this Message-ID (diff)
From: Simon Guinot <simon.guinot@sequanux.org>
To: Guenter Roeck <linux@roeck-us.net>
Cc: Arnaud Ebalard <arno@natisbad.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: [PATCHv1 1/3] hwmon: Add support for GMT G762/G763 PWM fan controller
Date: Thu, 25 Apr 2013 12:14:50 +0200 [thread overview]
Message-ID: <20130425101450.GD17771@kw.sim.vm.gnt> (raw)
In-Reply-To: <20130424224731.GB7767@roeck-us.net>
[-- Attachment #1: Type: text/plain, Size: 2901 bytes --]
On Wed, Apr 24, 2013 at 03:47:31PM -0700, Guenter Roeck wrote:
> On Wed, Apr 24, 2013 at 10:28:47PM +0200, Arnaud Ebalard wrote:
> > Hi,
> >
> > Guenter Roeck <linux@roeck-us.net> writes:
> >
> > >> > You could consider using regmap for holding this cache.
> > >> >
> > >> > http://elceurope2012.sched.org/event/100619b669ce5767341624253aa03659?iframe=no&w=900&sidebar=yes&bg=no#.UXdspHLQ5jM
> > >> >
> > >> > http://elinux.org/ELCE_Europe_2012_Presentations
> > >>
> > >> Interesting. As I am not yet familiar w/ regmap I would prefer having
> > >> the driver accepted during merge window with current data structure and
> > >> then convert it to regmap. But I will take a look (e.g. will study
> > >> fca1dd03 for instance). Thanks for the pointers.
> > >>
> > > I have not had time for a detailed review, but adding regmap support
> > > will not be a requirement.
> > >
> > > Note that it is too late for 3.10, so the driver will have to wait for
> > > 3.11.
> >
> > Well, I think I can live with it; The only bad thing is that it kills my
> > excuses not to spend time on regmap ;-)
> >
> Your call.
>
> >
> > >> >> +/*
> > >> >> + * Helpers to import hardware characteristics from .dts file and overload
> > >> >> + * default config values.
> > >> >> + */
> > >> >> +
> > >> >> +#ifdef CONFIG_OF
> > >> >
> > >> > Can the driver be used without device tree? Would it be simpler to
> > >> > just add depends OF in the Kconfig entry?
> > >>
> > >> It can be used if the default params (or those configured by u-boot I
> > >> guess) fit your needs. I think it would be fairly easy to extend the
> > >> driver later to expose g762_config struct to allow parameters to be set
> > >> w/o using OF. If someone wants to do that, I think it is better to not
> > >> depend on OF in Kconfig at the moment but I have not strong argument
> > >> other that that one. I'll let you decide.
> > >>
> > > Agreed. As long as there are major platforms not supporting device tree,
> > > and as long as device tree overlays are not supported, it must not be made
> > > mandatory. Especially for I2C and SPI devices I reserve the right to be able
> > > test the hardware on an X86 system and not require a reboot to do so.
> >
> > Understood. Following Simon's post, I think it's useful to implement
> > some init function for non DT-enabled platforms.
> >
> Sure, as long as Simon commits to test it and - if possible - to provide
> the necessary platform code.
Hi Guenter,
I commit to do whatever needed to have g762 support on the 2Big Network
v2 and 2Big NAS boards.
But note that I am can't test the options "pwm_enable" and "fan_target".
As we are using a two wire fan on this boards, this options are not
relevant.
Moreover except for the out_mode/pwm_mode setting, I am rather happy
with the default configuration.
Simon
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-04-25 10:14 UTC|newest]
Thread overview: 102+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-18 22:27 [lm-sensors] [RFC, PATCHv0 0/3] Add support for GMT G762/G763 PWM fan controller Arnaud Ebalard
2013-04-18 22:27 ` [RFC,PATCHv0 " Arnaud Ebalard
2013-04-18 22:27 ` Arnaud Ebalard
2013-04-18 22:28 ` [lm-sensors] [PATCH 1/3] Add support for GMT G72/G763 " Arnaud Ebalard
2013-04-18 22:28 ` Arnaud Ebalard
2013-04-18 22:28 ` Arnaud Ebalard
2013-04-19 4:35 ` [lm-sensors] " Guenter Roeck
2013-04-19 4:35 ` Guenter Roeck
2013-04-19 4:35 ` Guenter Roeck
2013-04-19 5:34 ` [lm-sensors] " Arnaud Ebalard
2013-04-19 5:34 ` Arnaud Ebalard
2013-04-19 5:34 ` Arnaud Ebalard
2013-04-23 22:05 ` [lm-sensors] [PATCHv1 0/3] hwmon: " Arnaud Ebalard
2013-04-23 22:05 ` Arnaud Ebalard
2013-04-23 22:05 ` Arnaud Ebalard
2013-04-23 22:05 ` [lm-sensors] [PATCHv1 1/3] hwmon: Add support for GMT G762/G763 " Arnaud Ebalard
2013-04-23 22:05 ` Arnaud Ebalard
2013-04-23 22:05 ` Arnaud Ebalard
2013-04-24 5:37 ` [lm-sensors] " Andrew Lunn
2013-04-24 5:37 ` Andrew Lunn
2013-04-24 5:37 ` Andrew Lunn
2013-04-24 9:06 ` [lm-sensors] " Arnaud Ebalard
2013-04-24 9:06 ` Arnaud Ebalard
2013-04-24 9:06 ` Arnaud Ebalard
2013-04-24 10:04 ` [lm-sensors] " Simon Guinot
2013-04-24 10:04 ` Simon Guinot
2013-04-24 10:04 ` Simon Guinot
2013-04-24 10:50 ` [lm-sensors] " Arnaud Ebalard
2013-04-24 10:50 ` Arnaud Ebalard
2013-04-24 10:50 ` Arnaud Ebalard
2013-04-24 13:38 ` [lm-sensors] " Guenter Roeck
2013-04-24 13:38 ` Guenter Roeck
2013-04-24 13:38 ` Guenter Roeck
2013-04-24 20:28 ` [lm-sensors] " Arnaud Ebalard
2013-04-24 20:28 ` Arnaud Ebalard
2013-04-24 20:28 ` Arnaud Ebalard
2013-04-24 22:47 ` [lm-sensors] " Guenter Roeck
2013-04-24 22:47 ` Guenter Roeck
2013-04-24 22:47 ` Guenter Roeck
2013-04-25 10:14 ` Simon Guinot [this message]
2013-04-25 10:14 ` Simon Guinot
2013-04-25 10:14 ` Simon Guinot
2013-04-24 17:06 ` [lm-sensors] " Simon Guinot
2013-04-24 17:06 ` Simon Guinot
2013-04-24 17:06 ` Simon Guinot
2013-04-24 23:37 ` [lm-sensors] " Guenter Roeck
2013-04-24 23:37 ` Guenter Roeck
2013-04-24 23:37 ` Guenter Roeck
2013-04-25 9:58 ` [lm-sensors] " Simon Guinot
2013-04-25 9:58 ` Simon Guinot
2013-04-25 9:58 ` Simon Guinot
2013-04-27 14:03 ` [lm-sensors] " Simon Guinot
2013-04-27 14:03 ` Simon Guinot
2013-04-27 14:03 ` Simon Guinot
2013-04-27 14:12 ` [lm-sensors] " Jean Delvare
2013-04-27 14:12 ` Jean Delvare
2013-04-27 14:12 ` Jean Delvare
2013-04-27 16:56 ` [lm-sensors] " Guenter Roeck
2013-04-27 16:56 ` Guenter Roeck
2013-04-27 16:56 ` Guenter Roeck
2013-04-27 18:55 ` [lm-sensors] " Arnaud Ebalard
2013-04-27 18:55 ` Arnaud Ebalard
2013-04-27 18:55 ` Arnaud Ebalard
2013-04-23 22:06 ` [lm-sensors] [PATCHv1 2/3] hwmon: Add documentation for g762 driver Arnaud Ebalard
2013-04-23 22:06 ` Arnaud Ebalard
2013-04-23 22:06 ` Arnaud Ebalard
2013-04-24 17:32 ` [lm-sensors] " Guenter Roeck
2013-04-24 17:32 ` Guenter Roeck
2013-04-24 17:32 ` Guenter Roeck
2013-04-24 20:33 ` [lm-sensors] " Arnaud Ebalard
2013-04-24 20:33 ` Arnaud Ebalard
2013-04-24 20:33 ` Arnaud Ebalard
2013-04-23 22:06 ` [lm-sensors] [PATCHv1 3/3] hwmon: Add DT " Arnaud Ebalard
2013-04-23 22:06 ` Arnaud Ebalard
2013-04-23 22:06 ` Arnaud Ebalard
2013-04-23 22:23 ` [lm-sensors] " Jason Cooper
2013-04-23 22:23 ` Jason Cooper
2013-04-23 22:23 ` Jason Cooper
2013-04-24 5:43 ` [lm-sensors] " Arnaud Ebalard
2013-04-24 5:43 ` Arnaud Ebalard
2013-04-24 5:43 ` Arnaud Ebalard
2013-04-19 5:50 ` [lm-sensors] [PATCH 1/3] Add support for GMT G72/G763 PWM fan controller Andrew Lunn
2013-04-19 5:50 ` Andrew Lunn
2013-04-19 5:50 ` Andrew Lunn
2013-04-19 11:30 ` [lm-sensors] " Arnaud Ebalard
2013-04-19 11:30 ` Arnaud Ebalard
2013-04-19 11:30 ` Arnaud Ebalard
2013-04-19 13:37 ` [lm-sensors] " Guenter Roeck
2013-04-19 13:37 ` Guenter Roeck
2013-04-19 13:37 ` Guenter Roeck
2013-04-19 6:05 ` [lm-sensors] " Jean Delvare
2013-04-19 6:05 ` Jean Delvare
2013-04-19 6:05 ` Jean Delvare
2013-04-19 11:31 ` [lm-sensors] " Arnaud Ebalard
2013-04-19 11:31 ` Arnaud Ebalard
2013-04-19 11:31 ` Arnaud Ebalard
2013-04-18 22:28 ` [lm-sensors] [RFC, PATCHv0 2/3] Add DT documentation for G762 " Arnaud Ebalard
2013-04-18 22:28 ` [RFC,PATCHv0 " Arnaud Ebalard
2013-04-18 22:28 ` Arnaud Ebalard
2013-04-18 22:28 ` [lm-sensors] [PATCH 3/3] Add documentation for g762 driver Arnaud Ebalard
2013-04-18 22:28 ` Arnaud Ebalard
2013-04-18 22:28 ` Arnaud Ebalard
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=20130425101450.GD17771@kw.sim.vm.gnt \
--to=simon.guinot@sequanux.org \
--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=linux@roeck-us.net \
--cc=lm-sensors@lm-sensors.org \
--cc=olivier.mouchet@gmail.com \
--cc=rob.herring@calxeda.com \
--cc=rob@landley.net \
/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.