Commit 7a87adbc authored by Tobias Schramm's avatar Tobias Schramm Committed by Heiko Stuebner

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: 5a65505a ("arm64: dts: rockchip: Add initial support for Pinebook Pro")
Signed-off-by: default avatarTobias Schramm <t.schramm@manjaro.org>
Link: https://lore.kernel.org/r/20200414163952.1093784-3-t.schramm@manjaro.orgSigned-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 40df91a8
......@@ -788,7 +788,7 @@ lidbtn_gpio: lidbtn-gpio {
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>;
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment