Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / arm / mach-omap2 / omap_hwmod_2xxx_3xxx_ipblock_data.c
blob28665d29f23fbc260f73b6dfa237140f7aa49c75
1 /*
2 * omap_hwmod_2xxx_3xxx_ipblock_data.c - common IP block data for OMAP2/3
4 * Copyright (C) 2011 Nokia Corporation
5 * Copyright (C) 2012 Texas Instruments, Inc.
6 * Paul Walmsley
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.
13 #include <linux/dmaengine.h>
14 #include <linux/omap-dma.h>
16 #include "omap_hwmod.h"
17 #include "hdq1w.h"
19 #include "omap_hwmod_common_data.h"
21 /* UART */
23 static struct omap_hwmod_class_sysconfig omap2_uart_sysc = {
24 .rev_offs = 0x50,
25 .sysc_offs = 0x54,
26 .syss_offs = 0x58,
27 .sysc_flags = (SYSC_HAS_SIDLEMODE |
28 SYSC_HAS_ENAWAKEUP | SYSC_HAS_SOFTRESET |
29 SYSC_HAS_AUTOIDLE | SYSS_HAS_RESET_STATUS),
30 .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
31 .sysc_fields = &omap_hwmod_sysc_type1,
34 struct omap_hwmod_class omap2_uart_class = {
35 .name = "uart",
36 .sysc = &omap2_uart_sysc,
40 * 'venc' class
41 * video encoder
44 struct omap_hwmod_class omap2_venc_hwmod_class = {
45 .name = "venc",
49 * omap_hwmod class data
52 struct omap_hwmod_class l3_hwmod_class = {
53 .name = "l3",
56 struct omap_hwmod_class l4_hwmod_class = {
57 .name = "l4",
60 struct omap_hwmod_class mpu_hwmod_class = {
61 .name = "mpu",
64 struct omap_hwmod_class iva_hwmod_class = {
65 .name = "iva",
68 struct omap_hwmod_class_sysconfig omap2_hdq1w_sysc = {
69 .rev_offs = 0x0,
70 .sysc_offs = 0x14,
71 .syss_offs = 0x18,
72 .sysc_flags = (SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE |
73 SYSS_HAS_RESET_STATUS),
74 .sysc_fields = &omap_hwmod_sysc_type1,
77 struct omap_hwmod_class omap2_hdq1w_class = {
78 .name = "hdq1w",
79 .sysc = &omap2_hdq1w_sysc,
80 .reset = &omap_hdq1w_reset,