Linux Audio

Check our new training course

Loading...
v6.13.7
 1// SPDX-License-Identifier: GPL-2.0-only
 2/*
 3 * omap_hwmod_common_ipblock_data.c - common IP block data for OMAP2+
 4 *
 5 * Copyright (C) 2011 Nokia Corporation
 6 * Copyright (C) 2012 Texas Instruments, Inc.
 7 * Paul Walmsley
 8 */
 9
10#include "omap_hwmod.h"
11#include "omap_hwmod_common_data.h"
12
13/*
14 * 'dss' class
15 * display sub-system
16 */
17
18static struct omap_hwmod_class_sysconfig omap2_dss_sysc = {
19	.rev_offs	= 0x0000,
20	.sysc_offs	= 0x0010,
21	.syss_offs	= 0x0014,
22	.sysc_flags	= (SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE |
23			   SYSS_HAS_RESET_STATUS),
24	.sysc_fields	= &omap_hwmod_sysc_type1,
25};
26
27struct omap_hwmod_class omap2_dss_hwmod_class = {
28	.name	= "dss",
29	.sysc	= &omap2_dss_sysc,
30	.reset	= omap_dss_reset,
31};
32
33/*
34 * 'rfbi' class
35 * remote frame buffer interface
36 */
37
38static struct omap_hwmod_class_sysconfig omap2_rfbi_sysc = {
39	.rev_offs	= 0x0000,
40	.sysc_offs	= 0x0010,
41	.syss_offs	= 0x0014,
42	.sysc_flags	= (SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET |
43			   SYSC_HAS_AUTOIDLE),
44	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
45	.sysc_fields	= &omap_hwmod_sysc_type1,
46};
47
48struct omap_hwmod_class omap2_rfbi_hwmod_class = {
49	.name	= "rfbi",
50	.sysc	= &omap2_rfbi_sysc,
51};
52
v6.8
 1// SPDX-License-Identifier: GPL-2.0-only
 2/*
 3 * omap_hwmod_common_ipblock_data.c - common IP block data for OMAP2+
 4 *
 5 * Copyright (C) 2011 Nokia Corporation
 6 * Copyright (C) 2012 Texas Instruments, Inc.
 7 * Paul Walmsley
 8 */
 9
10#include "omap_hwmod.h"
11#include "omap_hwmod_common_data.h"
12
13/*
14 * 'dss' class
15 * display sub-system
16 */
17
18static struct omap_hwmod_class_sysconfig omap2_dss_sysc = {
19	.rev_offs	= 0x0000,
20	.sysc_offs	= 0x0010,
21	.syss_offs	= 0x0014,
22	.sysc_flags	= (SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE |
23			   SYSS_HAS_RESET_STATUS),
24	.sysc_fields	= &omap_hwmod_sysc_type1,
25};
26
27struct omap_hwmod_class omap2_dss_hwmod_class = {
28	.name	= "dss",
29	.sysc	= &omap2_dss_sysc,
30	.reset	= omap_dss_reset,
31};
32
33/*
34 * 'rfbi' class
35 * remote frame buffer interface
36 */
37
38static struct omap_hwmod_class_sysconfig omap2_rfbi_sysc = {
39	.rev_offs	= 0x0000,
40	.sysc_offs	= 0x0010,
41	.syss_offs	= 0x0014,
42	.sysc_flags	= (SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET |
43			   SYSC_HAS_AUTOIDLE),
44	.idlemodes	= (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART),
45	.sysc_fields	= &omap_hwmod_sysc_type1,
46};
47
48struct omap_hwmod_class omap2_rfbi_hwmod_class = {
49	.name	= "rfbi",
50	.sysc	= &omap2_rfbi_sysc,
51};
52