CHROMIUM: arm64: dts: rockchip: fix P1.8V_SPI leakage for rk3399 gru
The P1.8V_SPI has the 660mv leakage during s3, that come from the
CPU1_SPI_CLK, CPU1_SPI_MOSI, CPU1_SPI_MISO and CPU1_SPI_CS.
The CPU1_SPI_* pins are configured as pullup while the interface is
active; we can define a "sleep" configuration, to pull them down before
suspending and avoid leakage.
TEST=run powerd_dbus_suspend to measure the voltage on kevin, the
leakage is gone.
TEST=check dev_dbg() messages for pinctrl driver
Signed-off-by: Caesar Wang <email@example.com>
Signed-off-by: Brian Norris <firstname.lastname@example.org>
Reviewed-by: Douglas Anderson <email@example.com>
1 file changed