mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 15:36:56 +07:00
026cec6164
This patch introduces a first set of platform devices for integrated peripherals of TCC8xxx processors. Drivers for these devices are available and will be posted in a second step. Signed-off-by: "Hans J. Koch" <hjk@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
16 lines
389 B
C
16 lines
389 B
C
#ifndef MACH_TCC8K_COMMON_H
|
|
#define MACH_TCC8K_COMMON_H
|
|
|
|
#include <linux/platform_device.h>
|
|
|
|
extern struct platform_device tcc_nand_device;
|
|
|
|
struct clk;
|
|
|
|
extern void tcc_clocks_init(unsigned long xi_freq, unsigned long xti_freq);
|
|
extern void tcc8k_timer_init(struct clk *clock, void __iomem *base, int irq);
|
|
extern void tcc8k_init_irq(void);
|
|
extern void tcc8k_map_common_io(void);
|
|
|
|
#endif
|