Path: blob/master/arch/arm/mach-msm/include/mach/board.h
17602 views
/* arch/arm/mach-msm/include/mach/board.h1*2* Copyright (C) 2007 Google, Inc.3* Author: Brian Swetland <[email protected]>4*5* This software is licensed under the terms of the GNU General Public6* License version 2, as published by the Free Software Foundation, and7* may be copied, distributed, and modified under those terms.8*9* This program is distributed in the hope that it will be useful,10* but WITHOUT ANY WARRANTY; without even the implied warranty of11* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the12* GNU General Public License for more details.13*14*/1516#ifndef __ASM_ARCH_MSM_BOARD_H17#define __ASM_ARCH_MSM_BOARD_H1819#include <linux/types.h>20#include <mach/mmc.h>2122/* platform device data structures */2324struct msm_acpu_clock_platform_data25{26uint32_t acpu_switch_time_us;27uint32_t max_speed_delta_khz;28uint32_t vdd_switch_time_us;29unsigned long power_collapse_khz;30unsigned long wait_for_irq_khz;31};3233struct clk_lookup;3435extern struct sys_timer msm_timer;3637/* common init routines for use by arch/arm/mach-msm/board-*.c */3839void __init msm_add_devices(void);40void __init msm_map_common_io(void);41void __init msm_init_irq(void);42void __init msm_init_gpio(void);43void __init msm_clock_init(struct clk_lookup *clock_tbl, unsigned num_clocks);44void __init msm_acpu_clock_init(struct msm_acpu_clock_platform_data *);45int __init msm_add_sdcc(unsigned int controller,46struct msm_mmc_platform_data *plat,47unsigned int stat_irq, unsigned long stat_irq_flags);4849#endif505152