mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 03:11:46 +00:00
0d0c8e3669
Function GPIOs are not used anymore, and all code use the GPIO numbers directly. Remove the GPIOs enumeration. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
87 lines
2.2 KiB
C
87 lines
2.2 KiB
C
/*
|
|
* Copyright (C) 2010 Renesas Solutions Corp.
|
|
*
|
|
* Kuninori Morimoto <morimoto.kuninori@renesas.com>
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
* for more details.
|
|
*/
|
|
|
|
#ifndef __ASM_SH7372_H__
|
|
#define __ASM_SH7372_H__
|
|
|
|
#include <linux/sh_clk.h>
|
|
#include <linux/pm_domain.h>
|
|
#include <mach/pm-rmobile.h>
|
|
|
|
/* DMA slave IDs */
|
|
enum {
|
|
SHDMA_SLAVE_INVALID,
|
|
SHDMA_SLAVE_SCIF0_TX,
|
|
SHDMA_SLAVE_SCIF0_RX,
|
|
SHDMA_SLAVE_SCIF1_TX,
|
|
SHDMA_SLAVE_SCIF1_RX,
|
|
SHDMA_SLAVE_SCIF2_TX,
|
|
SHDMA_SLAVE_SCIF2_RX,
|
|
SHDMA_SLAVE_SCIF3_TX,
|
|
SHDMA_SLAVE_SCIF3_RX,
|
|
SHDMA_SLAVE_SCIF4_TX,
|
|
SHDMA_SLAVE_SCIF4_RX,
|
|
SHDMA_SLAVE_SCIF5_TX,
|
|
SHDMA_SLAVE_SCIF5_RX,
|
|
SHDMA_SLAVE_SCIF6_TX,
|
|
SHDMA_SLAVE_SCIF6_RX,
|
|
SHDMA_SLAVE_FLCTL0_TX,
|
|
SHDMA_SLAVE_FLCTL0_RX,
|
|
SHDMA_SLAVE_FLCTL1_TX,
|
|
SHDMA_SLAVE_FLCTL1_RX,
|
|
SHDMA_SLAVE_SDHI0_RX,
|
|
SHDMA_SLAVE_SDHI0_TX,
|
|
SHDMA_SLAVE_SDHI1_RX,
|
|
SHDMA_SLAVE_SDHI1_TX,
|
|
SHDMA_SLAVE_SDHI2_RX,
|
|
SHDMA_SLAVE_SDHI2_TX,
|
|
SHDMA_SLAVE_FSIA_RX,
|
|
SHDMA_SLAVE_FSIA_TX,
|
|
SHDMA_SLAVE_MMCIF_RX,
|
|
SHDMA_SLAVE_MMCIF_TX,
|
|
SHDMA_SLAVE_USB0_TX,
|
|
SHDMA_SLAVE_USB0_RX,
|
|
SHDMA_SLAVE_USB1_TX,
|
|
SHDMA_SLAVE_USB1_RX,
|
|
};
|
|
|
|
extern struct clk sh7372_extal1_clk;
|
|
extern struct clk sh7372_extal2_clk;
|
|
extern struct clk sh7372_dv_clki_clk;
|
|
extern struct clk sh7372_dv_clki_div2_clk;
|
|
extern struct clk sh7372_pllc2_clk;
|
|
|
|
extern void sh7372_init_irq(void);
|
|
extern void sh7372_map_io(void);
|
|
extern void sh7372_earlytimer_init(void);
|
|
extern void sh7372_add_early_devices(void);
|
|
extern void sh7372_add_standard_devices(void);
|
|
extern void sh7372_add_early_devices_dt(void);
|
|
extern void sh7372_add_standard_devices_dt(void);
|
|
extern void sh7372_clock_init(void);
|
|
extern void sh7372_pinmux_init(void);
|
|
extern void sh7372_pm_init(void);
|
|
extern void sh7372_resume_core_standby_sysc(void);
|
|
extern int sh7372_do_idle_sysc(unsigned long sleep_mode);
|
|
extern void sh7372_intcs_suspend(void);
|
|
extern void sh7372_intcs_resume(void);
|
|
extern void sh7372_intca_suspend(void);
|
|
extern void sh7372_intca_resume(void);
|
|
|
|
#ifdef CONFIG_PM
|
|
extern void __init sh7372_init_pm_domains(void);
|
|
#else
|
|
static inline void sh7372_init_pm_domains(void) {}
|
|
#endif
|
|
|
|
extern void __init sh7372_pm_init_late(void);
|
|
|
|
#endif /* __ASM_SH7372_H__ */
|