提交 93deea9a 编写于 作者: L 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: NLinus Walleij <linus.walleij@linaro.org>
上级 b557457f
......@@ -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>;
......
......@@ -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>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册