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.

BUG=chrome-os-partner:57262
TEST=run powerd_dbus_suspend to measure the voltage on kevin, the
     leakage is gone.
TEST=check dev_dbg() messages for pinctrl driver

Change-Id: Iec8108089eaf431da86e2aa68fb3c7e2825b6dcb
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/414794
Reviewed-by: Douglas Anderson <dianders@chromium.org>
1 file changed