forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/sound/soc/codecs/rl6231.h
....@@ -1,19 +1,16 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * rl6231.h - RL6231 class device shared support
34 *
45 * Copyright 2014 Realtek Semiconductor Corp.
56 *
67 * Author: Oder Chiou <oder_chiou@realtek.com>
7
- *
8
- * This program is free software; you can redistribute it and/or modify
9
- * it under the terms of the GNU General Public License version 2 as
10
- * published by the Free Software Foundation.
118 */
129
1310 #ifndef __RL6231_H__
1411 #define __RL6231_H__
1512
16
-#define RL6231_PLL_INP_MAX 40000000
13
+#define RL6231_PLL_INP_MAX 50000000
1714 #define RL6231_PLL_INP_MIN 256000
1815 #define RL6231_PLL_N_MAX 0x1ff
1916 #define RL6231_PLL_K_MAX 0x1f
....@@ -21,6 +18,7 @@
2118
2219 struct rl6231_pll_code {
2320 bool m_bp; /* Indicates bypass m code or not. */
21
+ bool k_bp; /* Indicates bypass k code or not. */
2422 int m_code;
2523 int n_code;
2624 int k_code;