.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * rt5651.h -- RT5651 ALSA SoC audio driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2011 Realtek Microelectronics |
---|
5 | 6 | * Author: Johnny Hsu <johnnyhsu@realtek.com> |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify |
---|
8 | | - * it under the terms of the GNU General Public License version 2 as |
---|
9 | | - * published by the Free Software Foundation. |
---|
10 | 7 | */ |
---|
11 | 8 | |
---|
12 | 9 | #ifndef __RT5651_H__ |
---|
.. | .. |
---|
2073 | 2070 | struct regmap *regmap; |
---|
2074 | 2071 | /* Jack and button detect data */ |
---|
2075 | 2072 | struct snd_soc_jack *hp_jack; |
---|
| 2073 | + struct gpio_desc *gpiod_hp_det; |
---|
2076 | 2074 | struct work_struct jack_detect_work; |
---|
2077 | 2075 | struct delayed_work bp_work; |
---|
2078 | 2076 | bool ovcd_irq_enabled; |
---|
.. | .. |
---|
2082 | 2080 | int release_count; |
---|
2083 | 2081 | int poll_count; |
---|
2084 | 2082 | unsigned int jd_src; |
---|
| 2083 | + bool jd_active_high; |
---|
2085 | 2084 | unsigned int ovcd_th; |
---|
2086 | 2085 | unsigned int ovcd_sf; |
---|
2087 | 2086 | |
---|