mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Johan Dahlin <jdahlin@gmail.com>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
	Alwyn Kik <alwyn@kik.pw>,
	Fabio Baltieri <fabio.baltieri@gmail.com>,
	Hamza Mahfooz <someguy@effective-light.com>
Subject: Re: [PATCH v2 7/7] hwmon: (nct6683) Scale the +5V and +12V inputs of the ASRock B850 Steel Legend WiFi
Date: Sat, 14 Nov 2026 08:20:21 -0800	[thread overview]
Message-ID: <900c0952-7f04-41db-9b99-3be5c32f16ef@roeck-us.net> (raw)
In-Reply-To: <20261111082838.1418051-8-jdahlin@gmail.com>

On Wed, Nov 11, 2026 at 09:28:38AM +0100, Johan Dahlin wrote:
> The +5V and +12V rails reach the chip through resistor dividers, so they
> read as 1.70 V and 2.03 V while the UEFI setup shows 5.04 V and 12.19 V.
> 
> Let the sensor table carry a divider ratio and apply it when reading the
> input, with ratios of 3 and 6 on this board. sysfs-interface.rst asks for
> such conversions in user space because dividers differ between boards.
> Here the board is identified by its customer ID, so the ratios are fixed.
> 
> Signed-off-by: Johan Dahlin <jdahlin@gmail.com>

Again, this belongs into sensors3.conf.

Thanks,
Guenter

      reply	other threads:[~2026-11-14 16:20 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-11  8:28 [PATCH v2 0/7] hwmon: (nct6683) Fan control and sensor names for ASRock NCT6686D boards Johan Dahlin
2026-11-11  8:28 ` [PATCH v2 1/7] hwmon: (nct6683) Add customer ID for ASRock B850 Steel Legend WiFi Johan Dahlin
2026-11-14 16:07   ` Guenter Roeck
2026-11-11  8:28 ` [PATCH v2 2/7] hwmon: (nct6683) Restore automatic fan control on driver removal Johan Dahlin
2026-11-14 16:10   ` Guenter Roeck
2026-11-11  8:28 ` [PATCH v2 3/7] hwmon: (nct6683) Enable fan control on ASRock B850 Steel Legend WiFi Johan Dahlin
2026-11-14 16:12   ` Guenter Roeck
2026-11-11  8:28 ` [PATCH v2 4/7] hwmon: (nct6683) Enable fan control on ASRock BC-250 Johan Dahlin
2026-11-14 16:13   ` Guenter Roeck
2026-11-11  8:28 ` [PATCH v2 5/7] hwmon: (nct6683) Name the sensors of the ASRock B850 Steel Legend WiFi Johan Dahlin
2026-11-14 16:18   ` Guenter Roeck
2026-11-11  8:28 ` [PATCH v2 6/7] hwmon: (nct6683) Name the fan headers " Johan Dahlin
2026-11-14 16:19   ` Guenter Roeck
2026-11-11  8:28 ` [PATCH v2 7/7] hwmon: (nct6683) Scale the +5V and +12V inputs " Johan Dahlin
2026-11-14 16:20   ` Guenter Roeck [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=900c0952-7f04-41db-9b99-3be5c32f16ef@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=alwyn@kik.pw \
    --cc=fabio.baltieri@gmail.com \
    --cc=jdahlin@gmail.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=someguy@effective-light.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

all inboxes | Powered by JetHome®