aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-04-30 17:02:45 +0200
committerLinus Walleij <linus.walleij@linaro.org>2020-05-05 10:12:14 +0200
commit3c278a4749a8a0d1bf8e5235ca289748fdc48b11 (patch)
tree8b189d76ff26688c74ae16dbffca46294d6f8b4e
parent521d6678b9a482058c78a9e6b2384ddc0c3c6392 (diff)
downloadlinux-stericsson-3c278a4749a8a0d1bf8e5235ca289748fdc48b11.tar.gz
ARM: dts: ux500: samsung-skomer: Add magnetometer
Add the ALPS magnetometer to the Skomer phone. Cc: Stephan Gerhold <stephan@gerhold.net> Cc: Nick Reitemeyer <nick.reitemeyer@web.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20200430150245.7935-2-linus.walleij@linaro.org
-rw-r--r--arch/arm/boot/dts/ste-ux500-samsung-skomer.dts7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts b/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
index 292ed5286652..c7d4ad34e569 100644
--- a/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
+++ b/arch/arm/boot/dts/ste-ux500-samsung-skomer.dts
@@ -140,7 +140,12 @@
pinctrl-0 = <&i2c_gpio_1_default>;
#address-cells = <1>;
#size-cells = <0>;
- /* TODO: this should be used by the ALPS HSCDTD008A compass sensor */
+ magnetometer@c {
+ compatible = "alps,hscdtd008a";
+ reg = <0x0c>;
+ avdd-supply = <&ab8500_ldo_aux1_reg>;
+ dvdd-supply = <&ab8500_ldo_aux8_reg>;
+ };
};
soc {