mirror of https://github.com/OpenIPC/firmware.git
26 lines
818 B
Diff
26 lines
818 B
Diff
diff -drupN a/sound/soc/codecs/ad82584f.h b/sound/soc/codecs/ad82584f.h
|
|
--- a/sound/soc/codecs/ad82584f.h 1970-01-01 03:00:00.000000000 +0300
|
|
+++ b/sound/soc/codecs/ad82584f.h 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -0,0 +1,21 @@
|
|
+#ifndef _AD82584F_H
|
|
+#define _AD82584F_H
|
|
+
|
|
+#define MVOL 0x03
|
|
+#define C1VOL 0x04
|
|
+#define C2VOL 0x05
|
|
+#define CFADDR 0x1d
|
|
+#define A1CF1 0x1e
|
|
+#define A1CF2 0x1f
|
|
+#define A1CF3 0x20
|
|
+#define CFUD 0x2d
|
|
+
|
|
+#define AD82584F_REGISTER_COUNT 0x86
|
|
+#define AD82584F_RAM_TABLE_COUNT 0x80
|
|
+
|
|
+struct ad82584f_platform_data {
|
|
+ int reset_pin;
|
|
+ int amp_en;
|
|
+};
|
|
+
|
|
+#endif
|