diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-07-26 05:33:34 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-07-26 05:33:34 -0400 |
commit | 0081b77d98317092d2292ff0f8e33c97c1f5d918 (patch) | |
tree | 9598087a4bc83ab42b29b1c7abc9d253326bd5f3 /arch/arm/mach-omap2/omap_hwmod_common_ipblock_data.c | |
parent | ba66d7f00ff4574a627f6083a58172c7b56e0126 (diff) | |
parent | 3965f5ba0489c01f419216c8909965b9a6a39388 (diff) |
Merge tag 'omap-for-v3.17/soc-new' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into next/soc
Merge "SoC related changes for omaps for v3.17 merge window"
from Tony Lindgren:
- Add device tree and hwmod data for various devices
for new SoCs
- Remove legacy mailbox hwmod data that's no longer
needed for SoCs that are DT only. Note that this may
cause a minor merge conflict in mach-omap2/devices.c
with omap_init_mbox() and omap_init_hdmi_audio(), both
are legacy code that is getting removed
* tag 'omap-for-v3.17/soc-new' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: DRA7: hwmod: Add data for RTC
arm: dra7xx: Add hwmod data for MDIO and CPSW
arm: dra7xx: Add hwmod data for pcie1 and pcie2 subsystems
arm: dra7xx: Add hwmod data for pcie1 phy and pcie2 phy
ARM: DRA7: hwmod: Add OCP2SCP3 module
ARM: DRA7: hwmod: remove interrupts for DMA
ARM: OMAP2+: DMA: remove requirement of irq for platform-dma driver
ARM: AM33xx: hwmod_data: Remove legacy mailbox addrs
ARM: OMAP4: hwmod_data: Remove legacy mailbox addrs
ARM: OMAP2: hwmod_data: Remove legacy mailbox data and addrs
ARM: OMAP2+: Avoid mailbox legacy device creation for DT-boot
ARM: DRA7: hwmod_data: Add mailbox hwmod data
ARM: dts: DRA7: Add mailbox nodes
ARM: dts: AM4372: Correct mailbox node data
ARM: dts: AM33xx: Add mailbox node
ARM: dts: OMAP4: Add mailbox node
ARM: dts: OMAP2+: Add mailbox fifo and user information
ARM: AM43xx: hwmod: add DSS hwmod data
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_common_ipblock_data.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_common_ipblock_data.c | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_common_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_common_ipblock_data.c new file mode 100644 index 000000000000..f21664da25a2 --- /dev/null +++ b/arch/arm/mach-omap2/omap_hwmod_common_ipblock_data.c | |||
@@ -0,0 +1,55 @@ | |||
1 | /* | ||
2 | * omap_hwmod_common_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 | ||
7 | * | ||
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. | ||
11 | */ | ||
12 | |||
13 | #include "omap_hwmod.h" | ||
14 | #include "omap_hwmod_common_data.h" | ||
15 | |||
16 | /* | ||
17 | * 'dss' class | ||
18 | * display sub-system | ||
19 | */ | ||
20 | |||
21 | static struct omap_hwmod_class_sysconfig omap2_dss_sysc = { | ||
22 | .rev_offs = 0x0000, | ||
23 | .sysc_offs = 0x0010, | ||
24 | .syss_offs = 0x0014, | ||
25 | .sysc_flags = (SYSC_HAS_SOFTRESET | SYSC_HAS_AUTOIDLE | | ||
26 | SYSS_HAS_RESET_STATUS), | ||
27 | .sysc_fields = &omap_hwmod_sysc_type1, | ||
28 | }; | ||
29 | |||
30 | struct omap_hwmod_class omap2_dss_hwmod_class = { | ||
31 | .name = "dss", | ||
32 | .sysc = &omap2_dss_sysc, | ||
33 | .reset = omap_dss_reset, | ||
34 | }; | ||
35 | |||
36 | /* | ||
37 | * 'rfbi' class | ||
38 | * remote frame buffer interface | ||
39 | */ | ||
40 | |||
41 | static struct omap_hwmod_class_sysconfig omap2_rfbi_sysc = { | ||
42 | .rev_offs = 0x0000, | ||
43 | .sysc_offs = 0x0010, | ||
44 | .syss_offs = 0x0014, | ||
45 | .sysc_flags = (SYSC_HAS_SIDLEMODE | SYSC_HAS_SOFTRESET | | ||
46 | SYSC_HAS_AUTOIDLE), | ||
47 | .idlemodes = (SIDLE_FORCE | SIDLE_NO | SIDLE_SMART), | ||
48 | .sysc_fields = &omap_hwmod_sysc_type1, | ||
49 | }; | ||
50 | |||
51 | struct omap_hwmod_class omap2_rfbi_hwmod_class = { | ||
52 | .name = "rfbi", | ||
53 | .sysc = &omap2_rfbi_sysc, | ||
54 | }; | ||
55 | |||