Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * omap_hwmod_common_ipblock_data.c - common IP block data for OMAP2+
0004  *
0005  * Copyright (C) 2011 Nokia Corporation
0006  * Copyright (C) 2012 Texas Instruments, Inc.
0007  * Paul Walmsley
0008  */
0009 
0010 #include "omap_hwmod.h"
0011 #include "omap_hwmod_common_data.h"
0012 
0013 /*
0014  * 'dss' class
0015  * display sub-system
0016  */
0017 
0018 static struct omap_hwmod_class_sysconfig omap2_dss_sysc = {
0019     .rev_offs   = 0x0000,
0020     .sysc_offs  = 0x0010,
0021     .syss_offs  = 0x0014,
0022     .sysc_flags = (SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE |
0023                SYSS_HAS_RESET_STATUS),
0024     .sysc_fields    = &omap_hwmod_sysc_type1,
0025 };
0026 
0027 struct omap_hwmod_class omap2_dss_hwmod_class = {
0028     .name   = "dss",
0029     .sysc   = &omap2_dss_sysc,
0030     .reset  = omap_dss_reset,
0031 };
0032 
0033 /*
0034  * 'rfbi' class
0035  * remote frame buffer interface
0036  */
0037 
0038 static struct omap_hwmod_class_sysconfig omap2_rfbi_sysc = {
0039     .rev_offs   = 0x0000,
0040     .sysc_offs  = 0x0010,
0041     .syss_offs  = 0x0014,
0042     .sysc_flags = (SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET |
0043                SYSC_HAS_AUTOIDLE),
0044     .idlemodes  = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
0045     .sysc_fields    = &omap_hwmod_sysc_type1,
0046 };
0047 
0048 struct omap_hwmod_class omap2_rfbi_hwmod_class = {
0049     .name   = "rfbi",
0050     .sysc   = &omap2_rfbi_sysc,
0051 };
0052