~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-davinci/common.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0-only */
  2 /*
  3  * Header for code common to all DaVinci machines.
  4  *
  5  * Author: Kevin Hilman, MontaVista Software, Inc. <source@mvista.com>
  6  *
  7  * 2007 (c) MontaVista Software, Inc.
  8  */
  9 
 10 #ifndef __ARCH_ARM_MACH_DAVINCI_COMMON_H
 11 #define __ARCH_ARM_MACH_DAVINCI_COMMON_H
 12 
 13 #include <linux/clk.h>
 14 #include <linux/compiler.h>
 15 #include <linux/types.h>
 16 #include <linux/reboot.h>
 17 
 18 #include <asm/irq.h>
 19 
 20 #define DAVINCI_INTC_START             NR_IRQS
 21 #define DAVINCI_INTC_IRQ(_irqnum)      (DAVINCI_INTC_START + (_irqnum))
 22 
 23 struct davinci_gpio_controller;
 24 
 25 /*
 26  * SoC info passed into common davinci modules.
 27  *
 28  * Base addresses in this structure should be physical and not virtual.
 29  * Modules that take such base addresses, should internally ioremap() them to
 30  * use.
 31  */
 32 struct davinci_soc_info {
 33         struct map_desc                 *io_desc;
 34         unsigned long                   io_desc_num;
 35         u32                             cpu_id;
 36         u32                             jtag_id;
 37         u32                             jtag_id_reg;
 38         struct davinci_id               *ids;
 39         unsigned long                   ids_num;
 40         u32                             pinmux_base;
 41         const struct mux_config         *pinmux_pins;
 42         unsigned long                   pinmux_pins_num;
 43         int                             gpio_type;
 44         u32                             gpio_base;
 45         unsigned                        gpio_num;
 46         unsigned                        gpio_irq;
 47         unsigned                        gpio_unbanked;
 48         dma_addr_t                      sram_dma;
 49         unsigned                        sram_len;
 50 };
 51 
 52 extern struct davinci_soc_info davinci_soc_info;
 53 
 54 extern void davinci_common_init(const struct davinci_soc_info *soc_info);
 55 extern void davinci_init_ide(void);
 56 void davinci_init_late(void);
 57 
 58 #ifdef CONFIG_SUSPEND
 59 int davinci_pm_init(void);
 60 #else
 61 static inline int davinci_pm_init(void) { return 0; }
 62 #endif
 63 
 64 void __init pdata_quirks_init(void);
 65 
 66 #define SRAM_SIZE       SZ_128K
 67 
 68 #endif /* __ARCH_ARM_MACH_DAVINCI_COMMON_H */
 69 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php