public inbox for linux-hwmon@vger.kernel.org
 help / color / mirror / Atom feed
From: Rigo Reddig <rigo.reddig@gmail.com>
To: linux-hwmon@vger.kernel.org
Subject: sensor config for (nct6779D) ASRock X370 Gaming K4
Date: Tue, 27 Jun 2017 13:19:04 +0100	[thread overview]
Message-ID: <12723808.ig1cY2DeaI@jupiter> (raw)

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

I recently puzzled out the scalars and inputs for my mainboard and was told to 
submit the config here for others that might find it useful.

These may apply to other nct6779D boards but so far this is purely specific to 
the ASRock X370 Gaming K4.

I have linked to and attached the file.
https://gist.github.com/rigred/000cb8486dfae1972154ec9bf8355ac0


[-- Attachment #2: ASRock-X370-Gaming-K4 --]
[-- Type: text/plain, Size: 1627 bytes --]

chip "nct6779-isa-0290"

        # Fans
        label fan1 "Chassis Fan 3 Speed"
        label fan2 "CPU Fan 1 Speed"
        label fan3 "CPU Optional Fan Speed"
        label fan4 "Chassis Fan 1 Speed"
        label fan5 "Chassis Fan 2 Speed"

        #Fan minimums
        #set fan2_min 950
        #set fan2_target 30000

        # Temperatures
        label temp1 "Motherboard"
        label temp2 "CPU"
        label temp3 "Auxillary"
        label temp4 "VRM"
        label temp5 "AUXTIN2"
        label temp6 "CPU (PECI)" #Needs scalar sits at -25

        # Voltages

        label in0 "VCore"
        label in1 "VPPM" #scalar
        label in2 "AVCC"
        label in3 "3VCC"
        label in4 "+12V" #scalar
        label in5 "VDDCR_SOC"
        label in6 "DRAM"
        label in7 "3VSB"
        label in8 "VBat"
        label in9 "Null"
        label in10 "VIIN10"
        label in11 "Chipset 1.05V"
        label in12 "+5V" #scalar
        label in13 "VDDP"
        label in14 "1.8V+"

        # Compute Inputs
        # The nct6779D uses a 2.048V input range, all inputs above that are scaled using a voltage divider.
        # Specific inputs like the ADC, AVCC, VBAT, 3VSB and 3VCC utilize an integrated voltage divider 
        #
        # values as per nuvoton nct6779D datasheet
        # Section 8.5 Analog Inputs (Page 54,55)
        # #       Vs     R1,Rin   R2,Rf    Vin
        # in4  +12.0     56       10     ~+1.84
        # in12  +5.0     20       10     ~+1.67
        #
        compute in1 @*2, @/2
        compute in4 ((56/10)+1)*@, @/((56/10)+1)
        compute in12 ((20/10)+1)*@, @/((20/10)+1)

                 reply	other threads:[~2017-06-27 12:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=12723808.ig1cY2DeaI@jupiter \
    --to=rigo.reddig@gmail.com \
    --cc=linux-hwmon@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox