diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-01-21 14:46:17 +0530 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-04-26 15:49:47 -0700 |
commit | e03875d63d7ba1cb5da983688170b3f1a0a3bf9c (patch) | |
tree | b86a1edab14d6abeb1bf728d1fe75a734180e189 /arch/arm/mach-tegra/board-cardhu.h | |
parent | a463bd795e5b942aa8514744417481ea74d09c0b (diff) |
[ARM] tegra:cardhu: Filling power rails details.
Registering regulator tps6591x and providing different power rails
information.
Original-Change-Id: I43fe1ead2b35cee61641db44cf25971303a1b0ed
Reviewed-on: http://git-master/r/16514
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Change-Id: I9d6696c2af134dcfcde01b99d295e832903a9289
Diffstat (limited to 'arch/arm/mach-tegra/board-cardhu.h')
-rw-r--r-- | arch/arm/mach-tegra/board-cardhu.h | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/arch/arm/mach-tegra/board-cardhu.h b/arch/arm/mach-tegra/board-cardhu.h index a429d74a1c10..84107514dfc4 100644 --- a/arch/arm/mach-tegra/board-cardhu.h +++ b/arch/arm/mach-tegra/board-cardhu.h @@ -1,22 +1,30 @@ /* * arch/arm/mach-tegra/board-cardhu.h * - * Copyright (C) 2010 Google, Inc. + * Copyright (c) 2011, NVIDIA Corporation. * - * This software is licensed under the terms of the GNU General Public - * License version 2, as published by the Free Software Foundation, and - * may be copied, distributed, and modified under those terms. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _MACH_TEGRA_BOARD_CARDHU_H #define _MACH_TEGRA_BOARD_CARDHU_H +#include <mach/gpio.h> + +#define TPS6591X_GPIO_BASE TEGRA_NR_GPIOS + /* PCA954x I2C bus expander bus addresses */ #define PCA954x_I2C_BUS_BASE 6 #define PCA954x_I2C_BUS0 (PCA954x_I2C_BUS_BASE + 0) @@ -26,6 +34,7 @@ int cardhu_charge_init(void); int cardhu_regulator_init(void); +int cardhu_suspend_init(void); int cardhu_sdhci_init(void); int cardhu_pinmux_init(void); int cardhu_panel_init(void); |