From 7f45d77240f9fc9948ba4d9c4eec3b97c3e2c51d Mon Sep 17 00:00:00 2001 From: Rudraksha Gupta Date: Mon, 24 Nov 2025 15:35:27 -0800 Subject: [PATCH] ARM: dts: qcom: msm8960: expressatt: Add Accelerometer Add the Bosch Accelerometer. Reviewed-by: Konrad Dybcio Signed-off-by: Rudraksha Gupta Link: https://lore.kernel.org/r/20251124-expressatt_nfc_accel_magn_light-v4-6-9c5686ad67e2@gmail.com Signed-off-by: Bjorn Andersson --- .../boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts b/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts index d32461fc58e9d..5a39abd6f3ce9 100644 --- a/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts +++ b/arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts @@ -497,6 +497,17 @@ &gsbi12_i2c { status = "okay"; + accelerometer@18 { + compatible = "bosch,bma254"; + reg = <0x18>; + vdd-supply = <&pm8921_l9>; + vddio-supply = <&pm8921_lvs4>; + + mount-matrix = "-1", "0", "0", + "0", "-1", "0", + "0", "0", "1"; + }; + magnetometer@2e { compatible = "yamaha,yas532"; reg = <0x2e>; -- 2.47.3