Blame view

include/sound/tpa6130a2-plat.h 965 Bytes
493b67eff   Peter Ujfalusi   ASoC: TPA6130A2 a...
1
2
3
4
5
  /*
   * TPA6130A2 driver platform header
   *
   * Copyright (C) Nokia Corporation
   *
b4079ef40   Peter Ujfalusi   ASoC: tpa6130a2: ...
6
   * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
493b67eff   Peter Ujfalusi   ASoC: TPA6130A2 a...
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
   *
   * 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
2138301e1   Ilkka Koskinen   ASoC: tpa6130a2: ...
25
26
27
28
  enum tpa_model {
  	TPA6130A2,
  	TPA6140A2,
  };
493b67eff   Peter Ujfalusi   ASoC: TPA6130A2 a...
29
  struct tpa6130a2_platform_data {
2138301e1   Ilkka Koskinen   ASoC: tpa6130a2: ...
30
  	enum tpa_model id;
493b67eff   Peter Ujfalusi   ASoC: TPA6130A2 a...
31
32
33
34
  	int power_gpio;
  };
  
  #endif