Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * linux/sound/cs42l56.h -- Platform data for CS42L56
0004  *
0005  * Copyright (c) 2014 Cirrus Logic Inc.
0006  */
0007 
0008 #ifndef __CS42L56_H
0009 #define __CS42L56_H
0010 
0011 struct cs42l56_platform_data {
0012 
0013     /* GPIO for Reset */
0014     unsigned int gpio_nreset;
0015 
0016     /* MICBIAS Level. Check datasheet Pg48 */
0017     unsigned int micbias_lvl;
0018 
0019     /* Analog Input 1A Reference 0=Single 1=Pseudo-Differential */
0020     unsigned int ain1a_ref_cfg;
0021 
0022     /* Analog Input 2A Reference 0=Single 1=Pseudo-Differential */
0023     unsigned int ain2a_ref_cfg;
0024 
0025     /* Analog Input 1B Reference 0=Single 1=Pseudo-Differential */
0026     unsigned int ain1b_ref_cfg;
0027 
0028     /* Analog Input 2B Reference 0=Single 1=Pseudo-Differential */
0029     unsigned int ain2b_ref_cfg;
0030 
0031     /* Charge Pump Freq. Check datasheet Pg62 */
0032     unsigned int chgfreq;
0033 
0034     /* HighPass Filter Right Channel Corner Frequency */
0035     unsigned int hpfb_freq;
0036 
0037     /* HighPass Filter Left Channel Corner Frequency */
0038     unsigned int hpfa_freq;
0039 
0040     /* Adaptive Power Control for LO/HP */
0041     unsigned int adaptive_pwr;
0042 
0043 };
0044 
0045 #endif /* __CS42L56_H */