diff options
author | Tobias Schramm <t.schramm@manjaro.org> | 2020-04-14 18:39:52 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2020-04-19 12:39:03 +0200 |
commit | 7a87adbc4afe7585e27b4a4f97002e9a24f2e745 (patch) | |
tree | ca1a3ba77264801991f5b303d95c2167acbfb29e /arch | |
parent | 40df91a894e9298d0f052acb6960f12ace5bee24 (diff) | |
download | linux-7a87adbc4afe7585e27b4a4f97002e9a24f2e745.tar.gz linux-7a87adbc4afe7585e27b4a4f97002e9a24f2e745.tar.bz2 linux-7a87adbc4afe7585e27b4a4f97002e9a24f2e745.zip |
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')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-pinebook-pro.dts | 2 |
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>; }; }; |