2009-10-09 19:55:41 +07:00
|
|
|
/*
|
|
|
|
* TPA6130A2 driver platform header
|
|
|
|
*
|
|
|
|
* Copyright (C) Nokia Corporation
|
|
|
|
*
|
|
|
|
* Written by Peter Ujfalusi <peter.ujfalusi@nokia.com>
|
|
|
|
*
|
|
|
|
* 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 22:48:31 +07:00
|
|
|
enum tpa_model {
|
|
|
|
TPA6130A2,
|
|
|
|
TPA6140A2,
|
|
|
|
};
|
|
|
|
|
2009-10-09 19:55:41 +07:00
|
|
|
struct tpa6130a2_platform_data {
|
2010-01-08 22:48:31 +07:00
|
|
|
enum tpa_model id;
|
2009-10-09 19:55:41 +07:00
|
|
|
int power_gpio;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|