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: 153742 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3703666vqb; Mon, 16 Oct 2023 13:19:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGIeZJgusjwhvKY+DsnsH7vhg/q9A8qai2fVCuPEBr6Cx9maMeG1LrczFSy5H0zctRnedo2 X-Received: by 2002:a92:c568:0:b0:357:5188:1f83 with SMTP id b8-20020a92c568000000b0035751881f83mr607943ilj.1.1697487550755; Mon, 16 Oct 2023 13:19:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697487550; cv=none; d=google.com; s=arc-20160816; b=iCpwbCuqvkzRiouSYtyAlT+ah0iwEibXRT1Ll0NrMp/GRvqMNC9iA+2sWkzRr57s7v fk9rMjIg1mPip8Pn+It7lmP1LF55nO+gLIb37OV9lk/38O6SFSuceN7GK7xUNCWnAX9c d9dPs7MLlxZBzLFD3ybFkPyA7ZPltAjEBuJcOKgOgK/yD/ulHnjXPClfI010dZkKOBIt 75CCiG6z5e+9pY4af9yE4wEiEiQKBoiYVpeslhkGTSU6KlQ5hpHaEgMNbUUfO5lWZWRG fV6VjGduGtPENiKPgk9wX3OPENoaFfy6QLDjY7SYRak9FoNqHKF1dmOoQJ2Y+ns/ecZm kVAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from; bh=KO9M5Y3mrrHfgjt+rTUo52TFyTX0cSBWiFrpDFnNMvw=; fh=loKyZM26dUIz/xMQA4Y4pKNHiz5bUzR1Ad8qTfIC5j0=; b=wXo6accyEzvZWxPrYZppJeGFLvLPc7U51yHIRzwgtdUUhzxAV7jH8HbvmWle6+29KV Kh6N9czkS7pk1ZHXRbCkJN29SR9rB4Dg012pNJmLHHm/HHiSQUaQZg+v4zku+ZqJgrQa Zy1NU97ZO3iLz7L/Oz6FAlVJZBwSbq3gaSwnfgjUEJw/uBL0ePMvKDlV1QWYlmU69I7p cyDP/HPI3qLy4DjRQ88SH2y4gH7J715Cuu6I0DqDvon9pOZEl/gzTtzsc8C9AV88WPNX 7Ji+jFDY2vdIxxmdx78OLi/G7UXJcigHgkiMoTXH6LAu/QMKapwg22PJMOp2mdxg2Q+q 9iTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id f10-20020a056a0022ca00b00690b88a9c32si595906pfj.82.2023.10.16.13.19.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 13:19:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 02CFB803956C; Mon, 16 Oct 2023 13:19:09 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234174AbjJPUSx (ORCPT + 18 others); Mon, 16 Oct 2023 16:18:53 -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= X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Mon, 16 Oct 2023 13:19:09 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779944705900566824 X-GMAIL-MSGID: 1779944705900566824 Consider an object near to the sensor when their distance is about 4 cm or below. Signed-off-by: André Apitzsch Reviewed-by: Konrad Dybcio --- 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>;