ARM: dts: qcom: msm8960: expressatt: Add Magnetometer

Add the Yamaha magnetometer. Mount Matrix is left as a TODO.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Rudraksha Gupta <guptarud@gmail.com>
Link: https://lore.kernel.org/r/20251124-expressatt_nfc_accel_magn_light-v4-4-9c5686ad67e2@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
This commit is contained in:
Rudraksha Gupta 2025-11-24 15:35:25 -08:00 committed by Bjorn Andersson
parent 7f07c27808
commit 3649a120a7

View File

@ -487,3 +487,22 @@ nfc@2b {
pinctrl-names = "default";
};
};
&gsbi12 {
qcom,mode = <GSBI_PROT_I2C>;
status = "okay";
};
&gsbi12_i2c {
status = "okay";
magnetometer@2e {
compatible = "yamaha,yas532";
reg = <0x2e>;
vdd-supply = <&pm8921_l9>;
iovdd-supply = <&pm8921_lvs4>;
/* TODO: Figure out Mount Matrix */
};
};