Message ID | 20230922011211.115234-1-matti.lehtimaki@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp5850965vqi; Fri, 22 Sep 2023 13:34:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF1I2OObPRf0M44zKJ8OOnY5gAahH1Zv0DWRDYE/YwYuPkkJtWtbB1WxxrrxxYDRAq6GxWn X-Received: by 2002:a05:6870:d1c2:b0:1c0:f8a7:ec14 with SMTP id b2-20020a056870d1c200b001c0f8a7ec14mr556073oac.57.1695414842084; Fri, 22 Sep 2023 13:34:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695414842; cv=none; d=google.com; s=arc-20160816; b=0IsDdQ7a9vUw3xurELhbPpcjoIJQX7vAjckcCrfy+D60j6jGaxnue58pUyK7Kk3W+D 7Yk821Gllj5ao1b1u9z0rzGgg4JuSrRLa0UIuWKkgCxLhI7K3SWVc5fuVxf4Cb8bk//+ JgML8kwJHLa8VtGdSm6cZnb6DJ0F95rtWaSiCRT0/+nbvrrk49oRQOixjY+NpuQ/VkoS 7USajVCUwO8/gEazG5zH6buYClVux7DIIfDmcyfdTmO4pytd6JHnz0LQhEJbBnl2S9tV jEVDlr1K7PtSW/n6N2tGP5hALwcPhj5EVoIRmp47osghAx10VjmJnZMo0QevY9r2/rZp Lw4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+Rq82wx/J2BnMt9Mh1FLCBxp+NcwkPBk3LgXjrklglE=; fh=IBC6KrtlLl1nc5Mrg2fjZkgou8tZnnYWoejUSlpuLzY=; b=uNapgUCIp/YqfiJfCtdwTqF7fVfvscgO0s0Jo/v61BFpyPGRjlKM1tYhpRuPN0S9/u 8siSUscJHoWMoJKn0PaE7kX4QuIop/seoIGzCETS4/+uW8Ikt2t7Fiq28oFXW3tNI3QW fDm7wQzqAr8421n5A90N1ixmGZjJV/9Q6mv+K0WAXnsc53m89jSUgLe/mZtOe1cfWORf vBiZQ4gJBzD/JXL7YffhNoUgwP6kCPW3CVbFEkCfyK3vFuin7UM4JVRUZ0FQUzPnNW03 vfy25rHi2DYUpYWLWOU0nF+azzavFyFm4gcaEIfonK+xJOwT9aGLnwzCELBUB4ENvetq V1kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fNBqvxnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id r3-20020a632b03000000b0056fc3ceaba4si4295170pgr.432.2023.09.22.13.34.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 13:34:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fNBqvxnK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 248D8813CDB5; Thu, 21 Sep 2023 18:12:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229947AbjIVBMZ (ORCPT <rfc822;chrisfriedt@gmail.com> + 30 others); Thu, 21 Sep 2023 21:12:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbjIVBMY (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 21 Sep 2023 21:12:24 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB9DFCC; Thu, 21 Sep 2023 18:12:18 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2c00b37ad84so28144111fa.0; Thu, 21 Sep 2023 18:12:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695345137; x=1695949937; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+Rq82wx/J2BnMt9Mh1FLCBxp+NcwkPBk3LgXjrklglE=; b=fNBqvxnKsSSWVewrSz8ANnaRPSA+vYHsGWDqzpjqBx1U34KhT38p8vgh+qVUyDfR3b j0W8Vf8EbBssackNH64pV7Hjl0d+iU8aMe6p1ran1AjApv0Su09SAYLDtF9BJWCdWIpZ 6xgoFLPvqaRci4mdEOwWHsqFsKuXNcn9VdcLvOpAsu+GvuC47ty9rblxhtpGPtiRxjU3 ZqihiLJ1LjeKIlvC4RNoDbYixAwWVs2a/G85ZGVC8wDapvrsJMK3bIwuqDKoHNpNMChc MLYXi7XJgdnXoQp8c0g90GijfPAqP12MD1/yHnW8qZ2JV9IP3i17TAtsoElm96MRgOf7 rR+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695345137; x=1695949937; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+Rq82wx/J2BnMt9Mh1FLCBxp+NcwkPBk3LgXjrklglE=; b=FcdFch78L+OB8wbo39o6hCQ2nru/Ep08DlUAoO7lVcCPRuO3Vob70hlM0432Nsq+wA LqdUEhL9pVuahPZv87r6ttWqfK5AhWrMeFMedU7nh9jIHWaE5GHdEB7p/4feek3vteBB dm9WYP10zoTIAGwhLoZgdCm+52jlsgbXa7vJuwAFByS9T3RELfkj93eUNq2Qc9h+HsdA np+pQWlVVKr4gE+zaztiWDLuOEE7pWma8u18d+xVz7eryquCcYcyd3ZkuO3+FsfOulru s9zL8n2UgtHZBH0KdipYI+1fMI0M02jt3wLCZrIMkM+aOMkgxMH1590RO1Q1d/JJ9hLL +SWg== X-Gm-Message-State: AOJu0YylfA5FLnxVRhksmSj5JW+uDTan/Y/9EMMZxflgP0SFdBfGGLKc A8fDjR1SPh9LhOYsdv/RYbTFL9mvQVe8Dw== X-Received: by 2002:a2e:98cb:0:b0:2c0:2124:7a06 with SMTP id s11-20020a2e98cb000000b002c021247a06mr6138901ljj.45.1695345136772; Thu, 21 Sep 2023 18:12:16 -0700 (PDT) Received: from i-vetokaappi.home.lan (dsl-hkibng42-56733b-36.dhcp.inet.fi. [86.115.59.36]) by smtp.gmail.com with ESMTPSA id l6-20020a2e7006000000b002b6e77e87fcsm609446ljc.68.2023.09.21.18.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 18:12:16 -0700 (PDT) From: =?utf-8?q?Matti_Lehtim=C3=A4ki?= <matti.lehtimaki@gmail.com> To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, =?utf-8?q?Matti_Lehtim=C3=A4ki?= <matti.lehtimaki@gmail.com>, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: qcom: apq8026-samsung-matisse-wifi: Fix inverted hall sensor Date: Fri, 22 Sep 2023 04:12:11 +0300 Message-Id: <20230922011211.115234-1-matti.lehtimaki@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 21 Sep 2023 18:12:46 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777771313368739986 X-GMAIL-MSGID: 1777771313368739986 |
Series |
ARM: dts: qcom: apq8026-samsung-matisse-wifi: Fix inverted hall sensor
|
|
Commit Message
Matti Lehtimäki
Sept. 22, 2023, 1:12 a.m. UTC
Fix hall sensor GPIO polarity and also allow disabling the sensor.
Remove unneeded interrupt.
Fixes: f15623bda1dc ("ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 10.1 (SM-T530)")
Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
---
arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Freitag, 22. September 2023 03:12:11 CEST Matti Lehtimäki wrote: > Fix hall sensor GPIO polarity and also allow disabling the sensor. > Remove unneeded interrupt. > > Fixes: f15623bda1dc ("ARM: dts: qcom: Add support for Samsung Galaxy Tab 4 > 10.1 (SM-T530)") > Signed-off-by: Matti Lehtimäki <matti.lehtimaki@gmail.com> Reviewed-by: Luca Weiss <luca@z3ntu.xyz> > --- > arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts > b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts index > 884d99297d4c..f516e0426bb9 100644 > --- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts > +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts > @@ -45,11 +45,11 @@ gpio-hall-sensor { > > event-hall-sensor { > label = "Hall Effect Sensor"; > - gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>; > - interrupts = <&tlmm 110 IRQ_TYPE_EDGE_FALLING>; > + gpios = <&tlmm 110 GPIO_ACTIVE_LOW>; > linux,input-type = <EV_SW>; > linux,code = <SW_LID>; > debounce-interval = <15>; > + linux,can-disable; > wakeup-source; > }; > };
On Fri, 22 Sep 2023 04:12:11 +0300, Matti Lehtimäki wrote: > Fix hall sensor GPIO polarity and also allow disabling the sensor. > Remove unneeded interrupt. > > Applied, thanks! [1/1] ARM: dts: qcom: apq8026-samsung-matisse-wifi: Fix inverted hall sensor commit: 0b73519790d29e4bc71afc4882a9aa9ea649bcf7 Best regards,
diff --git a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts index 884d99297d4c..f516e0426bb9 100644 --- a/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts +++ b/arch/arm/boot/dts/qcom/qcom-apq8026-samsung-matisse-wifi.dts @@ -45,11 +45,11 @@ gpio-hall-sensor { event-hall-sensor { label = "Hall Effect Sensor"; - gpios = <&tlmm 110 GPIO_ACTIVE_HIGH>; - interrupts = <&tlmm 110 IRQ_TYPE_EDGE_FALLING>; + gpios = <&tlmm 110 GPIO_ACTIVE_LOW>; linux,input-type = <EV_SW>; linux,code = <SW_LID>; debounce-interval = <15>; + linux,can-disable; wakeup-source; }; };