arm64: dts: imx8mq-librem5: Adjust proximity sensor's near levels
authorSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Thu, 9 Mar 2023 20:46:04 +0000 (21:46 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 27 Mar 2023 01:47:57 +0000 (09:47 +0800)
Based on tests with my left ear (which appears to require lower levels
than the right one), one Birch, one Dogwood and three Evergreens.

It seems that the sensor reacts very weakly to hair, so let's make
the thresholds rather generous to compensate.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts
arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi
arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts

index 4f69eb32b1c9015f0f8cede72d71714084d2816e..2b3d437a642a9dce464ec354abb0d0cde812995f 100644 (file)
@@ -23,5 +23,5 @@
 };
 
 &proximity {
-       proximity-near-level = <120>;
+       proximity-near-level = <50>;
 };
index db81ed699de751d134d45f8e7bc949f1cb5228ec..7fd0176e4bd30943d7df924667a7ee16f10c7b95 100644 (file)
@@ -45,5 +45,5 @@
 };
 
 &proximity {
-       proximity-near-level = <25>;
+       proximity-near-level = <10>;
 };
index 1056b7981bdbdc09db0384cabe8eac2f064de80a..97577c0a7715854794871c0b6c122e358eb720ad 100644 (file)
@@ -23,5 +23,5 @@
 };
 
 &proximity {
-       proximity-near-level = <10>;
+       proximity-near-level = <5>;
 };