~hui.wang/alsa-driver/tiwai-trunk-fgit

« back to all changes in this revision

Viewing changes to include/wm8960.h

  • Committer: Hui Wang
  • Date: 2018-06-07 01:04:04 UTC
  • Revision ID: git-v1:baf13208df10376d9e4588ad3524aeb3c9973bdf
sync the alsa hda driver from Takashi's tree

Signed-off-by: Hui Wang <hui.wang@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * wm8960.h  --  WM8960 Soc Audio driver platform data
 
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
 
 
9
#ifndef _WM8960_PDATA_H
 
10
#define _WM8960_PDATA_H
 
11
 
 
12
#define WM8960_DRES_400R 0
 
13
#define WM8960_DRES_200R 1
 
14
#define WM8960_DRES_600R 2
 
15
#define WM8960_DRES_150R 3
 
16
#define WM8960_DRES_MAX  3
 
17
 
 
18
struct wm8960_data {
 
19
        bool capless;  /* Headphone outputs configured in capless mode */
 
20
 
 
21
        bool shared_lrclk;  /* DAC and ADC LRCLKs are wired together */
 
22
};
 
23
 
 
24
#endif