* [PATCH 1/2 v2] hwmon: (aspeed-pwm-tacho) reduce fan_tach period
@ 2017-06-23 15:05 Patrick Venture
2017-06-23 15:29 ` Guenter Roeck
0 siblings, 1 reply; 4+ messages in thread
From: Patrick Venture @ 2017-06-23 15:05 UTC (permalink / raw)
To: venture, joel, linux; +Cc: linux-hwmon, emilyshaffer, peterh
Reduce the fan_tach period such that the fan controller uses a shorter
period to measure the rpm.
Testing: Tested on an ast2400 sitting on a quanta-q71l.
Signed-off-by: Patrick Venture <venture@google.com>
---
drivers/hwmon/aspeed-pwm-tacho.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwmon/aspeed-pwm-tacho.c b/drivers/hwmon/aspeed-pwm-tacho.c
index 86e2ea8287a7..b2ab5612d8a4 100644
--- a/drivers/hwmon/aspeed-pwm-tacho.c
+++ b/drivers/hwmon/aspeed-pwm-tacho.c
@@ -160,7 +160,7 @@
* 11: reserved.
*/
#define M_TACH_MODE 0x02 /* 10b */
-#define M_TACH_UNIT 0x1000
+#define M_TACH_UNIT 0x00c0
#define INIT_FAN_CTRL 0xFF
struct aspeed_pwm_tacho_data {
--
2.13.1.611.g7e3b11ae1-goog
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2 v2] hwmon: (aspeed-pwm-tacho) reduce fan_tach period
2017-06-23 15:05 [PATCH 1/2 v2] hwmon: (aspeed-pwm-tacho) reduce fan_tach period Patrick Venture
@ 2017-06-23 15:29 ` Guenter Roeck
2017-06-23 19:33 ` Patrick Venture
0 siblings, 1 reply; 4+ messages in thread
From: Guenter Roeck @ 2017-06-23 15:29 UTC (permalink / raw)
To: Patrick Venture; +Cc: joel, linux-hwmon, emilyshaffer, peterh
On Fri, Jun 23, 2017 at 08:05:25AM -0700, Patrick Venture wrote:
> Reduce the fan_tach period such that the fan controller uses a shorter
> period to measure the rpm.
>
> Testing: Tested on an ast2400 sitting on a quanta-q71l.
>
> Signed-off-by: Patrick Venture <venture@google.com>
Please provide change logs, and keep version numbers consistent
for a series even if one patch doesn't change.
Now I'll have to go back, find the flurry of older versions, and try
to find out what changed and why. This takes time which I don't have.
I'll probably only get to this after the next commit window, sorry.
Guenter
> ---
> drivers/hwmon/aspeed-pwm-tacho.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hwmon/aspeed-pwm-tacho.c b/drivers/hwmon/aspeed-pwm-tacho.c
> index 86e2ea8287a7..b2ab5612d8a4 100644
> --- a/drivers/hwmon/aspeed-pwm-tacho.c
> +++ b/drivers/hwmon/aspeed-pwm-tacho.c
> @@ -160,7 +160,7 @@
> * 11: reserved.
> */
> #define M_TACH_MODE 0x02 /* 10b */
> -#define M_TACH_UNIT 0x1000
> +#define M_TACH_UNIT 0x00c0
> #define INIT_FAN_CTRL 0xFF
>
> struct aspeed_pwm_tacho_data {
> --
> 2.13.1.611.g7e3b11ae1-goog
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2 v2] hwmon: (aspeed-pwm-tacho) reduce fan_tach period
2017-06-23 15:29 ` Guenter Roeck
@ 2017-06-23 19:33 ` Patrick Venture
2017-06-23 20:47 ` Guenter Roeck
0 siblings, 1 reply; 4+ messages in thread
From: Patrick Venture @ 2017-06-23 19:33 UTC (permalink / raw)
To: Guenter Roeck; +Cc: Emily Shaffer, Joel Stanley, linux-hwmon, peterh
[-- Attachment #1: Type: text/plain, Size: 1886 bytes --]
I changed the commit message. Since you said you never received this patch,
it was prudent to resend it. However, since I had sent it and you said you
didn't receive it, I assumed it was being merged with the previous patch
that had been before using a patch-set was required. So I modified the
commit message so I could bump the version so you'd likely see it this
time; whereas before it was getting clumped with the previous fodder.
I was deliberately trying to be helpful. I didn't know you needed the
history and couldn't just use the latest patch version.
Patrick
On Jun 23, 2017 8:29 AM, "Guenter Roeck" <linux@roeck-us.net> wrote:
> On Fri, Jun 23, 2017 at 08:05:25AM -0700, Patrick Venture wrote:
> > Reduce the fan_tach period such that the fan controller uses a shorter
> > period to measure the rpm.
> >
> > Testing: Tested on an ast2400 sitting on a quanta-q71l.
> >
> > Signed-off-by: Patrick Venture <venture@google.com>
>
> Please provide change logs, and keep version numbers consistent
> for a series even if one patch doesn't change.
>
> Now I'll have to go back, find the flurry of older versions, and try
> to find out what changed and why. This takes time which I don't have.
> I'll probably only get to this after the next commit window, sorry.
>
> Guenter
>
> > ---
> > drivers/hwmon/aspeed-pwm-tacho.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/hwmon/aspeed-pwm-tacho.c
> b/drivers/hwmon/aspeed-pwm-tacho.c
> > index 86e2ea8287a7..b2ab5612d8a4 100644
> > --- a/drivers/hwmon/aspeed-pwm-tacho.c
> > +++ b/drivers/hwmon/aspeed-pwm-tacho.c
> > @@ -160,7 +160,7 @@
> > * 11: reserved.
> > */
> > #define M_TACH_MODE 0x02 /* 10b */
> > -#define M_TACH_UNIT 0x1000
> > +#define M_TACH_UNIT 0x00c0
> > #define INIT_FAN_CTRL 0xFF
> >
> > struct aspeed_pwm_tacho_data {
> > --
> > 2.13.1.611.g7e3b11ae1-goog
> >
>
[-- Attachment #2: Type: text/html, Size: 2559 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2 v2] hwmon: (aspeed-pwm-tacho) reduce fan_tach period
2017-06-23 19:33 ` Patrick Venture
@ 2017-06-23 20:47 ` Guenter Roeck
0 siblings, 0 replies; 4+ messages in thread
From: Guenter Roeck @ 2017-06-23 20:47 UTC (permalink / raw)
To: Patrick Venture; +Cc: Emily Shaffer, Joel Stanley, linux-hwmon, peterh
On Fri, Jun 23, 2017 at 12:33:47PM -0700, Patrick Venture wrote:
> I changed the commit message. Since you said you never received this patch,
> it was prudent to resend it. However, since I had sent it and you said you
> didn't receive it, I assumed it was being merged with the previous patch
> that had been before using a patch-set was required. So I modified the
> commit message so I could bump the version so you'd likely see it this
> time; whereas before it was getting clumped with the previous fodder.
>
> I was deliberately trying to be helpful. I didn't know you needed the
> history and couldn't just use the latest patch version.
>
2/2 does not have a change log either.
> Patrick
>
> On Jun 23, 2017 8:29 AM, "Guenter Roeck" <linux@roeck-us.net> wrote:
>
> > On Fri, Jun 23, 2017 at 08:05:25AM -0700, Patrick Venture wrote:
> > > Reduce the fan_tach period such that the fan controller uses a shorter
> > > period to measure the rpm.
> > >
> > > Testing: Tested on an ast2400 sitting on a quanta-q71l.
> > >
> > > Signed-off-by: Patrick Venture <venture@google.com>
> >
> > Please provide change logs, and keep version numbers consistent
> > for a series even if one patch doesn't change.
> >
> > Now I'll have to go back, find the flurry of older versions, and try
> > to find out what changed and why. This takes time which I don't have.
> > I'll probably only get to this after the next commit window, sorry.
> >
> > Guenter
> >
> > > ---
> > > drivers/hwmon/aspeed-pwm-tacho.c | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/drivers/hwmon/aspeed-pwm-tacho.c
> > b/drivers/hwmon/aspeed-pwm-tacho.c
> > > index 86e2ea8287a7..b2ab5612d8a4 100644
> > > --- a/drivers/hwmon/aspeed-pwm-tacho.c
> > > +++ b/drivers/hwmon/aspeed-pwm-tacho.c
> > > @@ -160,7 +160,7 @@
> > > * 11: reserved.
> > > */
> > > #define M_TACH_MODE 0x02 /* 10b */
> > > -#define M_TACH_UNIT 0x1000
> > > +#define M_TACH_UNIT 0x00c0
> > > #define INIT_FAN_CTRL 0xFF
> > >
> > > struct aspeed_pwm_tacho_data {
> > > --
> > > 2.13.1.611.g7e3b11ae1-goog
> > >
> >
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-06-23 20:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-23 15:05 [PATCH 1/2 v2] hwmon: (aspeed-pwm-tacho) reduce fan_tach period Patrick Venture
2017-06-23 15:29 ` Guenter Roeck
2017-06-23 19:33 ` Patrick Venture
2017-06-23 20:47 ` Guenter Roeck
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox