summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
diff options
context:
space:
mode:
authorTobias Schramm <t.schramm@manjaro.org>2020-04-14 19:39:52 +0300
committerHeiko Stuebner <heiko@sntech.de>2020-04-19 13:39:03 +0300
commit7a87adbc4afe7585e27b4a4f97002e9a24f2e745 (patch)
treeca1a3ba77264801991f5b303d95c2167acbfb29e /arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
parent40df91a894e9298d0f052acb6960f12ace5bee24 (diff)
downloadlinux-7a87adbc4afe7585e27b4a4f97002e9a24f2e745.tar.xz
arm64: dts: rockchip: enable DC charger detection pullup on Pinebook Pro
On the Pinebook Pro the DC charger is detected via an open collector transistor attached to a GPIO. This GPIO requires its pullup to be enabled for the detection to work reliably. Fixes: 5a65505a6988 ("arm64: dts: rockchip: Add initial support for Pinebook Pro") Signed-off-by: Tobias Schramm <t.schramm@manjaro.org> Link: https://lore.kernel.org/r/20200414163952.1093784-3-t.schramm@manjaro.org Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts')
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
index c3f15f5bd550..294d21bf45f5 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts
@@ -788,7 +788,7 @@
dc-charger {
dc_det_gpio: dc-det-gpio {
- rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
+ rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>;
};
};