[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230309204608.237605-11-martin.kepplinger@puri.sm>
Date: Thu, 9 Mar 2023 21:46:04 +0100
From: Martin Kepplinger <martin.kepplinger@...i.sm>
To: robh@...nel.org, krzysztof.kozlowski@...aro.org,
shawnguo@...nel.org, s.hauer@...gutronix.de, kernel@...gutronix.de,
festevam@...il.com
Cc: kernel@...i.sm, linux-imx@....com, devicetree@...r.kernel.org,
phone-devel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Sebastian Krzyszkowiak <sebastian.krzyszkowiak@...i.sm>,
Martin Kepplinger <martin.kepplinger@...i.sm>
Subject: [PATCH v1 10/14] arm64: dts: imx8mq-librem5: Adjust proximity sensor's near levels
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@...i.sm>
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@...i.sm>
Signed-off-by: Martin Kepplinger <martin.kepplinger@...i.sm>
---
arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts | 2 +-
arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi | 2 +-
arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts
index 4f69eb32b1c90..2b3d437a642a9 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts
@@ -23,5 +23,5 @@ &bq25895 {
};
&proximity {
- proximity-near-level = <120>;
+ proximity-near-level = <50>;
};
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi
index db81ed699de75..7fd0176e4bd30 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi
@@ -45,5 +45,5 @@ &magnetometer {
};
&proximity {
- proximity-near-level = <25>;
+ proximity-near-level = <10>;
};
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts
index 1056b7981bdbd..97577c0a77158 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-r4.dts
@@ -23,5 +23,5 @@ &lcd_panel {
};
&proximity {
- proximity-near-level = <10>;
+ proximity-near-level = <5>;
};
--
2.30.2
Powered by blists - more mailing lists