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: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Linus Walleij 2015-04-29 14:08:38 +02:00
parent b557457f63
commit 93deea9a60
2 changed files with 4 additions and 4 deletions

View file

@ -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>;

View file

@ -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>;