Skip to content

Commit 3649a12

Browse files
Rudraksha Guptaandersson
authored andcommitted
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>
1 parent 7f07c27 commit 3649a12

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

arch/arm/boot/dts/qcom/qcom-msm8960-samsung-expressatt.dts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,3 +487,22 @@
487487
pinctrl-names = "default";
488488
};
489489
};
490+
491+
&gsbi12 {
492+
qcom,mode = <GSBI_PROT_I2C>;
493+
494+
status = "okay";
495+
};
496+
497+
&gsbi12_i2c {
498+
status = "okay";
499+
500+
magnetometer@2e {
501+
compatible = "yamaha,yas532";
502+
reg = <0x2e>;
503+
vdd-supply = <&pm8921_l9>;
504+
iovdd-supply = <&pm8921_lvs4>;
505+
506+
/* TODO: Figure out Mount Matrix */
507+
};
508+
};

0 commit comments

Comments
 (0)