diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2017-07-26 10:17:04 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-28 00:40:42 -0400 |
commit | c8a311bbd03a53829bcb5a9550f32ffecad19995 (patch) | |
tree | 8645ddae711a48e89ea03060394801a2169aaf6f /drivers/pinctrl | |
parent | 5b3ad7f3c154cce469b153286eefd4c2773850f7 (diff) |
pinctrl: t186: Separate loopbak bits with IO_HV
Currently, IO_HV and loop-back configuration shares the
same enums. To separate them, copy the e_io_hv with the
loop-back information so that core framework will not see
any difference in the functionality.
Bug 200323186
Change-Id: I79dd9b0b1905e0426ae1755fb3f3edf7232ba691
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1527068
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/pinctrl-tegra186.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-tegra186.c b/drivers/pinctrl/pinctrl-tegra186.c index e19624355..af5f14aec 100644 --- a/drivers/pinctrl/pinctrl-tegra186.c +++ b/drivers/pinctrl/pinctrl-tegra186.c | |||
@@ -433,12 +433,15 @@ static struct tegra_function tegra186_functions[] = { | |||
433 | .pbias_buf_bit = e_io_hv, \ | 433 | .pbias_buf_bit = e_io_hv, \ |
434 | .preemp_bit = e_io_hv, \ | 434 | .preemp_bit = e_io_hv, \ |
435 | .rfu_in_bit = 20, \ | 435 | .rfu_in_bit = 20, \ |
436 | .lpbk_bit = -1 \ | 436 | .lpbk_reg = PINGROUP_REG_Y(r), \ |
437 | .lpbk_bank = bank, \ | ||
438 | .lpbk_bit = e_io_hv \ | ||
437 | 439 | ||
438 | #define PIN_PINGROUP_ENTRY_N(pg_name) \ | 440 | #define PIN_PINGROUP_ENTRY_N(pg_name) \ |
439 | .mux_reg = -1, \ | 441 | .mux_reg = -1, \ |
440 | .pupd_reg = -1, \ | 442 | .pupd_reg = -1, \ |
441 | .tri_reg = -1, \ | 443 | .tri_reg = -1, \ |
444 | .lpbk_reg = -1, \ | ||
442 | .einput_bit = -1, \ | 445 | .einput_bit = -1, \ |
443 | .e_io_hv_bit = -1, \ | 446 | .e_io_hv_bit = -1, \ |
444 | .odrain_bit = -1, \ | 447 | .odrain_bit = -1, \ |