Commits
Hebbar, Gururaja committed 3431df7f343
Input: matrix-keypad: Enhance pinctrl support Update matrix-keypad driver to set the state of the pins to: - "sleep" on suspend - "default" on resume 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. When using any of the GPIOs in a matrix-keypad for wakeup the pins must be set to the appropriate state to allow this dependent on the board. Signed-off-by: Hebbar, Gururaja <gururaja.hebbar@ti.com> Signed-off-by: Dave Gerlach <d-gerlach@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>