arm64: dts: sun50i-pinephone: dldo4 must not be >= 1.8V
authorOndrej Jirman <megous@megous.com>
Fri, 3 Jul 2020 19:48:42 +0000 (21:48 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Mon, 6 Jul 2020 05:11:58 +0000 (07:11 +0200)
commit86be5c789690eb08656b08c072c50a7b02bf41f1
treeb0f4f1be77282d3514c816cec63367d6f155fe3d
parente53568caa25c530a0fc4e3c2e1c275119fba7f91
arm64: dts: sun50i-pinephone: dldo4 must not be >= 1.8V

Some outputs from the RTL8723CS are connected to the PL port (BT_WAKE_AP),
which runs at 1.8V. When BT_WAKE_AP is high, the PL pin this signal is
connected to is overdriven, and the whole PL port's voltage rises
somewhat. This results in changing voltage on the R_PWM pin (PL10),
which is the cause for backlight flickering very noticeably when typing
on a Bluetooth keyboard, because backlight intensity is highly sensitive
to the voltage of the R_PWM pin.

Limit the maximum WiFi/BT I/O voltage to 1.8V to avoid overdriving
the PL port pins via BT and WiFi IO port signals. WiFi and BT
functionality is unaffected by this change.

This completely stops the backlight flicker when using bluetooth.

Fixes: 91f480d40942 ("arm64: dts: allwinner: Add initial support for Pine64 PinePhone")
Signed-off-by: Ondrej Jirman <megous@megous.com>
Link: https://lore.kernel.org/r/20200703194842.111845-4-megous@megous.com
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi