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

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
...@@ -100,9 +100,9 @@ lsm303dlh@18 { ...@@ -100,9 +100,9 @@ lsm303dlh@18 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&accel_tvk_mode>; pinctrl-0 = <&accel_tvk_mode>;
}; };
lsm303dlm@1e { lsm303dlh@1e {
/* Magnetometer */ /* Magnetometer */
compatible = "st,lsm303dlm-magn"; compatible = "st,lsm303dlh-magn";
reg = <0x1e>; reg = <0x1e>;
vdd-supply = <&ab8500_ldo_aux1_reg>; vdd-supply = <&ab8500_ldo_aux1_reg>;
vddio-supply = <&db8500_vsmps2_reg>; vddio-supply = <&db8500_vsmps2_reg>;
......
...@@ -250,9 +250,9 @@ lsm303dlh@18 { ...@@ -250,9 +250,9 @@ lsm303dlh@18 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&accel_snowball_mode>; pinctrl-0 = <&accel_snowball_mode>;
}; };
lsm303dlm@1e { lsm303dlh@1e {
/* Magnetometer */ /* Magnetometer */
compatible = "st,lsm303dlm-magn"; compatible = "st,lsm303dlh-magn";
reg = <0x1e>; reg = <0x1e>;
vdd-supply = <&ab8500_ldo_aux1_reg>; vdd-supply = <&ab8500_ldo_aux1_reg>;
vddio-supply = <&db8500_vsmps2_reg>; vddio-supply = <&db8500_vsmps2_reg>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment