mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 21:30:54 +07:00
5ede3ceb7b
This adds support for new features, and contains stuff from most platforms. A number of these patches could have fit into other branches, too, but were small enough not to cause too much confusion here. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIVAwUATwtYgGCrR//JCVInAQKzRRAAybELlfOIT1fyVlzkzIgw0/OKxS75Vqda v5mNYUfQ001WxGjwbFGgFphrQgyhulmLj6gN5l1rwaBjEZlwLe5uk3sReeqeDMLk bERLbpg22ymka4JVhvugq5qh9UP2ptlvZV/cAZC0u2JBq+CaarFIJsrzbOyXAngf 4kUkaMhKi8DDZTqrwwACaLxR7qtf3ddiSxNLZ93X4fDh4a3qs/EJErVg/xCFlfM3 YTzTjKuqLV2cGT34E9YTJieN9o94G+PiqvbDsP3kOwG2dSElpRWsZwX/0hDoyCxN cWbqPfrrdzt/kDcNnNd8MZ16AJlPc4ElVVEWPF71tKP3HfKqtZ0vMlpzsldioFz6 8AKvaXJXRkRddY4KqNcXeEQHcDxO0uniG/3lhZY8NlzO/1PnPQ4hGl8fhw+e/2z0 nAQFUsCVIXacsxamPk/fFBUhYzyK7JrnH4pB3b7SPcCj7X9MVyWK+pbT5LA+VGOL Ys8tv3NtTWEObyW1s3NT+BEy9FkkRu4EG3TxPwHUXk4BTwa6nDmJBPjk7Hv7q4cn T58lPet8Aylhht2aZx+0dxK3MHtMOmgsJ5jQF0OAi48Kmx8kXPZ1AeXObROncbZL aI7qfuGTzps7MlUBYlmrMdceTfYLeOqIEoVyFX8N4xLE33alk8DMKc37QoTJVuxQ KrY8sCVMkK0= =N2B4 -----END PGP SIGNATURE----- Merge tag 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc New feature development This adds support for new features, and contains stuff from most platforms. A number of these patches could have fit into other branches, too, but were small enough not to cause too much confusion here. * tag 'devel' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (28 commits) mfd/db8500-prcmu: remove support for early silicon revisions ARM: ux500: fix the smp_twd clock calculation ARM: ux500: remove support for early silicon revisions ARM: ux500: update register files ARM: ux500: register DB5500 PMU dynamically ARM: ux500: update ASIC detection for U5500 ARM: ux500: support DB8520 ARM: picoxcell: implement watchdog restart ARM: OMAP3+: hwmod data: Add the default clockactivity for I2C ARM: OMAP3: hwmod data: disable multiblock reads on MMC1/2 on OMAP34xx/35xx <= ES2.1 ARM: OMAP: USB: EHCI and OHCI hwmod structures for OMAP4 ARM: OMAP: USB: EHCI and OHCI hwmod structures for OMAP3 ARM: OMAP: hwmod data: Add support for AM35xx UART4/ttyO3 ARM: Orion: Remove address map info from all platform data structures ARM: Orion: Get address map from plat-orion instead of via platform_data ARM: Orion: mbus_dram_info consolidation ARM: Orion: Consolidate the address map setup ARM: Kirkwood: Add configuration for MPP12 as GPIO ARM: Kirkwood: Recognize A1 revision of 6282 chip ARM: ux500: update the MOP500 GPIO assignments ...
54 lines
1.6 KiB
C
54 lines
1.6 KiB
C
/*
|
|
* arch/arm/mach-mv78xx0/common.h
|
|
*
|
|
* Core functions for Marvell MV78xx0 SoCs
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
|
|
#ifndef __ARCH_MV78XX0_COMMON_H
|
|
#define __ARCH_MV78XX0_COMMON_H
|
|
|
|
struct mv643xx_eth_platform_data;
|
|
struct mv_sata_platform_data;
|
|
|
|
/*
|
|
* Basic MV78xx0 init functions used early by machine-setup.
|
|
*/
|
|
int mv78xx0_core_index(void);
|
|
void mv78xx0_map_io(void);
|
|
void mv78xx0_init(void);
|
|
void mv78xx0_init_early(void);
|
|
void mv78xx0_init_irq(void);
|
|
|
|
void mv78xx0_setup_cpu_mbus(void);
|
|
void mv78xx0_setup_pcie_io_win(int window, u32 base, u32 size,
|
|
int maj, int min);
|
|
void mv78xx0_setup_pcie_mem_win(int window, u32 base, u32 size,
|
|
int maj, int min);
|
|
|
|
void mv78xx0_pcie_id(u32 *dev, u32 *rev);
|
|
|
|
void mv78xx0_ehci0_init(void);
|
|
void mv78xx0_ehci1_init(void);
|
|
void mv78xx0_ehci2_init(void);
|
|
void mv78xx0_ge00_init(struct mv643xx_eth_platform_data *eth_data);
|
|
void mv78xx0_ge01_init(struct mv643xx_eth_platform_data *eth_data);
|
|
void mv78xx0_ge10_init(struct mv643xx_eth_platform_data *eth_data);
|
|
void mv78xx0_ge11_init(struct mv643xx_eth_platform_data *eth_data);
|
|
void mv78xx0_pcie_init(int init_port0, int init_port1);
|
|
void mv78xx0_sata_init(struct mv_sata_platform_data *sata_data);
|
|
void mv78xx0_uart0_init(void);
|
|
void mv78xx0_uart1_init(void);
|
|
void mv78xx0_uart2_init(void);
|
|
void mv78xx0_uart3_init(void);
|
|
void mv78xx0_i2c_init(void);
|
|
void mv78xx0_restart(char, const char *);
|
|
|
|
extern struct sys_timer mv78xx0_timer;
|
|
|
|
|
|
#endif
|