Peter Ujfalusi | 493b67e | 2009-10-09 15:55:41 +0300 | [diff] [blame] | 1 | /* |
| 2 | * TPA6130A2 driver platform header |
| 3 | * |
| 4 | * Copyright (C) Nokia Corporation |
| 5 | * |
Peter Ujfalusi | b4079ef | 2011-05-03 18:12:41 +0300 | [diff] [blame] | 6 | * Author: Peter Ujfalusi <peter.ujfalusi@ti.com> |
Peter Ujfalusi | 493b67e | 2009-10-09 15:55:41 +0300 | [diff] [blame] | 7 | * |
| 8 | * This program is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU General Public License |
| 10 | * version 2 as published by the Free Software Foundation. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, but |
| 13 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 15 | * General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License |
| 18 | * along with this program; if not, write to the Free Software |
| 19 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
| 20 | * 02110-1301 USA |
| 21 | */ |
| 22 | |
| 23 | #ifndef TPA6130A2_PLAT_H |
| 24 | #define TPA6130A2_PLAT_H |
| 25 | |
Ilkka Koskinen | 2138301 | 2010-01-08 17:48:31 +0200 | [diff] [blame] | 26 | enum tpa_model { |
| 27 | TPA6130A2, |
| 28 | TPA6140A2, |
| 29 | }; |
| 30 | |
Peter Ujfalusi | 493b67e | 2009-10-09 15:55:41 +0300 | [diff] [blame] | 31 | struct tpa6130a2_platform_data { |
Ilkka Koskinen | 2138301 | 2010-01-08 17:48:31 +0200 | [diff] [blame] | 32 | enum tpa_model id; |
Peter Ujfalusi | 493b67e | 2009-10-09 15:55:41 +0300 | [diff] [blame] | 33 | int power_gpio; |
| 34 | }; |
| 35 | |
| 36 | #endif |