Last change
on this file was 772, checked in by David Azarewicz, 6 months ago |
Merge in changes from 6.6-LTS branch.
Fixed additional 25+ problems.
|
File size:
815 bytes
|
Line | |
---|
1 | /* SPDX-License-Identifier: GPL-2.0 */
|
---|
2 | /*
|
---|
3 | * linux/sound/cs35l36.h -- Platform data for CS35L36
|
---|
4 | *
|
---|
5 | * Copyright 2018 Cirrus Logic, Inc.
|
---|
6 | *
|
---|
7 | * Author: James Schulman <james.schulman@cirrus.com>
|
---|
8 | *
|
---|
9 | */
|
---|
10 |
|
---|
11 | #ifndef __CS35L36_H
|
---|
12 | #define __CS35L36_H
|
---|
13 |
|
---|
14 | struct cs35l36_vpbr_cfg {
|
---|
15 | bool is_present;
|
---|
16 | bool vpbr_en;
|
---|
17 | int vpbr_thld;
|
---|
18 | int vpbr_atk_rate;
|
---|
19 | int vpbr_atk_vol;
|
---|
20 | int vpbr_max_attn;
|
---|
21 | int vpbr_wait;
|
---|
22 | int vpbr_rel_rate;
|
---|
23 | int vpbr_mute_en;
|
---|
24 | };
|
---|
25 |
|
---|
26 | struct cs35l36_platform_data {
|
---|
27 | bool multi_amp_mode;
|
---|
28 | bool dcm_mode;
|
---|
29 | bool amp_pcm_inv;
|
---|
30 | bool imon_pol_inv;
|
---|
31 | bool vmon_pol_inv;
|
---|
32 | int boost_ind;
|
---|
33 | int bst_vctl;
|
---|
34 | int bst_vctl_sel;
|
---|
35 | int bst_ipk;
|
---|
36 | bool extern_boost;
|
---|
37 | int temp_warn_thld;
|
---|
38 | int irq_drv_sel;
|
---|
39 | int irq_gpio_sel;
|
---|
40 | struct cs35l36_vpbr_cfg vpbr_config;
|
---|
41 | };
|
---|
42 |
|
---|
43 | #endif /* __CS35L36_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.