From patchwork Mon Oct 16 20:18:08 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: 735811 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BB76CDB465 for ; Mon, 16 Oct 2023 20:18:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233831AbjJPUSu (ORCPT ); Mon, 16 Oct 2023 16:18:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231508AbjJPUSu (ORCPT ); Mon, 16 Oct 2023 16:18:50 -0400 Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B404EB0; Mon, 16 Oct 2023 13:18:47 -0700 (PDT) Received: from [92.206.139.21] (helo=note-book.lan) by smtprelay04.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1qsU31-0007dx-1R; Mon, 16 Oct 2023 22:18:43 +0200 From: =?utf-8?q?Andr=C3=A9_Apitzsch?= Date: Mon, 16 Oct 2023 22:18:08 +0200 Subject: [PATCH] arm64: dts: qcom: msm8939-longcheer-l9100: Add proximity-near-level MIME-Version: 1.0 Message-Id: <20231016-bqm5_prox-v1-1-2acdc732be9d@apitzsch.eu> X-B4-Tracking: v=1; b=H4sIAH+aLWUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDA0Mz3aTCXNP4gqL8Cl0TS1OLtDQzAyMLU1MloPqCotS0zAqwWdGxtbU ArB1bPFsAAAA= 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.3 X-Df-Sender: YW5kcmVAYXBpdHpzY2guZXU= Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Consider an object near to the sensor when their distance is about 4 cm or below. Signed-off-by: André Apitzsch --- arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts | 1 + 1 file changed, 1 insertion(+) --- base-commit: 4d0515b235dec789578d135a5db586b25c5870cb 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 6802714fda3f..43cadc826121 100644 --- a/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts +++ b/arch/arm64/boot/dts/qcom/msm8939-longcheer-l9100.dts @@ -139,6 +139,7 @@ magnetometer@d { light-sensor@23 { compatible = "liteon,ltr559"; reg = <0x23>; + proximity-near-level = <75>; vdd-supply = <&pm8916_l17>; vddio-supply = <&pm8916_l5>;