From bfe2405cbe9ac0510cc757281233e06a834c3ecd Mon Sep 17 00:00:00 2001 From: James Wylder Date: Thu, 19 Aug 2010 20:24:59 -0500 Subject: [PATCH] [ARM] tegra: stingray: boardfiles changes for mdm6600_ctrl - give more meaningful names to ap-bp gpios, Change-Id: I1a7eea918c15271b90fb09ce882eff1691a28c21 Signed-off-by: James Wylder --- arch/arm/mach-tegra/board-stingray-power.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-tegra/board-stingray-power.c b/arch/arm/mach-tegra/board-stingray-power.c index 9ba3518b87ad..825ab1fbe192 100644 --- a/arch/arm/mach-tegra/board-stingray-power.c +++ b/arch/arm/mach-tegra/board-stingray-power.c @@ -688,23 +688,23 @@ static struct i2c_board_info __initdata stingray_i2c_bus4_power_info[] = { static struct mdm_ctrl_platform_data mdm_ctrl_platform_data = { .gpios[MDM_CTRL_GPIO_AP_STATUS_0] = { - TEGRA_GPIO_PC1, MDM_GPIO_DIRECTION_OUT, 0, 0}, - .gpios[MDM_CTRL_GPIO_AP_STATUS_1] = { TEGRA_GPIO_PC6, - MDM_GPIO_DIRECTION_OUT, 0, 0}, + TEGRA_GPIO_PC1, MDM_GPIO_DIRECTION_OUT, 0, 0, "mdm_ap_status0"}, + .gpios[MDM_CTRL_GPIO_AP_STATUS_1] = { + TEGRA_GPIO_PC6, MDM_GPIO_DIRECTION_OUT, 0, 0, "mdm_ap_status1"}, .gpios[MDM_CTRL_GPIO_AP_STATUS_2] = { - TEGRA_GPIO_PQ3, MDM_GPIO_DIRECTION_OUT, 0, 0}, + TEGRA_GPIO_PQ3, MDM_GPIO_DIRECTION_OUT, 0, 0, "mdm_ap_status2"}, .gpios[MDM_CTRL_GPIO_BP_STATUS_0] = { - TEGRA_GPIO_PK3, MDM_GPIO_DIRECTION_IN, 0, 0}, + TEGRA_GPIO_PK3, MDM_GPIO_DIRECTION_IN, 0, 0, "mdm_bp_status0"}, .gpios[MDM_CTRL_GPIO_BP_STATUS_1] = { - TEGRA_GPIO_PK4, MDM_GPIO_DIRECTION_IN, 0, 0}, + TEGRA_GPIO_PK4, MDM_GPIO_DIRECTION_IN, 0, 0, "mdm_bp_status1"}, .gpios[MDM_CTRL_GPIO_BP_STATUS_2] = { - TEGRA_GPIO_PK2, MDM_GPIO_DIRECTION_IN, 0, 0}, + TEGRA_GPIO_PK2, MDM_GPIO_DIRECTION_IN, 0, 0, "mdm_bp_status2"}, .gpios[MDM_CTRL_GPIO_BP_RESOUT] = { - TEGRA_GPIO_PS4, MDM_GPIO_DIRECTION_IN, 0, 0}, + TEGRA_GPIO_PS4, MDM_GPIO_DIRECTION_IN, 0, 0, "mdm_bp_resout"}, .gpios[MDM_CTRL_GPIO_BP_RESIN] = { - TEGRA_GPIO_PZ1, MDM_GPIO_DIRECTION_OUT_NO_DEFAULT, 0, 0}, + TEGRA_GPIO_PZ1, MDM_GPIO_DIRECTION_OUT, 0, 0, "mdm_bp_resin"}, .gpios[MDM_CTRL_GPIO_BP_PWRON] = { - TEGRA_GPIO_PS6, MDM_GPIO_DIRECTION_OUT_NO_DEFAULT, 0, 0}, + TEGRA_GPIO_PS6, MDM_GPIO_DIRECTION_OUT, 0, 0, "mdm_bp_pwr_on"}, }; static struct platform_device mdm_ctrl_platform_device = { -- 2.34.1