Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 93deea9a authored by Linus Walleij's avatar Linus Walleij
Browse files

ARM: ux500: fix lsm303dlh magnetometer compat string



The magnetometer found on the Ux500 TVK and Snowball boards
is a LSM303DLH not a LSM303DLM, small differences but still
different. Put in the right compatible strings and things start
working smoothly.

Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent b557457f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -100,9 +100,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&accel_tvk_mode>;
			};
			lsm303dlm@1e {
			lsm303dlh@1e {
				/* Magnetometer */
				compatible = "st,lsm303dlm-magn";
				compatible = "st,lsm303dlh-magn";
				reg = <0x1e>;
				vdd-supply = <&ab8500_ldo_aux1_reg>;
				vddio-supply = <&db8500_vsmps2_reg>;
+2 −2
Original line number Diff line number Diff line
@@ -250,9 +250,9 @@
				pinctrl-names = "default";
				pinctrl-0 = <&accel_snowball_mode>;
			};
			lsm303dlm@1e {
			lsm303dlh@1e {
				/* Magnetometer */
				compatible = "st,lsm303dlm-magn";
				compatible = "st,lsm303dlh-magn";
				reg = <0x1e>;
				vdd-supply = <&ab8500_ldo_aux1_reg>;
				vddio-supply = <&db8500_vsmps2_reg>;