]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/tilcdc: adopt pinctrl support
authorDave Gerlach <d-gerlach@ti.com>
Tue, 29 Jul 2014 06:27:58 +0000 (06:27 +0000)
committerJyri Sarha <jsarha@ti.com>
Thu, 25 Feb 2016 14:39:30 +0000 (16:39 +0200)
commit416a07fbe7b1f1a6f7e0595b43b5a85a1c877e05
tree8222c12295a52aa65ec394997381d52aa8ac1f53
parent6f206e9d2a965771e99bca4c22dbadac1b58a0e8
drm/tilcdc: adopt pinctrl support

Update tilcdc driver to set the state of the pins to:
- "default on resume
- "sleep" on suspend

By optionally putting the pins into sleep state in the suspend callback
we can accomplish two things.
- minimize current leakage from pins and thus save power,
- prevent the IP from driving pins output in an uncontrolled manner,
which may happen if the power domain drops the domain regulator.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Darren Etheridge <detheridge@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_drv.c