summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-tegra.h
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-11-05 20:38:08 +0530
committerLaxman Dewangan <ldewangan@nvidia.com>2013-11-07 02:08:04 -0800
commitfa5c5ce98104f398fc2b2311bcc29561e6af5ab9 (patch)
tree14e358825d521091c1536da99edcdcd469bd6c16 /drivers/pinctrl/pinctrl-tegra.h
parente1da37ced95c06dd2fa361ac96a7e4706746c5fb (diff)
pinctrl: tegra: add mux option for non-dt support
The non-dt mux option is defined in the mach/pinmux.h and hence added these option in the pingroup table to look for non-dt mux option when using the driver from board files. Change-Id: Ic0c04513f4ebdc0ce8abab06f373518a6dc14dd5 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/326724 GVS: Gerrit_Virtual_Submit Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Diffstat (limited to 'drivers/pinctrl/pinctrl-tegra.h')
-rw-r--r--drivers/pinctrl/pinctrl-tegra.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pinctrl/pinctrl-tegra.h b/drivers/pinctrl/pinctrl-tegra.h
index c45b36e57aca..db93f918ce6b 100644
--- a/drivers/pinctrl/pinctrl-tegra.h
+++ b/drivers/pinctrl/pinctrl-tegra.h
@@ -87,6 +87,8 @@ struct tegra_pingroup {
unsigned npins;
unsigned funcs[4];
unsigned func_safe;
+ unsigned funcs_non_dt[4];
+ unsigned func_safe_non_dt;
s16 mux_reg;
s16 pupd_reg;
s16 tri_reg;
@@ -128,6 +130,7 @@ struct tegra_pingroup {
u32 slwr_width:6;
u32 slwf_width:6;
u32 drvtype_width:6;
+ const char *dev_id;
};
/**