]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
arm64: dts: qcom: msm8916-samsung-a2015: Fix sensors
authorStephan Gerhold <stephan@gerhold.net>
Mon, 11 Jan 2021 17:53:58 +0000 (18:53 +0100)
committerAndrea Righi <andrea.righi@canonical.com>
Mon, 15 Mar 2021 14:08:53 +0000 (15:08 +0100)
commit223fdba8b44e63ed372aec4ab382f128fc70d4d6
tree208cf9540bc6d3aecf7758f2a9393aa3e29c5a3e
parentdfc969f5f8c965546a287461861a9e911de3ba7f
arm64: dts: qcom: msm8916-samsung-a2015: Fix sensors

[ Upstream commit 3716a583fe0bbe3babf4ce260064a7fa13d6d989 ]

When the BMC150 accelerometer/magnetometer was added to the device tree,
the sensors were working without specifying any regulator supplies,
likely because the regulators were on by default and then never turned off.

For some reason, this is no longer the case for pm8916_l17, which prevents
the sensors from working in some cases.

Now that the bmc150_accel/bmc150_magn drivers can enable necessary
regulators, declare the necessary regulator supplies to make the sensors
work again.

Fixes: 079f81acf10f ("arm64: dts: qcom: msm8916-samsung-a2015: Add accelerometer/magnetometer")
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20210111175358.97171-1-stephan@gerhold.net
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
arch/arm64/boot/dts/qcom/msm8916-samsung-a2015-common.dtsi