From 93deea9a60041e9c56bba97b6d3fb0bd147f5ebe Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Wed, 29 Apr 2015 14:08:38 +0200 Subject: 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 --- arch/arm/boot/dts/ste-href-tvk1281618.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/arm/boot/dts/ste-href-tvk1281618.dtsi') 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>; -- cgit v1.2.3