forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/sound/soc/codecs/nau8825.h
....@@ -1,12 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * NAU8825 ALSA SoC audio driver
34 *
45 * Copyright 2015 Google Inc.
56 * 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.
107 */
118
129 #ifndef __NAU8825_H__
....@@ -171,6 +168,8 @@
171168 #define NAU8825_JACK_POLARITY (1 << 1) /* 0 - active low, 1 - active high */
172169
173170 /* INTERRUPT_MASK (0xf) */
171
+#define NAU8825_IRQ_PIN_PULLUP (1 << 14)
172
+#define NAU8825_IRQ_PIN_PULL_EN (1 << 13)
174173 #define NAU8825_IRQ_OUTPUT_EN (1 << 11)
175174 #define NAU8825_IRQ_HEADSET_COMPLETE_EN (1 << 10)
176175 #define NAU8825_IRQ_RMS_EN (1 << 8)