The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Aleksa Savic <savicaleksa83@gmail.com>
To: Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org, Jack Doan <me@jackdoan.com>,
	Jean Delvare <jdelvare@suse.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hwmon: (aquacomputer_d5next) Add D5 Next fan control support
Date: Sun, 17 Jul 2022 18:37:26 +0200	[thread overview]
Message-ID: <YtQ6xg60lYNrgF0V@DESKTOP-A98GP49> (raw)
In-Reply-To: <4141c603-a153-adc1-ee08-f0ba0d99ade7@roeck-us.net>

On Sun, Jul 17, 2022 at 09:14:13AM -0700, Guenter Roeck wrote:
> On 7/17/22 08:41, Aleksa Savic wrote:
> > Define pump and fan speed register offsets in
> > D5 Next control report, as well as its size, to expose PWM fan control.
> > 
> > Signed-off-by: Jack Doan <me@jackdoan.com>
> > Signed-off-by: Aleksa Savic <savicaleksa83@gmail.com>
> 
> This suggests that Jack Doan was the author of this patch, not
> Aleksa Savic. However, that is not reflected in the patch itself.
> Please either use Originally-from: instead of Signed-off-by:
> or make sure that the original author is listed correctly.
> 
> Thanks,
> Guenter
>

Thanks for the clarification. I'll send a v2.

Aleksa

> > ---
> >   drivers/hwmon/aquacomputer_d5next.c | 6 ++++++
> >   1 file changed, 6 insertions(+)
> > 
> > diff --git a/drivers/hwmon/aquacomputer_d5next.c b/drivers/hwmon/aquacomputer_d5next.c
> > index 0e56cc711a26..997d72ea6182 100644
> > --- a/drivers/hwmon/aquacomputer_d5next.c
> > +++ b/drivers/hwmon/aquacomputer_d5next.c
> > @@ -71,8 +71,12 @@ static u8 secondary_ctrl_report[] = {
> >   #define D5NEXT_PUMP_OFFSET		0x6c
> >   #define D5NEXT_FAN_OFFSET		0x5f
> >   #define D5NEXT_5V_VOLTAGE		0x39
> > +#define D5NEXT_CTRL_REPORT_SIZE		0x329
> >   static u8 d5next_sensor_fan_offsets[] = { D5NEXT_PUMP_OFFSET, D5NEXT_FAN_OFFSET };
> > +/* Pump and fan speed registers in D5 Next control report (from 0-100%) */
> > +static u16 d5next_ctrl_fan_offsets[] = { 0x97, 0x42 };
> > +
> >   /* Register offsets for the Farbwerk RGB controller */
> >   #define FARBWERK_NUM_SENSORS		4
> >   #define FARBWERK_SENSOR_START		0x2f
> > @@ -667,9 +671,11 @@ static int aqc_probe(struct hid_device *hdev, const struct hid_device_id *id)
> >   		priv->num_fans = D5NEXT_NUM_FANS;
> >   		priv->fan_sensor_offsets = d5next_sensor_fan_offsets;
> > +		priv->fan_ctrl_offsets = d5next_ctrl_fan_offsets;
> >   		priv->num_temp_sensors = D5NEXT_NUM_SENSORS;
> >   		priv->temp_sensor_start_offset = D5NEXT_COOLANT_TEMP;
> >   		priv->power_cycle_count_offset = D5NEXT_POWER_CYCLES;
> > +		priv->buffer_size = D5NEXT_CTRL_REPORT_SIZE;
> >   		priv->temp_label = label_d5next_temp;
> >   		priv->speed_label = label_d5next_speeds;
> 

      reply	other threads:[~2022-07-17 16:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-17 15:41 [PATCH] hwmon: (aquacomputer_d5next) Add D5 Next fan control support Aleksa Savic
2022-07-17 16:14 ` Guenter Roeck
2022-07-17 16:37   ` Aleksa Savic [this message]

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=YtQ6xg60lYNrgF0V@DESKTOP-A98GP49 \
    --to=savicaleksa83@gmail.com \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=me@jackdoan.com \
    /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