• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _BAYTRAIL_MODPHY_TABLE_H_
4 #define _BAYTRAIL_MODPHY_TABLE_H_
5 
6 #include <stdint.h>
7 
8 struct modphy_entry {
9 	u8 port;
10 	u32 reg;
11 	u32 mask;
12 	u32 value;
13 	u8 op_read;
14 	u8 op_write;
15 };
16 
17 #define MODPHY_ENTRY_END ((struct modphy_entry) { 0, 0, 0, 0, 0, 0 })
18 
19 extern struct modphy_entry reva0_modphy_table[]; /* SOC stepping A0/A1 */
20 extern struct modphy_entry revb0_modphy_table[]; /* SOC stepping B0 or later */
21 
22 #endif
23