aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts
diff options
context:
space:
mode:
authorStephan Gerhold <stephan@gerhold.net>2020-06-22 17:17:51 +0200
committerBjorn Andersson <bjorn.andersson@linaro.org>2020-07-15 22:00:53 -0700
commit079f81acf10fcdadf2ddb4bf9755509b8bdc3504 (patch)
tree7877891e0bc4c4205fbbfcc0c3180acc14559859 /arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts
parentarm64: dts: qcom: msm8916: Use higher I2C drive-strength only on DB410c (diff)
downloadwireguard-linux-079f81acf10fcdadf2ddb4bf9755509b8bdc3504.tar.xz
wireguard-linux-079f81acf10fcdadf2ddb4bf9755509b8bdc3504.zip
arm64: dts: qcom: msm8916-samsung-a2015: Add accelerometer/magnetometer
A3U/A5U both use a Bosch BMC150 accelerometer/magnetometer combo. The chip provides two separate I2C devices for the accelerometer and magnetometer that are already supported by the bmc150-accel and bmc150-magn driver. The only difference between A3U/A5U is the way the sensor is mounted on the mainboard - set the mount-matrix in the device-specific device tree part to handle that difference. Co-developed-by: Michael Srba <michael.srba@seznam.cz> Signed-off-by: Michael Srba <michael.srba@seznam.cz> Signed-off-by: Stephan Gerhold <stephan@gerhold.net> Link: https://lore.kernel.org/r/20200622151751.408995-5-stephan@gerhold.net Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts')
-rw-r--r--arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts
index 33160a3687ce..410c7d199f96 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts
@@ -22,6 +22,12 @@
};
};
+&accelerometer {
+ mount-matrix = "0", "1", "0",
+ "1", "0", "0",
+ "0", "0", "1";
+};
+
&dsi0 {
panel@0 {
reg = <0>;