From: Daniel Matyas <daniel.matyas23@gmail.com>
To: linux-hwmon@vger.kernel.org
Subject: Functional enhancement of max31827
Date: Fri, 28 Jul 2023 09:49:45 +0300 [thread overview]
Message-ID: <ZMNlCTsslxeYjj/4@daniel-Precision-5530> (raw)
Dear hwmon community,
I developed the driver for the max31827 temperature sensor, but when
doing so I omitted some functionalities of the chip, namely: PEC Error,
Fault Queue, Comp/Int, Alarm Polarity, Resolution, Timeout and PEC
Enable. I did not implement these, because there are no predefined
attributes in the linux kernel which have similar meaning to these
funcionalities.
I recently got a request from the client to implement these
functionalities. I want to use SENSOR_DEVICE_ATTR to implement these. I
did some reading and saw that using debufs is also a possibility.
I would be really greatful, if you could provide me with some advices.
Should I proceed with device attributes defined by me? Should I use
debufs? Maybe there is another and better way...
Thank you in advance for your response!
Kind regards,
Daniel
Link to driver: https://github.com/torvalds/linux/blob/master/drivers/hwmon/max31827.c
Link to datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31827-MAX31829.pdf#page=13&zoom=220,-9,487
next reply other threads:[~2023-07-28 6:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-28 6:49 Daniel Matyas [this message]
2023-07-29 14:25 ` Functional enhancement of max31827 Guenter Roeck
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=ZMNlCTsslxeYjj/4@daniel-Precision-5530 \
--to=daniel.matyas23@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