Linux Audio

Check our new training course

Loading...
v3.1
 1/*
 2 * TPA6130A2 driver platform header
 3 *
 4 * Copyright (C) Nokia Corporation
 5 *
 6 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
 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
26enum tpa_model {
27	TPA6130A2,
28	TPA6140A2,
29};
30
31struct tpa6130a2_platform_data {
32	enum tpa_model id;
33	int power_gpio;
34};
35
36#endif
v4.6
 1/*
 2 * TPA6130A2 driver platform header
 3 *
 4 * Copyright (C) Nokia Corporation
 5 *
 6 * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
 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
 
 
 
 
 
26struct tpa6130a2_platform_data {
 
27	int power_gpio;
28};
29
30#endif