mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 06:36:43 +07:00
940dd96fe9
The Tegra GPIO driver will be converted from static registration via postcore_initcall() to be a platform device later in this patch series. A new Tegra pinmux platform device will also be added. Prepare for this by modifying all boards to register the appropriate platform devices before-hand, so that when the drivers are converted, those devices will be probed, and git bisectability will be maintained. v2: Add resource definitions for GPIO and pinmux Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Olof Johansson <olof@lixom.net>
53 lines
2.0 KiB
C
53 lines
2.0 KiB
C
/*
|
|
* Copyright (C) 2010,2011 Google, Inc.
|
|
*
|
|
* Author:
|
|
* Colin Cross <ccross@android.com>
|
|
* Erik Gilling <ccross@android.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_DEVICES_H
|
|
#define __MACH_TEGRA_DEVICES_H
|
|
|
|
#include <linux/platform_device.h>
|
|
|
|
extern struct platform_device tegra_gpio_device;
|
|
extern struct platform_device tegra_pinmux_device;
|
|
extern struct platform_device tegra_sdhci_device1;
|
|
extern struct platform_device tegra_sdhci_device2;
|
|
extern struct platform_device tegra_sdhci_device3;
|
|
extern struct platform_device tegra_sdhci_device4;
|
|
extern struct platform_device tegra_i2c_device1;
|
|
extern struct platform_device tegra_i2c_device2;
|
|
extern struct platform_device tegra_i2c_device3;
|
|
extern struct platform_device tegra_i2c_device4;
|
|
extern struct platform_device tegra_spi_device1;
|
|
extern struct platform_device tegra_spi_device2;
|
|
extern struct platform_device tegra_spi_device3;
|
|
extern struct platform_device tegra_spi_device4;
|
|
extern struct platform_device tegra_ehci1_device;
|
|
extern struct platform_device tegra_ehci2_device;
|
|
extern struct platform_device tegra_ehci3_device;
|
|
extern struct platform_device tegra_uarta_device;
|
|
extern struct platform_device tegra_uartb_device;
|
|
extern struct platform_device tegra_uartc_device;
|
|
extern struct platform_device tegra_uartd_device;
|
|
extern struct platform_device tegra_uarte_device;
|
|
extern struct platform_device tegra_pmu_device;
|
|
extern struct platform_device tegra_i2s_device1;
|
|
extern struct platform_device tegra_i2s_device2;
|
|
extern struct platform_device tegra_das_device;
|
|
extern struct platform_device tegra_pcm_device;
|
|
|
|
#endif
|