.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * NAU8825 ALSA SoC audio driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright 2015 Google Inc. |
---|
5 | 6 | * Author: Anatol Pomozov <anatol.pomozov@chrominium.org> |
---|
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 __NAU8825_H__ |
---|
.. | .. |
---|
171 | 168 | #define NAU8825_JACK_POLARITY (1 << 1) /* 0 - active low, 1 - active high */ |
---|
172 | 169 | |
---|
173 | 170 | /* INTERRUPT_MASK (0xf) */ |
---|
| 171 | +#define NAU8825_IRQ_PIN_PULLUP (1 << 14) |
---|
| 172 | +#define NAU8825_IRQ_PIN_PULL_EN (1 << 13) |
---|
174 | 173 | #define NAU8825_IRQ_OUTPUT_EN (1 << 11) |
---|
175 | 174 | #define NAU8825_IRQ_HEADSET_COMPLETE_EN (1 << 10) |
---|
176 | 175 | #define NAU8825_IRQ_RMS_EN (1 << 8) |
---|