diff options
author | Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm> | 2023-03-09 21:46:04 +0100 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-03-27 09:47:57 +0800 |
commit | e0faf4c53c23b03d03ed8ad3eef76a39c587bb9e (patch) | |
tree | 4b6aa32b127cc6ef47c39ce1e56144fb884d88d8 | |
parent | 536612ec0df77d521a359f3a186254cec3880c23 (diff) | |
download | lwn-e0faf4c53c23b03d03ed8ad3eef76a39c587bb9e.tar.gz lwn-e0faf4c53c23b03d03ed8ad3eef76a39c587bb9e.zip |
arm64: dts: imx8mq-librem5: Adjust proximity sensor's near levels
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>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mq-librem5-r2.dts | 2 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mq-librem5-r3.dtsi | 2 | ||||
-rw-r--r-- | 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 4f69eb32b1c9..2b3d437a642a 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 @@ }; &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 db81ed699de7..7fd0176e4bd3 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 @@ }; &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 1056b7981bdb..97577c0a7715 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 @@ }; &proximity { - proximity-near-level = <10>; + proximity-near-level = <5>; }; |