Dong Aisheng | 4e1b4ec | 2011-11-22 23:54:23 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011 Freescale Semiconductor, Inc. All Rights Reserved. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | #ifndef __MACH_DIGCTL_H__ |
| 10 | #define __MACH_DIGCTL_H__ |
| 11 | |
| 12 | /* MXS DIGCTL SAIF CLKMUX */ |
| 13 | #define MXS_DIGCTL_SAIF_CLKMUX_DIRECT 0x0 |
| 14 | #define MXS_DIGCTL_SAIF_CLKMUX_CROSSINPUT 0x1 |
| 15 | #define MXS_DIGCTL_SAIF_CLKMUX_EXTMSTR0 0x2 |
| 16 | #define MXS_DIGCTL_SAIF_CLKMUX_EXTMSTR1 0x3 |
| 17 | |
| 18 | #define HW_DIGCTL_CTRL 0x0 |
| 19 | #define BP_DIGCTL_CTRL_SAIF_CLKMUX 10 |
| 20 | #define BM_DIGCTL_CTRL_SAIF_CLKMUX (0x3 << 10) |
Shawn Guo | 845da6b | 2012-01-06 09:11:40 +0800 | [diff] [blame] | 21 | #define HW_DIGCTL_CHIPID 0x310 |
Dong Aisheng | 4e1b4ec | 2011-11-22 23:54:23 +0800 | [diff] [blame] | 22 | #endif |