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

Reviewed-by: Konrad Dybcio <[email protected]>
Signed-off-by: André Apitzsch <[email protected]>
---
Changes in v2:
- add R-b
- Link to v1: 
https://lore.kernel.org/r/[email protected]
---
 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 <[email protected]>


Reply via email to