2009-10-09 12:55:41 +00:00
|
|
|
/*
|
|
|
|
* TPA6130A2 driver platform header
|
|
|
|
*
|
|
|
|
* Copyright (C) Nokia Corporation
|
|
|
|
*
|
2011-05-03 15:12:41 +00:00
|
|
|
* Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
|
2009-10-09 12:55:41 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* version 2 as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* 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 St, Fifth Floor, Boston, MA
|
|
|
|
* 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef TPA6130A2_PLAT_H
|
|
|
|
#define TPA6130A2_PLAT_H
|
|
|
|
|
2010-01-08 15:48:31 +00:00
|
|
|
enum tpa_model {
|
|
|
|
TPA6130A2,
|
|
|
|
TPA6140A2,
|
|
|
|
};
|
|
|
|
|
2009-10-09 12:55:41 +00:00
|
|
|
struct tpa6130a2_platform_data {
|
2010-01-08 15:48:31 +00:00
|
|
|
enum tpa_model id;
|
2009-10-09 12:55:41 +00:00
|
|
|
int power_gpio;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|