gpio: tegra: call pinctrl direction apis for direction input/output
Set the pins in different direction based on client request from gpio.
This will help to non-tristate the pin on gpio output mode or enable
input on gpio input mode without any explicit condition.
Bug
200270587
Based on
ca7d841ee gpio: tegra: call pinctrl direction apis for direction input/output
Change-Id: I23205a56b62c67585025551cb929b06928bcc344
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/
1286774
Reviewed-by: David Yu (Engrg-SW) <davyu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>