aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/ti-sysc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/ti-sysc.h')
-rw-r--r--include/linux/platform_data/ti-sysc.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/linux/platform_data/ti-sysc.h b/include/linux/platform_data/ti-sysc.h
new file mode 100644
index 000000000000..280466099b76
--- /dev/null
+++ b/include/linux/platform_data/ti-sysc.h
@@ -0,0 +1,29 @@
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 */
18struct 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__ */