~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/platform_data/omap-twl4030.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/linux/platform_data/omap-twl4030.h (Version linux-6.12-rc7) and /include/linux/platform_data/omap-twl4030.h (Version linux-4.18.20)


  1 /* SPDX-License-Identifier: GPL-2.0-only */    << 
  2 /**                                                 1 /**
  3  * omap-twl4030.h - ASoC machine driver for TI      2  * omap-twl4030.h - ASoC machine driver for TI SoC based boards with twl4030
  4  *                  codec, header.                  3  *                  codec, header.
  5  *                                                  4  *
  6  * Copyright (C) 2012 Texas Instruments Incorp !!   5  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com
  7  * All rights reserved.                             6  * All rights reserved.
  8  *                                                  7  *
  9  * Author: Peter Ujfalusi <peter.ujfalusi@ti.c      8  * Author: Peter Ujfalusi <peter.ujfalusi@ti.com>
                                                   >>   9  *
                                                   >>  10  * This program is free software; you can redistribute it and/or
                                                   >>  11  * modify it under the terms of the GNU General Public License
                                                   >>  12  * version 2 as published by the Free Software Foundation.
                                                   >>  13  *
                                                   >>  14  * This program is distributed in the hope that it will be useful, but
                                                   >>  15  * WITHOUT ANY WARRANTY; without even the implied warranty of
                                                   >>  16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
                                                   >>  17  * General Public License for more details.
                                                   >>  18  *
                                                   >>  19  * You should have received a copy of the GNU General Public License
                                                   >>  20  * along with this program; if not, write to the Free Software
                                                   >>  21  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
                                                   >>  22  * 02110-1301 USA
 10  */                                                23  */
 11                                                    24 
 12 #ifndef _OMAP_TWL4030_H_                           25 #ifndef _OMAP_TWL4030_H_
 13 #define _OMAP_TWL4030_H_                           26 #define _OMAP_TWL4030_H_
 14                                                    27 
 15 /* To select if only one channel is connected      28 /* To select if only one channel is connected in a stereo port */
 16 #define OMAP_TWL4030_LEFT       (1 << 0)           29 #define OMAP_TWL4030_LEFT       (1 << 0)
 17 #define OMAP_TWL4030_RIGHT      (1 << 1)           30 #define OMAP_TWL4030_RIGHT      (1 << 1)
 18                                                    31 
 19 struct omap_tw4030_pdata {                         32 struct omap_tw4030_pdata {
 20         const char *card_name;                     33         const char *card_name;
 21         /* Voice port is connected to McBSP3 *     34         /* Voice port is connected to McBSP3 */
 22         bool voice_connected;                      35         bool voice_connected;
 23                                                    36 
 24         /* The driver will parse the connectio     37         /* The driver will parse the connection flags if this flag is set */
 25         bool    custom_routing;                    38         bool    custom_routing;
 26         /* Flags to indicate connected audio p     39         /* Flags to indicate connected audio ports. */
 27         u8      has_hs;                            40         u8      has_hs;
 28         u8      has_hf;                            41         u8      has_hf;
 29         u8      has_predriv;                       42         u8      has_predriv;
 30         u8      has_carkit;                        43         u8      has_carkit;
 31         bool    has_ear;                           44         bool    has_ear;
 32                                                    45 
 33         bool    has_mainmic;                       46         bool    has_mainmic;
 34         bool    has_submic;                        47         bool    has_submic;
 35         bool    has_hsmic;                         48         bool    has_hsmic;
 36         bool    has_carkitmic;                     49         bool    has_carkitmic;
 37         bool    has_digimic0;                      50         bool    has_digimic0;
 38         bool    has_digimic1;                      51         bool    has_digimic1;
 39         u8      has_linein;                        52         u8      has_linein;
                                                   >>  53 
                                                   >>  54         /* Jack detect GPIO or  <= 0 if it is not implemented */
                                                   >>  55         int jack_detect;
 40 };                                                 56 };
 41                                                    57 
 42 #endif /* _OMAP_TWL4030_H_ */                      58 #endif /* _OMAP_TWL4030_H_ */
 43                                                    59 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php