From nobody Thu Apr 2 17:17:26 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 165E938655F; Fri, 27 Mar 2026 13:30:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774618219; cv=none; b=HJR6cRlsbmnMr4D39+18mQXzQ2kCZdtEuIuqv1nA8D7rYcT1RmdPAaHmeDXTuHNy2ixHZNl30uzPDvIv9DNj7Ie7vilotaKLEVJdsc2OSn/ViPa9rHrjOzZRyWm0Z5/3dXa/8qtGYMhUyLtbkil66MjI5C+wsjht6NmoB5LssVk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774618219; c=relaxed/simple; bh=5BGVxKnhc8w27oGyJiGN11xQUs8HA3TLrtWytOF51bE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Bal3RdOPrQzY21ERx2CPtNvEgi7OqnNPwOK+TyM1GHgg6ezl93cnCl4DdYOgwgJC/16wjXsRpKK2uXSQD31gzWjdDP4P2LpreFgIFTfh6NHKDRSFWRiZOIGYzAhWonSsGBy1KpbKnqw5NPyhZ8z9kIZx23/C1B9HOqBHCrQnbRs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=a2caN0+u; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="a2caN0+u" Received: by smtp.kernel.org (Postfix) with ESMTPS id E4528C19423; Fri, 27 Mar 2026 13:30:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1774618219; bh=5BGVxKnhc8w27oGyJiGN11xQUs8HA3TLrtWytOF51bE=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=a2caN0+uO4hO72Lq8cvot0kOAUNeuU9iN2l0TomchpazLL3PnujD6zYD1xtZ3T1ge hQj4swxQ4FbJfli3f0teDmdbGGxiEVZyVcYs1b/+QuCLgU1/cCtjFH8PLHIagv70S/ NQPAKyv9rIbIRChOt0IqE3LKJn0z1GBpt6nd51fPEGa2u23cqEWbBjQoz0tXJUTcU8 4xmDiEJ+r2UXA7ftuEpRaz0b58bCrCWehbWhfW1g0hdbbKi5exFCXmcveMV6wRUulz BzwKJYWLgdBgrjIpIsMHmMjq6B8h+CKHNTIfQqyOQ6o364pBszfv0+3tKx9VldbElX hlnI9kJ7Wy9VQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D486010ED674; Fri, 27 Mar 2026 13:30:18 +0000 (UTC) From: Cristian Cozzolino via B4 Relay Date: Fri, 27 Mar 2026 15:30:52 +0100 Subject: [PATCH v4 6/6] arm64: dts: qcom: msm8953-flipkart-rimob: Enable Hall sensor Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260327-rimob-new-features-v4-6-06edff9c4509@protonmail.com> References: <20260327-rimob-new-features-v4-0-06edff9c4509@protonmail.com> In-Reply-To: <20260327-rimob-new-features-v4-0-06edff9c4509@protonmail.com> To: Neil Armstrong , Jessica Zhang , David Airlie , Simona Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Bjorn Andersson , Konrad Dybcio Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Cristian Cozzolino , Konrad Dybcio X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1774621871; l=1551; i=cristian_ci@protonmail.com; s=20250620; h=from:subject:message-id; bh=qjRJ0X+ghZb8YDf+gcP0JTOiaPJ3AI/2/QR/QNsMqZY=; b=nFg5wkNjlIPy6PXSIpFJr1FgiQfn3kXcgy+YIcsZLIkt0OKDd1DDtICYuTGE6ciE/SfMc8Y1h NFhe2Ewo7SpDfaz9T0KCVXeHsrng++BSOw/idV8GOX/m7Znp/l9Hcjn X-Developer-Key: i=cristian_ci@protonmail.com; a=ed25519; pk=xH5IvIPUNHV1Q8R0/pq2CfuVFR/wTiAyuyi6IwedjZY= X-Endpoint-Received: by B4 Relay for cristian_ci@protonmail.com/20250620 with auth_id=438 X-Original-From: Cristian Cozzolino Reply-To: cristian_ci@protonmail.com From: Cristian Cozzolino Enable the Hall effect sensor (flip cover) for Billion Capture+. The GPIO is mapped to SW_LID events as in other qcom devices. Reviewed-by: Konrad Dybcio Signed-off-by: Cristian Cozzolino Reviewed-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/msm8953-flipkart-rimob.dts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8953-flipkart-rimob.dts b/arch/arm= 64/boot/dts/qcom/msm8953-flipkart-rimob.dts index a1280b0e7e90..8e3874740cf9 100644 --- a/arch/arm64/boot/dts/qcom/msm8953-flipkart-rimob.dts +++ b/arch/arm64/boot/dts/qcom/msm8953-flipkart-rimob.dts @@ -47,9 +47,18 @@ framebuffer@90001000 { gpio-keys { compatible =3D "gpio-keys"; =20 - pinctrl-0 =3D <&gpio_key_default>; + pinctrl-0 =3D <&gpio_hall_sensor_default>, <&gpio_key_default>; pinctrl-names =3D "default"; =20 + event-hall-sensor { + label =3D "Hall Effect Sensor"; + gpios =3D <&tlmm 46 GPIO_ACTIVE_LOW>; + linux,input-type =3D ; + linux,code =3D ; + linux,can-disable; + wakeup-source; + }; + key-volume-up { label =3D "Volume Up"; gpios =3D <&tlmm 85 GPIO_ACTIVE_LOW>; @@ -329,6 +338,13 @@ &sdhc_2 { &tlmm { gpio-reserved-ranges =3D <0 4>, <135 4>; =20 + gpio_hall_sensor_default: gpio-hall-sensor-default-state { + pins =3D "gpio46"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + gpio_key_default: gpio-key-default-state { pins =3D "gpio85"; function =3D "gpio"; --=20 2.53.0