<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/button, branch v2024.07-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/button?h=v2024.07-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/button?h=v2024.07-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2024-03-14T10:20:04Z</updated>
<entry>
<title>button: add missing ADC dependency for BUTTON_ADC</title>
<updated>2024-03-14T10:20:04Z</updated>
<author>
<name>Quentin Schulz</name>
<email>quentin.schulz@theobroma-systems.com</email>
</author>
<published>2024-03-14T09:36:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=759ae818ba760e97a895bdaa1cd7a86f8972ea93'/>
<id>urn:sha1:759ae818ba760e97a895bdaa1cd7a86f8972ea93</id>
<content type='text'>
The BUTTON_ADC symbol guards the compilation of button-adc driver whose
name very well makes it explicit that it requires ADC support to be
enabled.

Fix build issue of button-adc driver when ADC support isn't enabled by
making sure it cannot be built without ADC support.

Cc: Quentin Schulz &lt;foss+uboot@0leil.net&gt;
Reviewed-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
Signed-off-by: Quentin Schulz &lt;quentin.schulz@theobroma-systems.com&gt;
</content>
</entry>
<entry>
<title>button: qcom-pmic: demote "unknown button" message to debug</title>
<updated>2024-02-14T17:21:50Z</updated>
<author>
<name>Caleb Connolly</name>
<email>caleb.connolly@linaro.org</email>
</author>
<published>2024-02-09T15:11:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=22f391e8be11986bae824509470cf11e7bac31b0'/>
<id>urn:sha1:22f391e8be11986bae824509470cf11e7bac31b0</id>
<content type='text'>
This message isn't an error (there can be a watchdog subnode for example)
but it shouldn't be printed unless this driver is being debugged. Demote
it to a debug print.

Reviewed-by: Sumit Garg &lt;sumit.garg@linaro.org&gt;
Reviewed-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt;
Signed-off-by: Caleb Connolly &lt;caleb.connolly@linaro.org&gt;
</content>
</entry>
<entry>
<title>button: qcom-pmic: fix some error checking</title>
<updated>2024-02-14T17:16:52Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@linaro.org</email>
</author>
<published>2024-01-31T07:09:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6b929e9f3c16bbddeffb85351e93db13eaa9b57d'/>
<id>urn:sha1:6b929e9f3c16bbddeffb85351e93db13eaa9b57d</id>
<content type='text'>
The pmic_reg_read() function can return errors.  Add a check for that.

Fixes: 4e8aa0065d4b ("button: qcom-pmic: introduce Qualcomm PMIC button driver")
Signed-off-by: Dan Carpenter &lt;dan.carpenter@linaro.org&gt;
Reviewed-by: Caleb Connolly &lt;caleb.connolly@linaro.org&gt;
Reviewed-by: Sumit Garg &lt;sumit.garg@linaro.org&gt;
</content>
</entry>
<entry>
<title>button: qcom-pmic: introduce Qualcomm PMIC button driver</title>
<updated>2024-01-16T12:26:53Z</updated>
<author>
<name>Caleb Connolly</name>
<email>caleb.connolly@linaro.org</email>
</author>
<published>2023-12-05T13:46:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4e8aa0065d4bb15d039bb629dc8659bf97ef7cf0'/>
<id>urn:sha1:4e8aa0065d4bb15d039bb629dc8659bf97ef7cf0</id>
<content type='text'>
Qualcomm PMICs include a "pon" function which handles two buttons, the
power button and "resin" button (usually volume down). Introduce a new
driver following upstream Linux DT to enable these and map them to Enter
and Down respectively to enable use in boot menus.

Reviewed-by: Neil Armstrong &lt;neil.armstrong@linaro.org&gt;
Reviewed-by: Sumit Garg &lt;sumit.garg@linaro.org&gt;
Tested-by: Sumit Garg &lt;sumit.garg@linaro.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
Signed-off-by: Caleb Connolly &lt;caleb.connolly@linaro.org&gt;
</content>
</entry>
<entry>
<title>dm: button: add support for linux_code in button-gpio.c driver</title>
<updated>2023-02-10T17:50:01Z</updated>
<author>
<name>Dzmitry Sankouski</name>
<email>dsankouski@gmail.com</email>
</author>
<published>2023-01-22T15:21:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ea6fdc135954186ada5df9cca3f063a9a785d1b2'/>
<id>urn:sha1:ea6fdc135954186ada5df9cca3f063a9a785d1b2</id>
<content type='text'>
Linux event code must be used in input devices, using buttons.

Signed-off-by: Dzmitry Sankouski &lt;dsankouski@gmail.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>button: gpio: add DM_GPIO dependency</title>
<updated>2022-08-23T10:39:06Z</updated>
<author>
<name>Michael Walle</name>
<email>michael@walle.cc</email>
</author>
<published>2022-08-17T19:37:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1b34339c5064b2527bc597382bffe39694025d8a'/>
<id>urn:sha1:1b34339c5064b2527bc597382bffe39694025d8a</id>
<content type='text'>
The gpio-button driver depends on DM_GPIO, add it to Kconfig to avoid
build errors.

Signed-off-by: Michael Walle &lt;michael@walle.cc&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
</content>
</entry>
<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>dm: define LOG_CATEGORY for all uclass</title>
<updated>2021-07-06T16:38:03Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@foss.st.com</email>
</author>
<published>2021-04-27T09:02:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b953ec2bca1ebe059366e870eb4bec5e7af9c36b'/>
<id>urn:sha1:b953ec2bca1ebe059366e870eb4bec5e7af9c36b</id>
<content type='text'>
Define LOG_CATEGORY for all uclass to allow filtering with
log command.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@foss.st.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&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>
