From: Martin Kepplinger <martin.kepplinger@puri.sm> To: robh@kernel.org, krzysztof.kozlowski@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: kernel@puri.sm, linux-imx@nxp.com, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>, Martin Kepplinger <martin.kepplinger@puri.sm> Subject: [PATCH v1 10/14] arm64: dts: imx8mq-librem5: Adjust proximity sensor's near levels Date: Thu, 9 Mar 2023 21:46:04 +0100 [thread overview] Message-ID: <20230309204608.237605-11-martin.kepplinger@puri.sm> (raw) In-Reply-To: <20230309204608.237605-1-martin.kepplinger@puri.sm> From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.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@puri.sm> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Martin Kepplinger <martin.kepplinger@puri.sm> To: robh@kernel.org, krzysztof.kozlowski@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com Cc: kernel@puri.sm, linux-imx@nxp.com, devicetree@vger.kernel.org, phone-devel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>, Martin Kepplinger <martin.kepplinger@puri.sm> Subject: [PATCH v1 10/14] arm64: dts: imx8mq-librem5: Adjust proximity sensor's near levels Date: Thu, 9 Mar 2023 21:46:04 +0100 [thread overview] Message-ID: <20230309204608.237605-11-martin.kepplinger@puri.sm> (raw) In-Reply-To: <20230309204608.237605-1-martin.kepplinger@puri.sm> From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.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@puri.sm> Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.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
next prev parent reply other threads:[~2023-03-09 20:48 UTC|newest] Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-03-09 20:45 [PATCH v1 00/14] arm64: dts: imx8mq-librem5: updates and fixes until march 2023 Martin Kepplinger 2023-03-09 20:45 ` Martin Kepplinger 2023-03-09 20:45 ` [PATCH v1 01/14] arm64: dts: imx8mq-librem5: lower the mipi csi 1 frequencies Martin Kepplinger 2023-03-09 20:45 ` Martin Kepplinger 2023-03-09 20:45 ` [PATCH v1 02/14] arm64: dts: imx8mq-librem5: describe the clock for the csi sensors Martin Kepplinger 2023-03-09 20:45 ` Martin Kepplinger 2023-03-09 20:45 ` [PATCH v1 03/14] arm64: dts: imx8mq-librem5: fix audio-1v8 regulator name Martin Kepplinger 2023-03-09 20:45 ` Martin Kepplinger 2023-03-09 20:45 ` [PATCH v1 04/14] arm64: dts: imx8mq-librem5: Describe MIC_2V4 regulator Martin Kepplinger 2023-03-09 20:45 ` Martin Kepplinger 2023-03-09 20:45 ` [PATCH v1 05/14] arm64: dts: imx8mq-librem5: add brightness levels to led-backlight Martin Kepplinger 2023-03-09 20:45 ` Martin Kepplinger 2023-03-09 20:46 ` [PATCH v1 06/14] arm64: dts: imx8mq-librem5: Set charger parameters for each batch Martin Kepplinger 2023-03-09 20:46 ` Martin Kepplinger 2023-03-09 20:46 ` [PATCH v1 07/14] arm64: dts: imx8mq-librem5: Set the DVS voltages lower Martin Kepplinger 2023-03-09 20:46 ` Martin Kepplinger 2023-03-09 20:46 ` [PATCH v1 08/14] arm64: dts: imx8mq-librem5: add the magnetometer mount matrix Martin Kepplinger 2023-03-09 20:46 ` Martin Kepplinger 2023-03-09 20:46 ` [PATCH v1 09/14] arm64: dts: imx8mq-librem5: Bump usdhc2 frequency to 100MHz Martin Kepplinger 2023-03-09 20:46 ` Martin Kepplinger 2023-03-09 20:46 ` Martin Kepplinger [this message] 2023-03-09 20:46 ` [PATCH v1 10/14] arm64: dts: imx8mq-librem5: Adjust proximity sensor's near levels Martin Kepplinger 2023-03-09 20:46 ` [PATCH v1 11/14] arm64: dts: imx8mq-librem5: Remove dis_u3_susphy_quirk from usb_dwc3_0 Martin Kepplinger 2023-03-09 20:46 ` Martin Kepplinger 2023-03-14 7:28 ` Shawn Guo 2023-03-14 7:28 ` Shawn Guo 2023-03-15 12:30 ` Angus Ainslie 2023-03-15 12:30 ` Angus Ainslie 2023-03-09 20:46 ` [PATCH v1 12/14] arm64: dts: imx8mq-librem5: Bump BUCK1 suspend voltage to 0.81V Martin Kepplinger 2023-03-09 20:46 ` Martin Kepplinger 2023-03-09 20:46 ` [PATCH v1 13/14] arm64: dts: imx8mq-librem5: Reduce I2C frequency to 384kHz Martin Kepplinger 2023-03-09 20:46 ` Martin Kepplinger 2023-03-09 20:46 ` [PATCH v1 14/14] arm64: dts: imx8mq-librem5: Add 166MHz to DDRC OPP table Martin Kepplinger 2023-03-09 20:46 ` Martin Kepplinger 2023-03-27 1:48 ` [PATCH v1 00/14] arm64: dts: imx8mq-librem5: updates and fixes until march 2023 Shawn Guo 2023-03-27 1:48 ` Shawn Guo
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20230309204608.237605-11-martin.kepplinger@puri.sm \ --to=martin.kepplinger@puri.sm \ --cc=devicetree@vger.kernel.org \ --cc=festevam@gmail.com \ --cc=kernel@pengutronix.de \ --cc=kernel@puri.sm \ --cc=krzysztof.kozlowski@linaro.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-imx@nxp.com \ --cc=linux-kernel@vger.kernel.org \ --cc=phone-devel@vger.kernel.org \ --cc=robh@kernel.org \ --cc=s.hauer@pengutronix.de \ --cc=sebastian.krzyszkowiak@puri.sm \ --cc=shawnguo@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.