Linux Audio

Check our new training course

Loading...
v3.5.6
  1/*
  2 * omap_hwmod_common_data.h - OMAP hwmod common macros and declarations
  3 *
  4 * Copyright (C) 2010-2011 Nokia Corporation
  5 * Paul Walmsley
  6 *
  7 * Copyright (C) 2010-2011 Texas Instruments, Inc.
  8 * Benoît Cousson
  9 *
 10 * This program is free software; you can redistribute it and/or modify
 11 * it under the terms of the GNU General Public License version 2 as
 12 * published by the Free Software Foundation.
 13 */
 14#ifndef __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H
 15#define __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H
 16
 17#include <plat/omap_hwmod.h>
 18
 19#include "display.h"
 20
 21/* Common address space across OMAP2xxx */
 
 
 
 
 
 
 
 
 
 
 
 
 22extern struct omap_hwmod_addr_space omap2xxx_mcbsp2_addrs[];
 23
 24/* Common address space across OMAP2xxx/3xxx */
 25extern struct omap_hwmod_addr_space omap2_i2c1_addr_space[];
 26extern struct omap_hwmod_addr_space omap2_i2c2_addr_space[];
 27extern struct omap_hwmod_addr_space omap2_dss_addrs[];
 28extern struct omap_hwmod_addr_space omap2_dss_dispc_addrs[];
 29extern struct omap_hwmod_addr_space omap2_dss_rfbi_addrs[];
 30extern struct omap_hwmod_addr_space omap2_dss_venc_addrs[];
 31extern struct omap_hwmod_addr_space omap2_timer10_addrs[];
 32extern struct omap_hwmod_addr_space omap2_timer11_addrs[];
 33extern struct omap_hwmod_addr_space omap2430_mmc1_addr_space[];
 34extern struct omap_hwmod_addr_space omap2430_mmc2_addr_space[];
 35extern struct omap_hwmod_addr_space omap2_mcspi1_addr_space[];
 36extern struct omap_hwmod_addr_space omap2_mcspi2_addr_space[];
 37extern struct omap_hwmod_addr_space omap2430_mcspi3_addr_space[];
 38extern struct omap_hwmod_addr_space omap2_dma_system_addrs[];
 39extern struct omap_hwmod_addr_space omap2_mailbox_addrs[];
 40extern struct omap_hwmod_addr_space omap2_mcbsp1_addrs[];
 41extern struct omap_hwmod_addr_space omap2_hdq1w_addr_space[];
 42
 43/* Common IP block data across OMAP2xxx */
 44extern struct omap_hwmod_irq_info omap2xxx_timer12_mpu_irqs[];
 45extern struct omap_hwmod_dma_info omap2xxx_dss_sdma_chs[];
 46extern struct omap_gpio_dev_attr omap2xxx_gpio_dev_attr;
 47extern struct omap_hwmod omap2xxx_l3_main_hwmod;
 48extern struct omap_hwmod omap2xxx_l4_core_hwmod;
 49extern struct omap_hwmod omap2xxx_l4_wkup_hwmod;
 50extern struct omap_hwmod omap2xxx_mpu_hwmod;
 51extern struct omap_hwmod omap2xxx_iva_hwmod;
 52extern struct omap_hwmod omap2xxx_timer1_hwmod;
 53extern struct omap_hwmod omap2xxx_timer2_hwmod;
 54extern struct omap_hwmod omap2xxx_timer3_hwmod;
 55extern struct omap_hwmod omap2xxx_timer4_hwmod;
 56extern struct omap_hwmod omap2xxx_timer5_hwmod;
 57extern struct omap_hwmod omap2xxx_timer6_hwmod;
 58extern struct omap_hwmod omap2xxx_timer7_hwmod;
 59extern struct omap_hwmod omap2xxx_timer8_hwmod;
 60extern struct omap_hwmod omap2xxx_timer9_hwmod;
 61extern struct omap_hwmod omap2xxx_timer10_hwmod;
 62extern struct omap_hwmod omap2xxx_timer11_hwmod;
 63extern struct omap_hwmod omap2xxx_timer12_hwmod;
 64extern struct omap_hwmod omap2xxx_wd_timer2_hwmod;
 65extern struct omap_hwmod omap2xxx_uart1_hwmod;
 66extern struct omap_hwmod omap2xxx_uart2_hwmod;
 67extern struct omap_hwmod omap2xxx_uart3_hwmod;
 68extern struct omap_hwmod omap2xxx_dss_core_hwmod;
 69extern struct omap_hwmod omap2xxx_dss_dispc_hwmod;
 70extern struct omap_hwmod omap2xxx_dss_rfbi_hwmod;
 71extern struct omap_hwmod omap2xxx_dss_venc_hwmod;
 72extern struct omap_hwmod omap2xxx_gpio1_hwmod;
 73extern struct omap_hwmod omap2xxx_gpio2_hwmod;
 74extern struct omap_hwmod omap2xxx_gpio3_hwmod;
 75extern struct omap_hwmod omap2xxx_gpio4_hwmod;
 76extern struct omap_hwmod omap2xxx_mcspi1_hwmod;
 77extern struct omap_hwmod omap2xxx_mcspi2_hwmod;
 78extern struct omap_hwmod omap2xxx_counter_32k_hwmod;
 79
 80/* Common interface data across OMAP2xxx */
 81extern struct omap_hwmod_ocp_if omap2xxx_l3_main__l4_core;
 82extern struct omap_hwmod_ocp_if omap2xxx_mpu__l3_main;
 83extern struct omap_hwmod_ocp_if omap2xxx_dss__l3;
 84extern struct omap_hwmod_ocp_if omap2xxx_l4_core__l4_wkup;
 85extern struct omap_hwmod_ocp_if omap2_l4_core__uart1;
 86extern struct omap_hwmod_ocp_if omap2_l4_core__uart2;
 87extern struct omap_hwmod_ocp_if omap2_l4_core__uart3;
 88extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi1;
 89extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi2;
 90extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer2;
 91extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer3;
 92extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer4;
 93extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer5;
 94extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer6;
 95extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer7;
 96extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer8;
 97extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer9;
 98extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer10;
 99extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer11;
100extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer12;
101extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss;
102extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_dispc;
103extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_rfbi;
104extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_venc;
105
106/* Common IP block data */
107extern struct omap_hwmod_dma_info omap2_uart1_sdma_reqs[];
108extern struct omap_hwmod_dma_info omap2_uart2_sdma_reqs[];
109extern struct omap_hwmod_dma_info omap2_uart3_sdma_reqs[];
110extern struct omap_hwmod_dma_info omap2_i2c1_sdma_reqs[];
111extern struct omap_hwmod_dma_info omap2_i2c2_sdma_reqs[];
112extern struct omap_hwmod_dma_info omap2_mcspi1_sdma_reqs[];
113extern struct omap_hwmod_dma_info omap2_mcspi2_sdma_reqs[];
114extern struct omap_hwmod_dma_info omap2_mcbsp1_sdma_reqs[];
115extern struct omap_hwmod_dma_info omap2_mcbsp2_sdma_reqs[];
116
117/* Common IP block data on OMAP2430/OMAP3 */
118extern struct omap_hwmod_dma_info omap2_mcbsp3_sdma_reqs[];
119
120/* Common IP block data across OMAP2/3 */
121extern struct omap_hwmod_irq_info omap2_timer1_mpu_irqs[];
122extern struct omap_hwmod_irq_info omap2_timer2_mpu_irqs[];
123extern struct omap_hwmod_irq_info omap2_timer3_mpu_irqs[];
124extern struct omap_hwmod_irq_info omap2_timer4_mpu_irqs[];
125extern struct omap_hwmod_irq_info omap2_timer5_mpu_irqs[];
126extern struct omap_hwmod_irq_info omap2_timer6_mpu_irqs[];
127extern struct omap_hwmod_irq_info omap2_timer7_mpu_irqs[];
128extern struct omap_hwmod_irq_info omap2_timer8_mpu_irqs[];
129extern struct omap_hwmod_irq_info omap2_timer9_mpu_irqs[];
130extern struct omap_hwmod_irq_info omap2_timer10_mpu_irqs[];
131extern struct omap_hwmod_irq_info omap2_timer11_mpu_irqs[];
132extern struct omap_hwmod_irq_info omap2_uart1_mpu_irqs[];
133extern struct omap_hwmod_irq_info omap2_uart2_mpu_irqs[];
134extern struct omap_hwmod_irq_info omap2_uart3_mpu_irqs[];
135extern struct omap_hwmod_irq_info omap2_dispc_irqs[];
136extern struct omap_hwmod_irq_info omap2_i2c1_mpu_irqs[];
137extern struct omap_hwmod_irq_info omap2_i2c2_mpu_irqs[];
138extern struct omap_hwmod_irq_info omap2_gpio1_irqs[];
139extern struct omap_hwmod_irq_info omap2_gpio2_irqs[];
140extern struct omap_hwmod_irq_info omap2_gpio3_irqs[];
141extern struct omap_hwmod_irq_info omap2_gpio4_irqs[];
142extern struct omap_hwmod_irq_info omap2_dma_system_irqs[];
143extern struct omap_hwmod_irq_info omap2_mcspi1_mpu_irqs[];
144extern struct omap_hwmod_irq_info omap2_mcspi2_mpu_irqs[];
145extern struct omap_hwmod_addr_space omap2xxx_timer12_addrs[];
146extern struct omap_hwmod_irq_info omap2_hdq1w_mpu_irqs[];
147
148/* OMAP hwmod classes - forward declarations */
149extern struct omap_hwmod_class l3_hwmod_class;
150extern struct omap_hwmod_class l4_hwmod_class;
151extern struct omap_hwmod_class mpu_hwmod_class;
152extern struct omap_hwmod_class iva_hwmod_class;
153extern struct omap_hwmod_class omap2_uart_class;
154extern struct omap_hwmod_class omap2_dss_hwmod_class;
155extern struct omap_hwmod_class omap2_dispc_hwmod_class;
156extern struct omap_hwmod_class omap2_rfbi_hwmod_class;
157extern struct omap_hwmod_class omap2_venc_hwmod_class;
158extern struct omap_hwmod_class_sysconfig omap2_hdq1w_sysc;
159extern struct omap_hwmod_class omap2_hdq1w_class;
160
161extern struct omap_hwmod_class omap2xxx_timer_hwmod_class;
162extern struct omap_hwmod_class omap2xxx_wd_timer_hwmod_class;
163extern struct omap_hwmod_class omap2xxx_gpio_hwmod_class;
164extern struct omap_hwmod_class omap2xxx_dma_hwmod_class;
165extern struct omap_hwmod_class omap2xxx_mailbox_hwmod_class;
166extern struct omap_hwmod_class omap2xxx_mcspi_class;
167
168extern struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr;
169
170#endif
v3.1
  1/*
  2 * omap_hwmod_common_data.h - OMAP hwmod common macros and declarations
  3 *
  4 * Copyright (C) 2010-2011 Nokia Corporation
  5 * Paul Walmsley
  6 *
  7 * Copyright (C) 2010-2011 Texas Instruments, Inc.
  8 * Benoît Cousson
  9 *
 10 * This program is free software; you can redistribute it and/or modify
 11 * it under the terms of the GNU General Public License version 2 as
 12 * published by the Free Software Foundation.
 13 */
 14#ifndef __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H
 15#define __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H
 16
 17#include <plat/omap_hwmod.h>
 18
 
 
 19/* Common address space across OMAP2xxx */
 20extern struct omap_hwmod_addr_space omap2xxx_uart1_addr_space[];
 21extern struct omap_hwmod_addr_space omap2xxx_uart2_addr_space[];
 22extern struct omap_hwmod_addr_space omap2xxx_uart3_addr_space[];
 23extern struct omap_hwmod_addr_space omap2xxx_timer2_addrs[];
 24extern struct omap_hwmod_addr_space omap2xxx_timer3_addrs[];
 25extern struct omap_hwmod_addr_space omap2xxx_timer4_addrs[];
 26extern struct omap_hwmod_addr_space omap2xxx_timer5_addrs[];
 27extern struct omap_hwmod_addr_space omap2xxx_timer6_addrs[];
 28extern struct omap_hwmod_addr_space omap2xxx_timer7_addrs[];
 29extern struct omap_hwmod_addr_space omap2xxx_timer8_addrs[];
 30extern struct omap_hwmod_addr_space omap2xxx_timer9_addrs[];
 31extern struct omap_hwmod_addr_space omap2xxx_timer12_addrs[];
 32extern struct omap_hwmod_addr_space omap2xxx_mcbsp2_addrs[];
 33
 34/* Common address space across OMAP2xxx/3xxx */
 35extern struct omap_hwmod_addr_space omap2_i2c1_addr_space[];
 36extern struct omap_hwmod_addr_space omap2_i2c2_addr_space[];
 37extern struct omap_hwmod_addr_space omap2_dss_addrs[];
 38extern struct omap_hwmod_addr_space omap2_dss_dispc_addrs[];
 39extern struct omap_hwmod_addr_space omap2_dss_rfbi_addrs[];
 40extern struct omap_hwmod_addr_space omap2_dss_venc_addrs[];
 41extern struct omap_hwmod_addr_space omap2_timer10_addrs[];
 42extern struct omap_hwmod_addr_space omap2_timer11_addrs[];
 43extern struct omap_hwmod_addr_space omap2430_mmc1_addr_space[];
 44extern struct omap_hwmod_addr_space omap2430_mmc2_addr_space[];
 45extern struct omap_hwmod_addr_space omap2_mcspi1_addr_space[];
 46extern struct omap_hwmod_addr_space omap2_mcspi2_addr_space[];
 47extern struct omap_hwmod_addr_space omap2430_mcspi3_addr_space[];
 48extern struct omap_hwmod_addr_space omap2_dma_system_addrs[];
 49extern struct omap_hwmod_addr_space omap2_mailbox_addrs[];
 50extern struct omap_hwmod_addr_space omap2_mcbsp1_addrs[];
 
 51
 52/* Common IP block data across OMAP2xxx */
 53extern struct omap_hwmod_irq_info omap2xxx_timer12_mpu_irqs[];
 54extern struct omap_hwmod_dma_info omap2xxx_dss_sdma_chs[];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 55
 56/* Common IP block data */
 57extern struct omap_hwmod_dma_info omap2_uart1_sdma_reqs[];
 58extern struct omap_hwmod_dma_info omap2_uart2_sdma_reqs[];
 59extern struct omap_hwmod_dma_info omap2_uart3_sdma_reqs[];
 60extern struct omap_hwmod_dma_info omap2_i2c1_sdma_reqs[];
 61extern struct omap_hwmod_dma_info omap2_i2c2_sdma_reqs[];
 62extern struct omap_hwmod_dma_info omap2_mcspi1_sdma_reqs[];
 63extern struct omap_hwmod_dma_info omap2_mcspi2_sdma_reqs[];
 64extern struct omap_hwmod_dma_info omap2_mcbsp1_sdma_reqs[];
 65extern struct omap_hwmod_dma_info omap2_mcbsp2_sdma_reqs[];
 66
 67/* Common IP block data on OMAP2430/OMAP3 */
 68extern struct omap_hwmod_dma_info omap2_mcbsp3_sdma_reqs[];
 69
 70/* Common IP block data across OMAP2/3 */
 71extern struct omap_hwmod_irq_info omap2_timer1_mpu_irqs[];
 72extern struct omap_hwmod_irq_info omap2_timer2_mpu_irqs[];
 73extern struct omap_hwmod_irq_info omap2_timer3_mpu_irqs[];
 74extern struct omap_hwmod_irq_info omap2_timer4_mpu_irqs[];
 75extern struct omap_hwmod_irq_info omap2_timer5_mpu_irqs[];
 76extern struct omap_hwmod_irq_info omap2_timer6_mpu_irqs[];
 77extern struct omap_hwmod_irq_info omap2_timer7_mpu_irqs[];
 78extern struct omap_hwmod_irq_info omap2_timer8_mpu_irqs[];
 79extern struct omap_hwmod_irq_info omap2_timer9_mpu_irqs[];
 80extern struct omap_hwmod_irq_info omap2_timer10_mpu_irqs[];
 81extern struct omap_hwmod_irq_info omap2_timer11_mpu_irqs[];
 82extern struct omap_hwmod_irq_info omap2_uart1_mpu_irqs[];
 83extern struct omap_hwmod_irq_info omap2_uart2_mpu_irqs[];
 84extern struct omap_hwmod_irq_info omap2_uart3_mpu_irqs[];
 85extern struct omap_hwmod_irq_info omap2_dispc_irqs[];
 86extern struct omap_hwmod_irq_info omap2_i2c1_mpu_irqs[];
 87extern struct omap_hwmod_irq_info omap2_i2c2_mpu_irqs[];
 88extern struct omap_hwmod_irq_info omap2_gpio1_irqs[];
 89extern struct omap_hwmod_irq_info omap2_gpio2_irqs[];
 90extern struct omap_hwmod_irq_info omap2_gpio3_irqs[];
 91extern struct omap_hwmod_irq_info omap2_gpio4_irqs[];
 92extern struct omap_hwmod_irq_info omap2_dma_system_irqs[];
 93extern struct omap_hwmod_irq_info omap2_mcspi1_mpu_irqs[];
 94extern struct omap_hwmod_irq_info omap2_mcspi2_mpu_irqs[];
 
 
 95
 96/* OMAP hwmod classes - forward declarations */
 97extern struct omap_hwmod_class l3_hwmod_class;
 98extern struct omap_hwmod_class l4_hwmod_class;
 99extern struct omap_hwmod_class mpu_hwmod_class;
100extern struct omap_hwmod_class iva_hwmod_class;
101extern struct omap_hwmod_class omap2_uart_class;
102extern struct omap_hwmod_class omap2_dss_hwmod_class;
103extern struct omap_hwmod_class omap2_dispc_hwmod_class;
104extern struct omap_hwmod_class omap2_rfbi_hwmod_class;
105extern struct omap_hwmod_class omap2_venc_hwmod_class;
 
 
106
107extern struct omap_hwmod_class omap2xxx_timer_hwmod_class;
108extern struct omap_hwmod_class omap2xxx_wd_timer_hwmod_class;
109extern struct omap_hwmod_class omap2xxx_gpio_hwmod_class;
110extern struct omap_hwmod_class omap2xxx_dma_hwmod_class;
111extern struct omap_hwmod_class omap2xxx_mailbox_hwmod_class;
112extern struct omap_hwmod_class omap2xxx_mcspi_class;
 
 
113
114#endif