Blame view

include/sound/cs42l52.h 738 Bytes
dfe0f98b8   Brian Austin   ASoC: Add support...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  /*
   * linux/sound/cs42l52.h -- Platform data for CS42L52
   *
   * Copyright (c) 2012 Cirrus Logic Inc.
   *
   * 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.
   */
  
  #ifndef __CS42L52_H
  #define __CS42L52_H
  
  struct cs42l52_platform_data {
  
  	/* MICBIAS Level. Check datasheet Pg48 */
  	unsigned int micbias_lvl;
44b2ed540   Brian Austin   ASoC: cs42l52: Ma...
18
19
  	/* MICA mode selection Differential or Single-ended */
  	bool mica_diff_cfg;
dfe0f98b8   Brian Austin   ASoC: Add support...
20

44b2ed540   Brian Austin   ASoC: cs42l52: Ma...
21
22
  	/* MICB mode selection Differential or Single-ended */
  	bool micb_diff_cfg;
dfe0f98b8   Brian Austin   ASoC: Add support...
23

dfe0f98b8   Brian Austin   ASoC: Add support...
24
25
  	/* Charge Pump Freq. Check datasheet Pg73 */
  	unsigned int chgfreq;
6dd177579   Brian Austin   ASoC: cs42l52: Ad...
26
27
  	/* Reset GPIO */
  	unsigned int reset_gpio;
dfe0f98b8   Brian Austin   ASoC: Add support...
28
29
30
  };
  
  #endif /* __CS42L52_H */