Tony Lindgren | 49a0a3d | 2017-12-15 09:41:05 -0800 | [diff] [blame^] | 1 | #ifndef __TI_SYSC_DATA_H__ |
| 2 | #define __TI_SYSC_DATA_H__ |
| 3 | |
| 4 | /** |
| 5 | * struct sysc_regbits - TI OCP_SYSCONFIG register field offsets |
| 6 | * @midle_shift: Offset of the midle bit |
| 7 | * @clkact_shift: Offset of the clockactivity bit |
| 8 | * @sidle_shift: Offset of the sidle bit |
| 9 | * @enwkup_shift: Offset of the enawakeup bit |
| 10 | * @srst_shift: Offset of the softreset bit |
| 11 | * @autoidle_shift: Offset of the autoidle bit |
| 12 | * @dmadisable_shift: Offset of the dmadisable bit |
| 13 | * @emufree_shift; Offset of the emufree bit |
| 14 | * |
| 15 | * Note that 0 is a valid shift, and for ti-sysc.c -ENODEV can be used if a |
| 16 | * feature is not available. |
| 17 | */ |
| 18 | struct sysc_regbits { |
| 19 | s8 midle_shift; |
| 20 | s8 clkact_shift; |
| 21 | s8 sidle_shift; |
| 22 | s8 enwkup_shift; |
| 23 | s8 srst_shift; |
| 24 | s8 autoidle_shift; |
| 25 | s8 dmadisable_shift; |
| 26 | s8 emufree_shift; |
| 27 | }; |
| 28 | |
| 29 | #endif /* __TI_SYSC_DATA_H__ */ |