arm64: dts: qcom: msm8916-samsung-a2015: Add accelerometer/magnetometer
authorStephan Gerhold <stephan@gerhold.net>
Mon, 22 Jun 2020 15:17:51 +0000 (17:17 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 16 Jul 2020 05:00:53 +0000 (22:00 -0700)
commit079f81acf10fcdadf2ddb4bf9755509b8bdc3504
tree7877891e0bc4c4205fbbfcc0c3180acc14559859
parent4a1f08cb58e522ef6c94a0b0dde4b483e1bbe1cd
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>
arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi
arch/arm64/boot/dts/qcom/msm8916-samsung-a3u-eur.dts
arch/arm64/boot/dts/qcom/msm8916-samsung-a5u-eur.dts