d1523b52bf
Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host directory. The motivation is to collect various host controller drivers in the same location in order to facilitate refactoring. The Tegra PCIe driver has been largely rewritten, both in order to turn it into a proper platform driver and to add MSI (based on code by Krishna Kishore <kthota@nvidia.com>) as well as device tree support. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Thierry Reding <treding@nvidia.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> [swarren, split DT changes into a separate patch in another branch] Signed-off-by: Stephen Warren <swarren@nvidia.com>
52 lines
1.4 KiB
C
52 lines
1.4 KiB
C
/*
|
|
* arch/arm/mach-tegra/board.h
|
|
*
|
|
* Copyright (c) 2013 NVIDIA Corporation. All rights reserved.
|
|
* Copyright (C) 2010 Google, Inc.
|
|
*
|
|
* Author:
|
|
* Colin Cross <ccross@google.com>
|
|
* Erik Gilling <konkers@google.com>
|
|
*
|
|
* This software is licensed under the terms of the GNU General Public
|
|
* License version 2, as published by the Free Software Foundation, and
|
|
* may be copied, distributed, and modified under those terms.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
|
|
#ifndef __MACH_TEGRA_BOARD_H
|
|
#define __MACH_TEGRA_BOARD_H
|
|
|
|
#include <linux/types.h>
|
|
#include <linux/reboot.h>
|
|
|
|
void tegra_assert_system_reset(enum reboot_mode mode, const char *cmd);
|
|
|
|
void __init tegra_init_early(void);
|
|
void __init tegra_map_common_io(void);
|
|
void __init tegra_init_irq(void);
|
|
void __init tegra_dt_init_irq(void);
|
|
|
|
void tegra_init_late(void);
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
int tegra_clk_debugfs_init(void);
|
|
#else
|
|
static inline int tegra_clk_debugfs_init(void) { return 0; }
|
|
#endif
|
|
|
|
int __init tegra_powergate_init(void);
|
|
#if defined(CONFIG_ARCH_TEGRA_2x_SOC) && defined(CONFIG_DEBUG_FS)
|
|
int __init tegra_powergate_debugfs_init(void);
|
|
#else
|
|
static inline int tegra_powergate_debugfs_init(void) { return 0; }
|
|
#endif
|
|
|
|
void __init tegra_paz00_wifikill_init(void);
|
|
|
|
#endif
|