From patchwork Sun Nov 26 21:46:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Apitzsch?= X-Patchwork-Id: 747427 Authentication-Results: smtp.subspace.kernel.org; dkim=none X-Greylist: delayed 104 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 26 Nov 2023 13:50:14 PST Received: from smtprelay08.ispgateway.de (smtprelay08.ispgateway.de [134.119.228.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1BA1F0; Sun, 26 Nov 2023 13:50:14 -0800 (PST) Received: from [92.206.191.233] (helo=note-book.lan) by smtprelay08.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1r7MzJ-0003uK-1g; Sun, 26 Nov 2023 22:48:25 +0100 From: =?utf-8?q?Andr=C3=A9_Apitzsch?= Date: Sun, 26 Nov 2023 22:46:20 +0100 Subject: [PATCH v2] arm64: dts: qcom: msm8939-longcheer-l9100: Add proximity-near-level Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20231126-bqm5_prox-v2-1-b7defc3979ac@apitzsch.eu> X-B4-Tracking: v=1; b=H4sIAKu8Y2UC/23MQQ6CMBCF4auQWVtDB4vAynsYYqBMZRbS2mKDE u5uZe3yf3n5VgjkmQI02QqeIge2Uwo8ZKDHbrqT4CE1YI6FzGUp+udD3Zy3izjVqjKmzLFSCtL feTK87Na1TT1ymK1/73SUv/WfEqWQAjs96HOBPdXDpXM8f4Iej/SCdtu2L6IJnrukAAAA To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Apitzsch?= X-Mailer: b4 0.12.4 X-Df-Sender: YW5kcmVAYXBpdHpzY2guZXU= Consider an object near to the sensor when their distance is about 4 cm or below. Reviewed-by: Konrad Dybcio Signed-off-by: André Apitzsch --- Changes in v2: - add R-b - Link to v1: https://lore.kernel.org/r/20231016-bqm5_prox-v1-1-2acdc732be9d@apitzsch.eu --- arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts | 1 + 1 file changed, 1 insertion(+) --- base-commit: 8c9660f6515396aba78d1168d2e17951d653ebf2 change-id: 20231016-bqm5_prox-4958ff602855 Best regards, 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>;