public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andreas Werner <wernerandy@gmx.de>
To: linux-kernel@vger.kernel.org
Cc: khali@linux-fr.org, linux@roeck-us.net, andreas.werner@men.de
Subject: Question: hwmon: Adding addtitional sysfs entries
Date: Sat, 10 May 2014 15:22:38 +0200	[thread overview]
Message-ID: <20140510132238.GA28364@awedesk.fritz.box> (raw)

Hi,
i am currently working on an implemenation of my Board Management Controller (BMC).

This Controller is a MCR assembled on almost all of our Compact PCI or Compact PCI Serial
Cards as well as on some other CPU Boards.

The BMC includes LED´s, Watchdog, Voltage Monitoring and some other features.
I have already implemented an MFD driver, LED and Watchdog driver.

Currently i am working on the hwmon implemenation. This includes for the first step the
voltage monitoring.

The BMC has some other feature which are not supported by any of the subsystem.
 - Errorcounter (Board status)
 - Power Failure status
 - Operating ours
 - Do software reset, do cold reset
 - Set power modes
 - Backplate Geographical Address

These are all informations related to the Board where the BMC is assembled to.
I think all those features could be part of the hwmon implementation.

Is it possible to add "custom" sysfs entries in my hwmon driver to support all these features?
Does lm-sensor ingore those custom features or is it a problem for lm-sensors?

What is the normal way to add those features?

Regards
Andy

             reply	other threads:[~2014-05-10 11:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-10 13:22 Andreas Werner [this message]
2014-05-10 12:32 ` Question: hwmon: Adding addtitional sysfs entries Guenter Roeck
2014-05-10 16:02   ` Andreas Werner
2014-05-10 15:32     ` Guenter Roeck
2014-05-14  6:44       ` Andreas Werner

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=20140510132238.GA28364@awedesk.fritz.box \
    --to=wernerandy@gmx.de \
    --cc=andreas.werner@men.de \
    --cc=khali@linux-fr.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    /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