32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
From b2a3eb6fc188fd3696cda1d9ff6df84e0ba1df17 Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megous@megous.com>
|
|
Date: Tue, 23 Jun 2020 19:15:37 +0200
|
|
Subject: [PATCH 134/478] ARM: dts: sun8i-a83t-tbs-a711: Add regulators to the
|
|
accelerometer
|
|
|
|
The bosch,bma250 driver will fail to probe if the regulators are
|
|
not specified in DT, because it tries to set voltage on dummy
|
|
regulators, which fails with EINVAL.
|
|
|
|
Signed-off-by: Ondrej Jirman <megous@megous.com>
|
|
---
|
|
arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
|
|
index 603918c625e2..d9281c8d3ff7 100644
|
|
--- a/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
|
|
+++ b/arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts
|
|
@@ -273,6 +273,8 @@ accelerometer@18 {
|
|
reg = <0x18>;
|
|
interrupt-parent = <&pio>;
|
|
interrupts = <7 10 IRQ_TYPE_EDGE_RISING>; /* PH10 / EINT10 */
|
|
+ vdd-supply = <®_dcdc1>;
|
|
+ vddio-supply = <®_dcdc1>;
|
|
};
|
|
|
|
/* NFC (NPC 100) */
|
|
--
|
|
2.35.3
|
|
|