From: Philippe De Muyter <phdm@macq.eu>
To: linux-iio@vger.kernel.org
Subject: iio dac drivers : imposing upper limit on value.
Date: Fri, 3 Feb 2023 15:12:12 +0100 [thread overview]
Message-ID: <20230203141211.GA28086@frolo.macqel> (raw)
Hello,
the board I work with incorporates two DAC's, but the hardware men
told me that I may not use the full range of the values allowed by
the DAC component in order to save the lifetime of the chips (LEDs)
that are feeded by the DAC. My specific case is that the DAC has
a 2.5V Vref, but the output accepts maximum 1.24V.
I would like to describe that limit in the DT and enforce it in the driver.
Is there an agreed upon property for that, and a sysfs value to show it to
the user ?
Best regards
Philippe
--
Philippe De Muyter +32 2 6101532 Macq SA rue de l'Aeronef 2 B-1140 Bruxelles
next reply other threads:[~2023-02-03 14:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-03 14:12 Philippe De Muyter [this message]
2023-02-03 16:01 ` iio dac drivers : imposing upper limit on value Jonathan Cameron
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=20230203141211.GA28086@frolo.macqel \
--to=phdm@macq.eu \
--cc=linux-iio@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