[PATCH v2] arm64: dts: qcom: msm8939-longcheer-l9100: Add proximity-near-level

From: André Apitzsch
Date: Sun Nov 26 2023 - 16:56:12 EST


Consider an object near to the sensor when their distance is about 4 cm
or below.

Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>
Signed-off-by: André Apitzsch <git@xxxxxxxxxxx>
---
Changes in v2:
- add R-b
- Link to v1: https://lore.kernel.org/r/20231016-bqm5_prox-v1-1-2acdc732be9d@xxxxxxxxxxx
---
arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts b/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts
index ff532fdc1826..e3404c4455cf 100644
--- a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts
+++ b/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts
@@ -180,6 +180,7 @@ magnetometer@d {
light-sensor@23 {
compatible = "liteon,ltr559";
reg = <0x23>;
+ proximity-near-level = <75>;

vdd-supply = <&pm8916_l17>;
vddio-supply = <&pm8916_l5>;

---
base-commit: 8c9660f6515396aba78d1168d2e17951d653ebf2
change-id: 20231016-bqm5_prox-4958ff602855

Best regards,
--
André Apitzsch <git@xxxxxxxxxxx>