diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-04-29 14:08:38 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-05-13 12:22:18 +0200 |
commit | 93deea9a60041e9c56bba97b6d3fb0bd147f5ebe (patch) | |
tree | e5dbbf6322f5614952c5e2b3902963dca199ebad | |
parent | ARM: ux500: add CoreSight blocks to DTS file (diff) | |
download | linux-93deea9a60041e9c56bba97b6d3fb0bd147f5ebe.tar.xz linux-93deea9a60041e9c56bba97b6d3fb0bd147f5ebe.zip |
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>
-rw-r--r-- | arch/arm/boot/dts/ste-href-tvk1281618.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/ste-snowball.dts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/ste-href-tvk1281618.dtsi b/arch/arm/boot/dts/ste-href-tvk1281618.dtsi index 062c6aae3afa..0eeb4d4b5202 100644 --- a/arch/arm/boot/dts/ste-href-tvk1281618.dtsi +++ b/arch/arm/boot/dts/ste-href-tvk1281618.dtsi @@ -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>; diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts index 206826a855c0..3844bbe61d71 100644 --- a/arch/arm/boot/dts/ste-snowball.dts +++ b/arch/arm/boot/dts/ste-snowball.dts @@ -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>; |