summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Apitzsch <git@apitzsch.eu>2023-11-27 00:46:20 +0300
committerBjorn Andersson <andersson@kernel.org>2023-12-03 07:12:59 +0300
commitfbe0870c48ac84f117860096048055a4f078a976 (patch)
treebae1981f3c8758303a4454b459f5c8a20834a4ce
parentcab60b166575dd6db4c85487e87a9b677e04c153 (diff)
downloadlinux-fbe0870c48ac84f117860096048055a4f078a976.tar.xz
arm64: dts: qcom: msm8939-longcheer-l9100: Add proximity-near-level
Consider an object near to the sensor when their distance is about 4 cm or below. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: André Apitzsch <git@apitzsch.eu> Link: https://lore.kernel.org/r/20231126-bqm5_prox-v2-1-b7defc3979ac@apitzsch.eu Signed-off-by: Bjorn Andersson <andersson@kernel.org>
-rw-r--r--arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts1
1 files changed, 1 insertions, 0 deletions
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 @@
light-sensor@23 {
compatible = "liteon,ltr559";
reg = <0x23>;
+ proximity-near-level = <75>;
vdd-supply = <&pm8916_l17>;
vddio-supply = <&pm8916_l5>;