[PATCH 1/1] arm64: dts: rockchip: fix adc button voltage on Radxa E52C

Chukun Pan <[email protected]>
Newsgroups org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-rockchip,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
The ADC button voltage should be around 1.8 V, not 18 mV.

Signed-off-by: Chukun Pan <[email protected]>
---
 arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
index 854c118418eb..1eb919a58be2 100644
--- a/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3582-radxa-e52c.dts
@@ -29,7 +29,7 @@ keys-0 {
 		compatible = "adc-keys";
 		io-channels = <&saradc 0>;
 		io-channel-names = "buttons";
-		keyup-threshold-microvolt = <18000>;
+		keyup-threshold-microvolt = <1800000>;
 		poll-interval = <100>;
 
 		button-0 {
-- 
2.34.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.