From nobody Tue Dec 2 02:19:36 2025 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 EBFB430147A; Thu, 20 Nov 2025 07:14:45 +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=1763622886; cv=none; b=GY5tkLmQMVy1cvsNlqDVkcUnDFIeUHEe/em81FhRRWuzLT9Y2LaHM+xtLY3lfsqzrjr00iHzpMQYWlbxdXZRqmrAhRaIMfyaZUd26788Vwg99tg/liwJ06oz7Qsp8zDkMzPNdeMHSf1fQJ7tQWxuqsRqIMiyV8IpJsjGrV7sOXU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763622886; c=relaxed/simple; bh=HbpjlJC5wjiJJwt5Em64pMo2FXgLoSKkzcg2EQqvFX4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=J28Fuha2q+vxlX1VXD0APrr3jm/bB9QASfujNkOsxGGpO1ysy2IVR45SfrzuGPn21T4SoVDj0Ey81DfIk5AEAS00SjWiXC4S0KNyAxqM6PaQZg4ifTgikWXWGt4Tt9b2BPJb13/IpN9MQBxX3NDw/q7G40jLi56h86IaCZStu8k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YrrkbxcV; 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="YrrkbxcV" Received: by smtp.kernel.org (Postfix) with ESMTPS id 8F4E2C116B1; Thu, 20 Nov 2025 07:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763622885; bh=HbpjlJC5wjiJJwt5Em64pMo2FXgLoSKkzcg2EQqvFX4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=YrrkbxcVFHCGySQQ3bLa3qB1eRefdANHdVRbpQjP7t+sU+T+0fLFYgdZ1Qk3d1fBV aFgXS8QWOvb5qVlxUKlbgd7vv92RkI+De2/XQD6FsCyDBHc2wde3Imw3I+V7H5f/J9 sea5Ktj77gCLTEpsi+HXdHCj5yZ77JO06UyP2mMqCHXM8o7BxtxumH3nHeXXdEkKOR QQvOGZznGYm/RKmlRBS34YEwhvgLR+FMZzcxWpZQxIEO/6Y0+n/KXtM1LP8sndUx2Y kyJSF0fhA3MSJOKzLHgwV7r973kZflOz/9jsQi9+jIEzODpBpqvZM2Rv0HPVNSRBpu R18EZFyRGS56A== 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 888EDCF8549; Thu, 20 Nov 2025 07:14:45 +0000 (UTC) From: Rudraksha Gupta via B4 Relay Date: Wed, 19 Nov 2025 23:14:42 -0800 Subject: [PATCH 1/4] ARM: dts: qcom: msm8960: expressatt: Add Light/Proximity 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: <20251119-expressatt_nfc_accel_magn_light-v1-1-636f16f05cf4@gmail.com> References: <20251119-expressatt_nfc_accel_magn_light-v1-0-636f16f05cf4@gmail.com> In-Reply-To: <20251119-expressatt_nfc_accel_magn_light-v1-0-636f16f05cf4@gmail.com> To: 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, Rudraksha Gupta X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1763622884; l=2089; i=guptarud@gmail.com; s=20240916; h=from:subject:message-id; bh=3y/PevugngpXnTyFIerATqp8HygnxRp+u1TfLII58QU=; b=LagrKQ+BSjYyxXq0usvsRwsh+wEO+8m2HP/0WG/GjT0hVI/WolqnLCIkdtwbUcrMQIT3cnjO+ IBWkE9OOAA7DRAFNROgjj8gjJUbfv0N7XDg5uWtF7JCgVGmNz7N8EoO X-Developer-Key: i=guptarud@gmail.com; a=ed25519; pk=ETrudRugWAtOpr0OhRiheQ1lXM4Kk4KGFnBySlKDi2I= X-Endpoint-Received: by B4 Relay for guptarud@gmail.com/20240916 with auth_id=211 X-Original-From: Rudraksha Gupta Reply-To: guptarud@gmail.com From: Rudraksha Gupta Currently the Proximity Sensor doesn't work, but light sensor does. Left the proximity sensor as a TODO for later. Signed-off-by: Rudraksha Gupta --- .../dts/qcom/qcom-msm8960-samsung-expressatt.dts | 36 ++++++++++++++++++= ++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts b/a= rch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts index 5ee919dce75b..1e331a046e7b 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts @@ -52,6 +52,31 @@ key-volume-down { linux,code =3D ; }; }; + + i2c-gpio-sensors { + compatible =3D "i2c-gpio"; + sda-gpios =3D <&tlmm 12 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios =3D <&tlmm 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + i2c-gpio,delay-us =3D <5>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + light-sensor@39 { + compatible =3D "amstaos,tmd2772"; + reg =3D <0x39>; + interrupt-parent =3D <&pm8921_gpio>; + interrupts =3D <6 IRQ_TYPE_EDGE_FALLING>; + vdd-supply =3D <&pm8921_l9>; + vddio-supply =3D <&pm8921_lvs4>; + + // TODO: Proximity doesn't work + amstaos,proximity-diodes =3D <0>; + led-max-microamp =3D <100000>; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&prox_sensor_int>; + }; + }; }; =20 &gsbi5 { @@ -163,6 +188,15 @@ &pm8921 { interrupts-extended =3D <&tlmm 104 IRQ_TYPE_LEVEL_LOW>; }; =20 +&pm8921_gpio { + prox_sensor_int: prox-sensor-int-state { + pins =3D "gpio6"; + function =3D "normal"; + input-enable; + bias-disable; + }; +}; + &rpm { regulators { compatible =3D "qcom,rpm-pm8921-regulators"; @@ -280,6 +314,7 @@ pm8921_l9: l9 { regulator-min-microvolt =3D <2850000>; regulator-max-microvolt =3D <2850000>; bias-pull-down; + regulator-always-on; }; =20 pm8921_l10: l10 { @@ -377,6 +412,7 @@ pm8921_lvs3: lvs3 { =20 pm8921_lvs4: lvs4 { bias-pull-down; + regulator-always-on; }; =20 pm8921_lvs5: lvs5 { --=20 2.51.2 From nobody Tue Dec 2 02:19:36 2025 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 EC53B30148C; Thu, 20 Nov 2025 07:14:45 +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=1763622886; cv=none; b=svmJ0pj37Eb455xXym6EKFlttvZbUklsDKtXVMftg55pXqitylInrbfoRjBYcft51fJ+n8QNISOLLVBqq3QHxpR0Eavut77xHHJVf1/A2IgpZhqusoatuprcL0pnd1LVGz+Y5UXQ2DRRFBHpdt5rDG+c4LyaYnYO90eiYVT9on8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763622886; c=relaxed/simple; bh=wUMRIieLBzIE+aqveirvwxw8A0WjFHGTrrZtssRY0JM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PW1iRoL3X4Uv057lQGvgYbkhcoF0KjHL88sJl0TaQ/VpI3YtgIccGsdyw9vqAZ8NiHz4WYEpX442JtlViW7vKovwM1G9SSssvzAHV++tPXK2qC9QCVJNBmxLuLUxeBJ6FtMwbo4/sQKCgPGet9NFwCFQKQmUJERrNlEull/DqII= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hs/+szAS; 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="hs/+szAS" Received: by smtp.kernel.org (Postfix) with ESMTPS id 9E917C116C6; Thu, 20 Nov 2025 07:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763622885; bh=wUMRIieLBzIE+aqveirvwxw8A0WjFHGTrrZtssRY0JM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=hs/+szASjUy0ULfQsjWLdFIGxKMiZQb8+UUkVSaR+XvPS8OzejSci3QSarOGL66QV rVY1swcpTuEOTHculcexyHFu0HYAR7dIpCrkJTblzSw3t+CmpRPT1QSy84YuJiWfD9 GMbeahOe2/Gq+K3/wYc/Z9/GkPjKMI3CLEnMHmFOcXJEaLP334TPukwM+2c3SzCfBX 3okYSJwNtb2cjEmHEUsXq8lqxFHsozPREO9ZtCmpwyByf3r8ZHJGGe4XufBJeS7Rr/ 7abIKASaH0LwIWefzrs4XV+93HgqgT5whNT65+PIFil1sQPhPtGc/mR5PKbLb+DVS8 Krk31k4XvfRmQ== 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 97561CF854A; Thu, 20 Nov 2025 07:14:45 +0000 (UTC) From: Rudraksha Gupta via B4 Relay Date: Wed, 19 Nov 2025 23:14:43 -0800 Subject: [PATCH 2/4] ARM: dts: qcom: msm8960: expressatt: Add NFC 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: <20251119-expressatt_nfc_accel_magn_light-v1-2-636f16f05cf4@gmail.com> References: <20251119-expressatt_nfc_accel_magn_light-v1-0-636f16f05cf4@gmail.com> In-Reply-To: <20251119-expressatt_nfc_accel_magn_light-v1-0-636f16f05cf4@gmail.com> To: 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, Rudraksha Gupta X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1763622884; l=1981; i=guptarud@gmail.com; s=20240916; h=from:subject:message-id; bh=dhcYn18NjnrjN7FHJSqZT3TzBPkLXU1vzgXpjYyunrU=; b=zPt4+IsQkN5byXW7pHQhBS4whiJSKUQi6rLSi45YJogrIksS4H0sZyVYFOQcTa5G5HYb4JODs F3P+jp3pQ7pBhN3Xhi411EGaxsgZ8wANu4PjI9Wme/u5humWLQg6SUh X-Developer-Key: i=guptarud@gmail.com; a=ed25519; pk=ETrudRugWAtOpr0OhRiheQ1lXM4Kk4KGFnBySlKDi2I= X-Endpoint-Received: by B4 Relay for guptarud@gmail.com/20240916 with auth_id=211 X-Original-From: Rudraksha Gupta Reply-To: guptarud@gmail.com From: Rudraksha Gupta Add pn544 NFC chip Signed-off-by: Rudraksha Gupta --- .../dts/qcom/qcom-msm8960-samsung-expressatt.dts | 46 ++++++++++++++++++= ++++ 1 file changed, 46 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts b/a= rch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts index 1e331a046e7b..81806d7ca001 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts @@ -77,6 +77,27 @@ light-sensor@39 { pinctrl-0 =3D <&prox_sensor_int>; }; }; + + i2c-gpio-nfc { + compatible =3D "i2c-gpio"; + sda-gpios =3D <&tlmm 32 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios =3D <&tlmm 33 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + i2c-gpio,delay-us =3D <5>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + nfc@2b { + compatible =3D "nxp,pn544-i2c"; + reg =3D <0x2b>; + interrupt-parent =3D <&tlmm>; + interrupts =3D <106 IRQ_TYPE_EDGE_RISING>; + enable-gpios =3D <&pm8921_gpio 21 GPIO_ACTIVE_HIGH>; + firmware-gpios =3D <&tlmm 92 GPIO_ACTIVE_HIGH>; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&nfc_default &nfc_enable>; + }; + }; }; =20 &gsbi5 { @@ -182,6 +203,22 @@ touchscreen: touchscreen-int-state { bias-disable; drive-strength =3D <2>; }; + + nfc_default: nfc-default-state { + irq-pins { + pins =3D "gpio106"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; + }; + + firmware-pins { + pins =3D "gpio92"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + }; }; =20 &pm8921 { @@ -195,6 +232,15 @@ prox_sensor_int: prox-sensor-int-state { input-enable; bias-disable; }; + + nfc_enable: nfc-enable-state { + pins =3D "gpio21"; + function =3D "normal"; + output-low; + bias-disable; + qcom,drive-strength =3D ; + power-source =3D ; + }; }; =20 &rpm { --=20 2.51.2 From nobody Tue Dec 2 02:19:36 2025 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 2DFFB303CA8; Thu, 20 Nov 2025 07:14:45 +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=1763622886; cv=none; b=VYfEy9W+1E8P5cZ5Nynz/R/QJoFpIxhoXv/OU5S6monqrEGIMtl8nlaNHyI3d4+90vgd9AXy7vp1xoF4+ICQrQWV7Aq5bM3zZMuAlO++Ib4vVEbnkHHsUDWfhXEvDb+ut2jcUSbBr06fv3gom2krzBst2WH2Z2x6l2G5N4yPgoM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763622886; c=relaxed/simple; bh=9xxxHVPVB3ijF7fi8zZXuY1fcHhaER7hDvjysMqlxF4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=C9r+z+f2bgzNgjKaSxQX9TaArA+CbBUuao09A9O6DlRhTi5fdkXN1Au3t0yZ6urN02kG7auoHtzBwYpX9A5pEvgLrBe85Q81QzwiCwUQsap4hZKhWdyUDzIY4yNtXh6gANHAIhV1TVqFfZ5kwIOjTe5etFDr6oBX4mK6dJYgCRc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oSbGXGWA; 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="oSbGXGWA" Received: by smtp.kernel.org (Postfix) with ESMTPS id B0FC3C16AAE; Thu, 20 Nov 2025 07:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763622885; bh=9xxxHVPVB3ijF7fi8zZXuY1fcHhaER7hDvjysMqlxF4=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=oSbGXGWAmNbKUtaDlyATNto/ZUPnoaj0YnC8wS2eLo2+TKCB74CEuqH2NUWnHSYcg oA7VAuAq3MRqAjo/C4FfAXGZU4isGr0pDZgaqMFeOcAHxMiP+41HNGFjR5xqS6qEfo 5JwSdGoJZZL0ePsVZt/AdKA8hRrK02r63Gc1qx7H+uy2GIl79drxbqskbB8+V8XW6G LVTdDF5xYyoG3K2KEFopQifhuyuh2SD2cq6B0bKCV08hOjtGI/C3wylb7WrnMdUbkn p86G+mD3hOXilRIR2qzNc74iv8IcCwuAlYq3Na3PZWM8SOuedTdqMpDIwthPayXVBB hLpSfeVGCyXzg== 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 A7623CF8548; Thu, 20 Nov 2025 07:14:45 +0000 (UTC) From: Rudraksha Gupta via B4 Relay Date: Wed, 19 Nov 2025 23:14:44 -0800 Subject: [PATCH 3/4] ARM: dts: qcom: msm8960: expressatt: Add Magnetometer 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: <20251119-expressatt_nfc_accel_magn_light-v1-3-636f16f05cf4@gmail.com> References: <20251119-expressatt_nfc_accel_magn_light-v1-0-636f16f05cf4@gmail.com> In-Reply-To: <20251119-expressatt_nfc_accel_magn_light-v1-0-636f16f05cf4@gmail.com> To: 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, Rudraksha Gupta X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1763622884; l=943; i=guptarud@gmail.com; s=20240916; h=from:subject:message-id; bh=YhqxAzSOCOeCQlEI5U8jpQj+HTe6yqqN3vpsUK3rJ3c=; b=JpcQamOMZqyhAWTYeQpFuh+Nt3Xqhbyq9HmE7dgA+e5sWJJ9QrUPss12nOQ4tFzcjcmYboF6l bO2gRP/ZESOAdeV4dj6/Ld4yEMIMPn4gYs1PqyMnenjwBBi69PbC2Zh X-Developer-Key: i=guptarud@gmail.com; a=ed25519; pk=ETrudRugWAtOpr0OhRiheQ1lXM4Kk4KGFnBySlKDi2I= X-Endpoint-Received: by B4 Relay for guptarud@gmail.com/20240916 with auth_id=211 X-Original-From: Rudraksha Gupta Reply-To: guptarud@gmail.com From: Rudraksha Gupta Add the Yamaha magnetometer. Mount Matrix is left as a TODO. Signed-off-by: Rudraksha Gupta --- .../boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts | 18 ++++++++++++++= ++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts b/a= rch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts index 81806d7ca001..403bef67a148 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts @@ -490,3 +490,21 @@ &usb1 { dr_mode =3D "otg"; status =3D "okay"; }; + +&gsbi12 { + qcom,mode =3D ; + status =3D "okay"; +}; + +&gsbi12_i2c { + status =3D "okay"; + + magnetometer@2e { + compatible =3D "yamaha,yas532"; + reg =3D <0x2e>; + vdd-supply =3D <&pm8921_l9>; + iovdd-supply =3D <&pm8921_lvs4>; + + // TODO: Figure out Mount Matrix + }; +}; --=20 2.51.2 From nobody Tue Dec 2 02:19:36 2025 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 2D444303CA2; Thu, 20 Nov 2025 07:14:45 +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=1763622886; cv=none; b=eOMkKeHhf5oymtzGQMyGqLu8LSAs5bGUMlEIb9u+YIoikXQi2XkQ1QD+zyzFX8l5otAd78nKZ51gqfSMuDeVHG34QBB5a7JdMkhHaBamqytkPotAVRi+QhNZIcZdzIoGjsgpHPcNkQLwC40nhqlZRBQEoEuYFIEmvFY3sZcnnrY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763622886; c=relaxed/simple; bh=8YKagX8GGBjs386z6tejk6PzXgpSQpbSPdr+btj4mkM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nvOM5sw0JvrRWg5slQd75EK3ENgIvUM6MAqn40rKvHe2Gs6H/RPYkl2sbPPCwBDfQ+33RvXgVopojv6ZO9pGjQU3fv6X3a+heUtjt7QqOBUURATo1k4+8p8S6ZPOlikWuFYT6pB/1om7jPIfrZJDUNTOCHHEX0Q7yuxhQgQxbcM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cK/l/rbM; 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="cK/l/rbM" Received: by smtp.kernel.org (Postfix) with ESMTPS id BF60FC19423; Thu, 20 Nov 2025 07:14:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763622885; bh=8YKagX8GGBjs386z6tejk6PzXgpSQpbSPdr+btj4mkM=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=cK/l/rbM6AO+vaHCxYC0aw98lDduJ81P9kd/fbr8mml/X07pV/mDatGnWsf1UyMGW U95bXiV07lzMbCdRuHHHibJIueFwJvmAbcJkbN0aZdXCwYGzQOKg4QVrxm+V3bCNIF 8FCfxOmSJSDgxVUqFQVQCdVgKvgzTwUnEPhjHq8R8HxXX70GLQhciJrRqvDp4j3SG0 KKlADPr0EM7zz9+FPFNnuvJvfIhjpnMgKt2IEXRteGTw0LIjYg1HvSI+uJAvoYOMEX 2SiNVIQdSBNAxTYy3FnP+sP8jwAlqu15i2RfRdOPvqhcm4xgOIyBiEmHhqnkpNYGCa UrSCJ7YNTMdLA== 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 B8A9CCF854B; Thu, 20 Nov 2025 07:14:45 +0000 (UTC) From: Rudraksha Gupta via B4 Relay Date: Wed, 19 Nov 2025 23:14:45 -0800 Subject: [PATCH 4/4] ARM: dts: qcom: msm8960: expressatt: Add Accelerometer 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: <20251119-expressatt_nfc_accel_magn_light-v1-4-636f16f05cf4@gmail.com> References: <20251119-expressatt_nfc_accel_magn_light-v1-0-636f16f05cf4@gmail.com> In-Reply-To: <20251119-expressatt_nfc_accel_magn_light-v1-0-636f16f05cf4@gmail.com> To: 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, Rudraksha Gupta X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1763622885; l=887; i=guptarud@gmail.com; s=20240916; h=from:subject:message-id; bh=6ayiOr7JapmOLC4broKYTiOez9Grhv0EctruDrmHy5k=; b=jr+ybj1UXxg3Cy7st9H9R5i5BunAyujF8jZjp2M2CY9DT25oDfDOs5IaRKI6swYbc9mF6fFTa RpiHCHNRHw0AmDgQVeAuNXa6/tZpX8l8A+5M/086IjMLPNLDxKJ/Oap X-Developer-Key: i=guptarud@gmail.com; a=ed25519; pk=ETrudRugWAtOpr0OhRiheQ1lXM4Kk4KGFnBySlKDi2I= X-Endpoint-Received: by B4 Relay for guptarud@gmail.com/20240916 with auth_id=211 X-Original-From: Rudraksha Gupta Reply-To: guptarud@gmail.com From: Rudraksha Gupta Add the Bosch Accelerometer. Mount Matrix is left as a TODO. Signed-off-by: Rudraksha Gupta --- arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts b/a= rch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts index 403bef67a148..5ae702693826 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts @@ -499,6 +499,15 @@ &gsbi12 { &gsbi12_i2c { status =3D "okay"; =20 + accelerometer@18 { + compatible =3D "bosch,bma254"; + reg =3D <0x18>; + vdd-supply =3D <&pm8921_l9>; + vddio-supply =3D <&pm8921_lvs4>; + + // TODO: Figure out Mount Matrix + }; + magnetometer@2e { compatible =3D "yamaha,yas532"; reg =3D <0x2e>; --=20 2.51.2