]> git.ipfire.org Git - thirdparty/linux.git/commit
ARM: dts: qcom: msm8974-hammerhead: add device tree bindings for mpu6515
authorBrian Masney <masneyb@onstation.org>
Fri, 3 Aug 2018 00:18:53 +0000 (20:18 -0400)
committerAndy Gross <andy.gross@linaro.org>
Thu, 13 Sep 2018 19:49:47 +0000 (14:49 -0500)
commitfe8d81fe7d9aab6a8e22c8b115eb06b7707087db
tree365db269cf99ebfb7ceca390bb757bc1301a047f
parent14e63a953a8dc536a5b07df087171aaeba052d40
ARM: dts: qcom: msm8974-hammerhead: add device tree bindings for mpu6515

This patch adds device tree bindings for the mpu6515 to the LG Nexus 5
(hammerhead) phone. Confirmed that the gyroscope / accelerometer
(mpu6515), magnetometer (ak8963), and temperature / pressure (bmp280)
sensors are available on the phone.

Interrupts are not working properly on the ak8963 magnetometer so they
are currently not configured.

The bmp280 retuns temperature/pressure measurement skipped errors but
will reliably work if I run:

    echo 1 > in_pressure_oversampling_ratio
    echo 1 > in_temp_oversampling_ratio

Signed-off-by: Brian Masney <masneyb@onstation.org>
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
arch/arm/boot/dts/qcom-msm8974.dtsi