.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Copyright Everest Semiconductor Co.,Ltd |
---|
3 | 4 | * |
---|
4 | 5 | * Author: David Yang <yangxiaohua@everest-semi.com> |
---|
5 | | - * |
---|
6 | | - * This program is free software; you can redistribute it and/or modify |
---|
7 | | - * it under the terms of the GNU General Public License version 2 as |
---|
8 | | - * published by the Free Software Foundation. |
---|
9 | | - * |
---|
10 | 6 | */ |
---|
11 | 7 | |
---|
12 | 8 | #ifndef _ES8316_H |
---|
.. | .. |
---|
126 | 122 | #define ES8316_SERDATA2_LEN_16 0x0c |
---|
127 | 123 | #define ES8316_SERDATA2_LEN_32 0x10 |
---|
128 | 124 | |
---|
| 125 | +/* ES8316_GPIO_DEBOUNCE */ |
---|
| 126 | +#define ES8316_GPIO_ENABLE_INTERRUPT 0x02 |
---|
| 127 | + |
---|
| 128 | +/* ES8316_GPIO_FLAG */ |
---|
| 129 | +#define ES8316_GPIO_FLAG_GM_NOT_SHORTED 0x02 |
---|
| 130 | +#define ES8316_GPIO_FLAG_HP_NOT_INSERTED 0x04 |
---|
| 131 | + |
---|
129 | 132 | #endif |
---|