1 // SPDX-License-Identifier: GPL-2.0-only
3 * omap_hwmod_2xxx_3xxx_ipblock_data.c - common IP block data for OMAP2/3
5 * Copyright (C) 2011 Nokia Corporation
6 * Copyright (C) 2012 Texas Instruments, Inc.
10 #include <linux/dmaengine.h>
11 #include <linux/omap-dma.h>
13 #include "omap_hwmod.h"
16 #include "omap_hwmod_common_data.h"
20 static struct omap_hwmod_class_sysconfig omap2_uart_sysc
= {
24 .sysc_flags
= (SYSC_HAS_SIDLEMODE
|
25 SYSC_HAS_ENAWAKEUP
| SYSC_HAS_SOFTRESET
|
26 SYSC_HAS_AUTOIDLE
| SYSS_HAS_RESET_STATUS
),
27 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
),
28 .sysc_fields
= &omap_hwmod_sysc_type1
,
31 struct omap_hwmod_class omap2_uart_class
= {
33 .sysc
= &omap2_uart_sysc
,
41 struct omap_hwmod_class omap2_venc_hwmod_class
= {
46 * omap_hwmod class data
49 struct omap_hwmod_class l3_hwmod_class
= {
53 struct omap_hwmod_class l4_hwmod_class
= {
57 struct omap_hwmod_class mpu_hwmod_class
= {
61 struct omap_hwmod_class iva_hwmod_class
= {
65 struct omap_hwmod_class_sysconfig omap2_hdq1w_sysc
= {
69 .sysc_flags
= (SYSC_HAS_SOFTRESET
| SYSC_HAS_AUTOIDLE
|
70 SYSS_HAS_RESET_STATUS
),
71 .sysc_fields
= &omap_hwmod_sysc_type1
,
74 struct omap_hwmod_class omap2_hdq1w_class
= {
76 .sysc
= &omap2_hdq1w_sysc
,
77 .reset
= &omap_hdq1w_reset
,