Linux Audio

Check our new training course

Loading...
v3.1
 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
18struct wm8960_data {
19	bool capless;  /* Headphone outputs configured in capless mode */
20
21	int dres;  /* Discharge resistance for headphone outputs */
22};
23
24#endif
v4.6
 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
18struct 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