uda1380.h (85e9ca333d03fbd56b9e123c8456f0d98e20faad) | uda1380.h (88fc39d721c3e5d32fd57d682b80fe0626379efb) |
---|---|
1/* 2 * Audio support for Philips UDA1380 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 * 8 * Copyright (c) 2005 Giorgio Padrin <giorgio@mandarinlogiq.org> --- 59 unchanged lines hidden (view full) --- 68#define R14_SDET_ON 0x0040 69#define R21_MT_ADC 0x8000 70#define R22_SEL_LNA 0x0008 71#define R22_SEL_MIC 0x0004 72#define R22_SKIP_DCFIL 0x0002 73#define R23_AGC_EN 0x0001 74 75struct uda1380_setup_data { | 1/* 2 * Audio support for Philips UDA1380 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License version 2 as 6 * published by the Free Software Foundation. 7 * 8 * Copyright (c) 2005 Giorgio Padrin <giorgio@mandarinlogiq.org> --- 59 unchanged lines hidden (view full) --- 68#define R14_SDET_ON 0x0040 69#define R21_MT_ADC 0x8000 70#define R22_SEL_LNA 0x0008 71#define R22_SEL_MIC 0x0004 72#define R22_SKIP_DCFIL 0x0002 73#define R23_AGC_EN 0x0001 74 75struct uda1380_setup_data { |
76 int i2c_bus; |
|
76 unsigned short i2c_address; 77 int dac_clk; 78#define UDA1380_DAC_CLK_SYSCLK 0 79#define UDA1380_DAC_CLK_WSPLL 1 80}; 81 82#define UDA1380_DAI_DUPLEX 0 /* playback and capture on single DAI */ 83#define UDA1380_DAI_PLAYBACK 1 /* playback DAI */ 84#define UDA1380_DAI_CAPTURE 2 /* capture DAI */ 85 86extern struct snd_soc_dai uda1380_dai[3]; 87extern struct snd_soc_codec_device soc_codec_dev_uda1380; 88 89#endif /* _UDA1380_H */ | 77 unsigned short i2c_address; 78 int dac_clk; 79#define UDA1380_DAC_CLK_SYSCLK 0 80#define UDA1380_DAC_CLK_WSPLL 1 81}; 82 83#define UDA1380_DAI_DUPLEX 0 /* playback and capture on single DAI */ 84#define UDA1380_DAI_PLAYBACK 1 /* playback DAI */ 85#define UDA1380_DAI_CAPTURE 2 /* capture DAI */ 86 87extern struct snd_soc_dai uda1380_dai[3]; 88extern struct snd_soc_codec_device soc_codec_dev_uda1380; 89 90#endif /* _UDA1380_H */ |