| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * rl6231.h - RL6231 class device shared support |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2014 Realtek Semiconductor Corp. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * 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. |
|---|
| 11 | 8 | */ |
|---|
| 12 | 9 | |
|---|
| 13 | 10 | #ifndef __RL6231_H__ |
|---|
| 14 | 11 | #define __RL6231_H__ |
|---|
| 15 | 12 | |
|---|
| 16 | | -#define RL6231_PLL_INP_MAX 40000000 |
|---|
| 13 | +#define RL6231_PLL_INP_MAX 50000000 |
|---|
| 17 | 14 | #define RL6231_PLL_INP_MIN 256000 |
|---|
| 18 | 15 | #define RL6231_PLL_N_MAX 0x1ff |
|---|
| 19 | 16 | #define RL6231_PLL_K_MAX 0x1f |
|---|
| .. | .. |
|---|
| 21 | 18 | |
|---|
| 22 | 19 | struct rl6231_pll_code { |
|---|
| 23 | 20 | bool m_bp; /* Indicates bypass m code or not. */ |
|---|
| 21 | + bool k_bp; /* Indicates bypass k code or not. */ |
|---|
| 24 | 22 | int m_code; |
|---|
| 25 | 23 | int n_code; |
|---|
| 26 | 24 | int k_code; |
|---|