pinctrl: tegra: add drive initialisation table for Tegra114
Laxman Dewangan [Thu, 7 Nov 2013 13:50:38 +0000 (18:50 +0530)]
Change-Id: Ida0d652c227b18f89b9d50ed5af33cadf569ea83
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/327755

drivers/pinctrl/pinctrl-tegra114.c

index 3b32311..a5d8d48 100644 (file)
@@ -2799,6 +2799,10 @@ static const struct tegra_pingroup tegra114_groups[] = {
        DRV_PINGROUP(vbus,  0x99c,  2,  3,  4,  12,  5,  20,  5,  28,  2,  30,  2,  N),
 };
 
+static struct tegra_pinctrl_group_config_data t114_pin_drive_group_soc_data[] = {
+       TEGRA_PINCTRL_SET_DRIVE("at2", 0, 0, 0, 48, 55, 0, 0, 0),
+};
+
 static const struct tegra_pinctrl_soc_data tegra114_pinctrl = {
        .ngpios = NUM_GPIOS,
        .pins = tegra114_pins,
@@ -2807,6 +2811,8 @@ static const struct tegra_pinctrl_soc_data tegra114_pinctrl = {
        .nfunctions = ARRAY_SIZE(tegra114_functions),
        .groups = tegra114_groups,
        .ngroups = ARRAY_SIZE(tegra114_groups),
+       .config_data = t114_pin_drive_group_soc_data,
+       .nconfig_data = ARRAY_SIZE(t114_pin_drive_group_soc_data),
 };
 
 static int tegra114_pinctrl_probe(struct platform_device *pdev)