Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * arch/arm/mach-ep93xx/include/mach/platform.h
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #ifndef __ASSEMBLY__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #include <linux/platform_data/eth-ep93xx.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <linux/reboot.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) struct device;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) struct i2c_board_info;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct spi_board_info;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct platform_device;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) struct ep93xxfb_mach_info;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct ep93xx_keypad_platform_data;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct ep93xx_spi_info;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) void ep93xx_map_io(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) void ep93xx_init_irq(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) void ep93xx_register_flash(unsigned int width,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 			   resource_size_t start, resource_size_t size);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) void ep93xx_register_eth(struct ep93xx_eth_data *data, int copy_addr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) void ep93xx_register_i2c(struct i2c_board_info *devices, int num);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) void ep93xx_register_spi(struct ep93xx_spi_info *info,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 			 struct spi_board_info *devices, int num);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) void ep93xx_register_fb(struct ep93xxfb_mach_info *data);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) void ep93xx_register_pwm(int pwm0, int pwm1);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) void ep93xx_register_keypad(struct ep93xx_keypad_platform_data *data);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) void ep93xx_register_i2s(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) void ep93xx_register_ac97(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) void ep93xx_register_ide(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) void ep93xx_register_adc(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) struct device *ep93xx_init_devices(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) extern void ep93xx_timer_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) void ep93xx_restart(enum reboot_mode, const char *);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) void ep93xx_init_late(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) #ifdef CONFIG_CRUNCH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) int crunch_init(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) static inline int crunch_init(void) { return 0; }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) #endif