diff options
author | Kevin | 2014-11-15 09:58:27 +0800 |
---|---|---|
committer | Kevin | 2014-11-15 09:58:27 +0800 |
commit | 392e8802486cb573b916e746010e141a75f507e6 (patch) | |
tree | 50029aca02c81f087b90336e670b44e510782330 /ANDROID_3.4.5/arch/arm/plat-versatile/include | |
download | FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.gz FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.tar.bz2 FOSSEE-netbook-kernel-source-392e8802486cb573b916e746010e141a75f507e6.zip |
init android origin source code
Diffstat (limited to 'ANDROID_3.4.5/arch/arm/plat-versatile/include')
4 files changed, 42 insertions, 0 deletions
diff --git a/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/clcd.h b/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/clcd.h new file mode 100644 index 00000000..6bb6a1d2 --- /dev/null +++ b/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/clcd.h @@ -0,0 +1,9 @@ +#ifndef PLAT_CLCD_H +#define PLAT_CLCD_H + +struct clcd_panel *versatile_clcd_get_panel(const char *); +int versatile_clcd_setup_dma(struct clcd_fb *, unsigned long); +int versatile_clcd_mmap_dma(struct clcd_fb *, struct vm_area_struct *); +void versatile_clcd_remove_dma(struct clcd_fb *); + +#endif diff --git a/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/clock.h b/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/clock.h new file mode 100644 index 00000000..3cfb024c --- /dev/null +++ b/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/clock.h @@ -0,0 +1,15 @@ +#ifndef PLAT_CLOCK_H +#define PLAT_CLOCK_H + +#include <asm/hardware/icst.h> + +struct clk_ops { + long (*round)(struct clk *, unsigned long); + int (*set)(struct clk *, unsigned long); + void (*setvco)(struct clk *, struct icst_vco); +}; + +int icst_clk_set(struct clk *, unsigned long); +long icst_clk_round(struct clk *, unsigned long); + +#endif diff --git a/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/fpga-irq.h b/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/fpga-irq.h new file mode 100644 index 00000000..627fafd1 --- /dev/null +++ b/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/fpga-irq.h @@ -0,0 +1,12 @@ +#ifndef PLAT_FPGA_IRQ_H +#define PLAT_FPGA_IRQ_H + +struct fpga_irq_data { + void __iomem *base; + unsigned int irq_start; + struct irq_chip chip; +}; + +void fpga_irq_init(int, u32, struct fpga_irq_data *); + +#endif diff --git a/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/sched_clock.h b/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/sched_clock.h new file mode 100644 index 00000000..5c3e4fc9 --- /dev/null +++ b/ANDROID_3.4.5/arch/arm/plat-versatile/include/plat/sched_clock.h @@ -0,0 +1,6 @@ +#ifndef ARM_PLAT_SCHED_CLOCK_H +#define ARM_PLAT_SCHED_CLOCK_H + +void versatile_sched_clock_init(void __iomem *, unsigned long); + +#endif |