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: 169903 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp2700900vqx; Sun, 26 Nov 2023 13:48:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IEfbC2z/f11OVVlxh9vONUmmhBtGAD2ToaMDQiWBNNO4Y/Zq40mw0eolQtwfSOC58R49Nwd X-Received: by 2002:a17:903:1cf:b0:1cf:6b9d:ede5 with SMTP id e15-20020a17090301cf00b001cf6b9dede5mr19458889plh.20.1701035338236; Sun, 26 Nov 2023 13:48:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701035338; cv=none; d=google.com; s=arc-20160816; b=aJjkZSdxjsb395g4FR/26fJb+dvIbxbauExIBoorw/P4I1C4u/BOeRTNsQBJcJ8ZXB yO0GZOwK1rvZ/9aKx6enobiHjKu/zKMooOp9tRawHbOWnKCfKaI9XxLowd6ADeTRO2mY au4F4DO/6k1duvUFgC0TTbPVnoH0pIJZpCF8CY1y85wP/dDWH5rPiRQTsSq925p9aMnU pg/r/Z1AWjDWm6R/rW4iyADM8jGEc4pddfpwVVvtCVrL2UyiPaUK7DE6A4lXYNlFESBl 8xuQCfNk1CEpvJYXLjiPzYdlEmk2aOFJiTMoBJlyX9vyDzVx25J+p/K/ga8A/0AU6d9c NdEQ== 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=c83gKFOme6boWCYLdxntGbTU48iSvAONK4Is0z/WlF8=; fh=loKyZM26dUIz/xMQA4Y4pKNHiz5bUzR1Ad8qTfIC5j0=; b=q0AFd/n7zra1FqVDKQph52FjrBg/h6KVuV4253YWAVNeqQeFBZbOXfKKcrj65Ibzmu mcqhC3/4JDlioEJYvXKHkkfveSQV+ktHgmVcVTtMVVIGADrtvY3AtSrYJgR+6dAqA6Yn tiq7RwMmfBDFgjEkglmZ1Hnv8Pj8jszDu25WsJk4d1qMkgEHNEGbUaUzGN85sYgl5ZeA lvnf69uoFfduYUR+7/bPLFO9D5Mo7imTXtZuEo0gZGCaLN1R/yQW0F/jxNof+rZFGljy HikNrHQIBpFcRrAG9t32cXxdDnhZEfrJfv6upWyzh9HErCCObcYLpaBJsix0awt114H0 kRYQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id s6-20020a170902ea0600b001cf677bb6c7si8542893plg.476.2023.11.26.13.48.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Nov 2023 13:48:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id 20B57807F4B7; Sun, 26 Nov 2023 13:48:55 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229502AbjKZVs0 (ORCPT + 99 others); Sun, 26 Nov 2023 16:48:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjKZVsZ (ORCPT ); Sun, 26 Nov 2023 16:48:25 -0500 Received: from smtprelay08.ispgateway.de (smtprelay08.ispgateway.de [134.119.228.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAF32ED for ; Sun, 26 Nov 2023 13:48:30 -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 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= X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Sun, 26 Nov 2023 13:48:55 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783664830610578191 X-GMAIL-MSGID: 1783664830610578191 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>;