All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aaron Williams <awilliams@marvell.com>
To: openbmc@lists.ozlabs.org
Subject: OpenBMC Sensors
Date: Thu, 24 Jan 2019 01:03:40 -0800	[thread overview]
Message-ID: <6065976.siBLTEBlHZ@flash> (raw)

Hi all,

I have a board with a couple of i2c sensors that I am trying to configure to 
work in OpenBMC but I have a lot of confusion. Do I need to add all the IPMI 
configuration for the sensors? I'm still fairly new to OpenBMC and IPMI and am 
not sure how to go about configuring things. I'm looking at the IBM Romulus 
board as an example.

We have two temperature sensors, a TI TMP421 which monitors the CPU core 
temperature as well as an ADT7462 which monitors several locations around the 
motherboard and controls the fans.

We want to control the speed of the CPU fan based on the temperature measured 
by the tmp421 in order to keep it within our thermal envelope, which shouldn't 
be too difficult to do whereas the chassis fans would be based on the 
motherboard temperature.

I see how to set up the hwmon portion defining the devices based on the device 
tree, but I am unsure how to go about configuring the YAML and other files for 
this.

At some point we should also be able to obtain internal per-core temperature 
information as well which we would also like to report.

Engineering has made this a rather high priority since the CPU fan sounds like 
a jet engine and rarely needs to run anywhere near 100%.

The ADT7462 can also measure the voltage and monitor the fan speeds.

-Aaron

             reply	other threads:[~2019-01-24  9:13 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-24  9:03 Aaron Williams [this message]
2019-01-24  9:26 ` OpenBMC Sensors Lei YU
2019-01-30 17:49   ` Emily Shaffer
2019-01-30 21:28     ` [EXT] " Aaron Williams
2019-01-30 21:42       ` Emily Shaffer
2019-01-30 21:47         ` Aaron Williams
2019-01-30 21:48           ` Emily Shaffer
     [not found]             ` <2342439.TUI2J960l9@flash>
     [not found]               ` <CAJoAoZnV+u8kJKV7TkPxU_b1hdmJ3nbFyD6rVMSd9ohPSjDHig@mail.gmail.com>
2019-01-31 15:30                 ` Patrick Venture
2019-02-01  1:05                   ` Aaron Williams
2019-02-01  5:17                   ` Aaron Williams
2019-02-01 17:07                     ` Patrick Venture
2019-02-01 18:04                     ` Vijay Khemka
2019-02-01 19:32                       ` Matthew Barth

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=6065976.siBLTEBlHZ@flash \
    --to=awilliams@marvell.com \
    --cc=openbmc@lists.ozlabs.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 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.