<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/button/button-adc.c, branch v2024.01-rc3</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/button/button-adc.c?h=v2024.01-rc3</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/button/button-adc.c?h=v2024.01-rc3'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2022-02-11T14:00:47Z</updated>
<entry>
<title>button: adc: set state to pressed when the voltage is closest to nominal</title>
<updated>2022-02-11T14:00:47Z</updated>
<author>
<name>Peter Cai</name>
<email>peter@typeblog.net</email>
</author>
<published>2022-02-02T18:04:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=80d4c02b9324e7e0049582142474c9cc8630e27c'/>
<id>urn:sha1:80d4c02b9324e7e0049582142474c9cc8630e27c</id>
<content type='text'>
In the Linux implementation of adc-keys
(drivers/input/keyboard/adc-keys.c), `press-threshold-microvolt` is not
really interpreted as a threshold, but rather as the "nominal voltage"
of the button. When the voltage read from the ADC is closest to a
button's `press-threshold-microvolt`, the button is considered pressed.

This patch reconciles the behavior of button-adc with Linux's adc-keys
such that device trees can be synchronized with minimal modifications.

Signed-off-by: Peter Cai &lt;peter@typeblog.net&gt;
</content>
</entry>
<entry>
<title>button: adc: fix treshold typo</title>
<updated>2021-03-08T09:32:34Z</updated>
<author>
<name>Neil Armstrong</name>
<email>narmstrong@baylibre.com</email>
</author>
<published>2021-02-23T15:07:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=efe1f064960bf4c593da137419682de906630a34'/>
<id>urn:sha1:efe1f064960bf4c593da137419682de906630a34</id>
<content type='text'>
Fix the treshold typo in code by threshold.

Fixes: c0165c85c3 ("button: add a simple Analog to Digital Converter device based button driver")
Suggested-by: Tom Rini &lt;trini@konsulko.com&gt;
Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
Acked-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
</content>
</entry>
<entry>
<title>button: add a simple Analog to Digital Converter device based button driver</title>
<updated>2021-02-18T10:37:26Z</updated>
<author>
<name>Marek Szyprowski</name>
<email>m.szyprowski@samsung.com</email>
</author>
<published>2021-02-18T10:33:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c0165c85c3b149a86740fd649b54d5e988fab457'/>
<id>urn:sha1:c0165c85c3b149a86740fd649b54d5e988fab457</id>
<content type='text'>
Add a simple Analog to Digital Converter device based button driver. This
driver binds to the 'adc-keys' device tree node.

Signed-off-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Neil Armstrong &lt;narmstrong@baylibre.com&gt;
</content>
</entry>
</feed>
