#include <linux/of_address.h>
#include <linux/clocksource.h>
#include <linux/clk-provider.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/adi.h>
#include <soc/sprd/adc.h>
#include <soc/sprd/board.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/proc_fs.h>
-#include <soc/sprd/hardware.h>
#include <asm/uaccess.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
static int syssleep_read_proc(char *page, char **start, off_t off,
int count, int *eof, void *data)
#include <linux/fb.h>
#include <linux/delay.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/globalregs.h>
#include <soc/sprd/irqs.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
//#include <mach/pinmap.h>
#include <linux/irqreturn.h>
#include <linux/interrupt.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/globalregs.h>
#include <soc/sprd/irqs.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/board.h>
+#include <soc/sprd/hardware.h>
#include "lcd_dummy.h"
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/err.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
#include <linux/io.h>
#include <soc/sprd/adi.h>
#include <linux/wakelock.h>
#include <linux/kernel.h>
#include <linux/io.h>
#include <linux/delay.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
#include <soc/sprd/arch_lock.h>
#ifdef CONFIG_OF
**---------------------------------------------------------------------------*/
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/globalregs.h> //define IRQ_GSP_INT
+#include <soc/sprd/hardware.h>
#include <linux/delay.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/pid.h>
#include <linux/pm_runtime.h>
-#include <soc/sprd/hardware.h>
#include <drm/drmP.h>
#include <drm/sprd_drm.h>
#include "sprd_drm_irq.h"
#include "sprd_drm_drv.h"
-#include <soc/sprd/hardware.h>
#include "sprdfb.h"
#include <soc/sprd/cpuidle.h>
#include <linux/of_gpio.h>
#include <soc/sprd/globalregs.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/board.h>
#include <soc/sprd/gpio.h>
#include <soc/sprd/adi.h>
#include <soc/sprd/kpd.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
#include <linux/wakelock.h>
#if CONFIG_SEC_DEBUG
#include <soc/sprd/sec_debug.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <../../../drivers/staging/android/timed_output.h>
-#include <soc/sprd/hardware.h>
#if defined(CONFIG_HAS_WAKELOCK)
#include <linux/wakelock.h>
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/adi.h>
#include <soc/sprd/adc.h>
+#include <soc/sprd/hardware.h>
#define FF_HAPTIC_NAME "ff-haptic"
#endif
#include <soc/sprd/adc.h>
#include <asm/io.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/adi.h>
#include <linux/module.h>
#include <linux/wakelock.h>
#include <linux/regulator/consumer.h>
#include <soc/sprd/regulator.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
#include <soc/sprd/arch_misc.h>
#include <linux/notifier.h>
#ifdef CONFIG_OF
#include <linux/sched.h>
#include <linux/timer.h>
-#include <../sound/soc/sprd/codec/sprd/v4/sprd-codec.h>
-
-
-
//==================== debug ====================
#define ENTER \
#include <linux/clk.h>
#include <linux/err.h>
#include <asm/io.h>
+#include <soc/sprd/sci.h>
+#include <soc/sprd/sci_glb_regs.h>
#ifndef CONFIG_64BIT
#include <soc/sprd/hardware.h>
#include <soc/sprd/board.h>
#else
#include <soc/sprd/irqs.h>
#endif
-#include <soc/sprd/sci.h>
-#include <soc/sprd/sci_glb_regs.h>
#include <linux/sprd_iommu.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <asm/io.h>
#include <linux/kthread.h>
-#include <soc/sprd/hardware.h>
#include <mach/irqs.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
#include <linux/vmalloc.h>
#include <linux/videodev2.h>
#include <linux/wakelock.h>
#include <linux/uaccess.h>
#include <linux/io.h>
#include <linux/clk_mon.h>
-#include <soc/sprd/pm_debug.h>
#include "clk_mon_ioctl.h"
#include "clk_mon_scx35.h"
+#include <soc/sprd/pm_debug.h>
/* SPRD is based on regulator framework and not Domain based framework
* hence, we need to get the status of the Parent regulators to check if
* it is ON/OFF
#include <linux/timer.h>
#include <linux/irq.h>
#include <linux/suspend.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/sci.h>
+#include <soc/sprd/hardware.h>
#include <soc/sprd/board.h>
#include <linux/sprd_iommu.h>
#include <linux/spinlock.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#endif
-#include <soc/sprd/hardware.h>
#include <linux/sprd_cproc.h>
#include <linux/sipc.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
//#include <soc/sprd/arch_misc.h>
#define CPROC_WDT_TRUE 1
#define CPROC_WDT_FLASE 0
#include <linux/of.h>
#include <linux/of_device.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
#include "sdhost.h"
#ifdef CONFIG_DEBUG_FS
#include <linux/debugfs.h>
#include <linux/delay.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/adi.h>
+#include <soc/sprd/hardware.h>
#include "sdhost.h"
#include "sdhost_debugfs.h"
#include <asm/delay.h>
+#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/hardware.h>
#include <soc/sprd/globalregs.h>
#include <soc/sprd/adi.h>
#include <soc/sprd/irqs.h>
-#include <soc/sprd/sci_glb_regs.h>
//#include <mach/irqs.h>
#include <asm/tlbflush.h>
#include <asm/fixmap.h>
#include <asm/pgalloc.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/adi.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/arch_misc.h>
+#include <soc/sprd/hardware.h>
#ifndef CONFIG_64BIT
#include "../../../arch/arm/mm/mm.h"
#include <linux/rtc.h>
#include <soc/sprd/sci.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/irqs.h>
#include <soc/sprd/busmonitor.h>
#include <soc/sprd/iomap.h>
#include <soc/sprd/pm_debug.h>
#include <soc/sprd/sprd_persistent_clock.h>
+#include <soc/sprd/hardware.h>
#ifdef CONFIG_OF
//#include <asm/system.h>
#include <trace/events/power.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/regulator.h>
#include <soc/sprd/adi.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/arch_misc.h>
+#include <soc/sprd/hardware.h>
#include <linux/pm_qos.h>
#include <linux/of_platform.h>
#include <linux/suspend.h>
#include <asm/proc-fns.h>
#include <soc/sprd/sci.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/cpuidle.h>
+#include <soc/sprd/hardware.h>
/*#define SC_IDLE_DEBUG 1*/
#include <linux/sched.h>
#include <linux/io.h>
-#include <soc/sprd/hardware.h>
#include <asm/cacheflush.h>
#include <asm/cp15.h>
#include <asm/smp_plat.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
extern volatile int pen_release;
#ifdef CONFIG_ARCH_SCX35
#include <linux/irqchip/arm-gic.h>
-#include <soc/sprd/hardware.h>
//#include <mach/irqs.h>
#include <soc/sprd/irqs.h>
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/arch_misc.h>
//#include <asm/fiq.h>
#include <soc/sprd/adi.h>
+#include <soc/sprd/hardware.h>
#include <linux/of.h>
#include <linux/irqchip.h>
-#include <soc/sprd/sci_glb_regs.h>
/* general interrupt registers */
#define INTC_IRQ_MSKSTS (0x0000)
#include <linux/seq_file.h>
#include <asm/uaccess.h>
#include <linux/printk.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/arch_lock.h>
#include <linux/of.h>
#include <soc/sprd/pin_switch.h>
+#include <soc/sprd/hardware.h>
#include <linux/regulator/consumer.h>
#ifdef CONFIG_PROC_FS
#include <asm/smp_scu.h>
#include <asm/unified.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/sci.h>
+#include <soc/sprd/hardware.h>
#include <asm/atomic.h>
extern void sci_secondary_startup(void);
#include <linux/wakelock.h>
#include <linux/kthread.h>
#include <linux/debugfs.h>
-#include <soc/sprd/pm_debug.h>
#if defined(CONFIG_ARCH_SCX35L64)||defined(CONFIG_ARCH_SCX35LT8)
#include <soc/sprd/sprd_persistent_clock.h>
#endif
#include <soc/sprd/irqs.h>
#include <soc/sprd/gpio.h>
#include <soc/sprd/iomap.h>
+#include <soc/sprd/pm_debug.h>
#include <linux/vmalloc.h>
#ifdef CONFIG_PM_SLEEP_HISTORY
#include <linux/power/sleep_history.h>
#include <linux/moduleparam.h>
#include <asm/system_misc.h>
#include <linux/dma-mapping.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/system.h>
#include <soc/sprd/sec_debug.h>
+#include <soc/sprd/hardware.h>
#include <linux/seq_file.h>
#include <linux/uaccess.h>
#include <linux/proc_fs.h>
-#include <soc/sprd/sec_debug.h>
#include <asm/mach/map.h>
#include <asm/tlbflush.h>
#include <linux/init.h>
#ifdef CONFIG_SEC_DEBUG_REG_ACCESS
#include <soc/sprd/arch_lock.h>
#endif
+#include <soc/sprd/sec_debug.h>
/*
* Example usage: sec_log=256K@0x45000000
#include <linux/wakelock.h>
#include <linux/kthread.h>
#include <linux/debugfs.h>
-#include <soc/sprd/pm_debug.h>
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/adi.h>
#include <soc/sprd/irqs.h>
#include <soc/sprd/gpio.h>
#include <soc/sprd/iomap.h>
+#include <soc/sprd/pm_debug.h>
#include <linux/vmalloc.h>
#ifdef CONFIG_SLEEP_MONITOR
#include <asm/localtimer.h>
#include <asm/mach/time.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
#include <mach/irqs.h>
#include <asm/mach/time.h>
#include <soc/sprd/sprd_persistent_clock.h>
#include <asm/irq.h>
#include <linux/err.h>
#include <linux/slab.h>
+#include <soc/sprd/sci_glb_regs.h>
#ifndef CONFIG_64BIT
#include <soc/sprd/hardware.h>
#include <soc/sprd/serial_sprd.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
-#include <soc/sprd/sci_glb_regs.h>
#define IRQ_WAKEUP 0
#include <linux/fb.h>
#endif
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
#include "spi_simple_drv.h"
#define _SC8830_DISPC_GLB_REG_K_H_
#include <linux/kernel.h>
-#include <soc/sprd/hardware.h>
#define SPRD_MIPI_DPHY_GEN2
#include <soc/sprd/sci_glb_regs.h>
#include <soc/sprd/sci.h>
#else
-#include <soc/sprd/hardware.h>
#include <soc/sprd/globalregs.h>
#include <mach/irqs.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
#endif
+#include <linux/kernel.h>
#include <linux/io.h>
#if defined(CONFIG_FB_SCX35L)
#define CPU_JUMP_VADDR (HOLDING_PEN_VADDR + 0X4)
/* registers for watchdog ,RTC, touch panel, aux adc, analog die... */
+#ifndef SPRD_MISC_BASE
#define SPRD_MISC_BASE ((unsigned int)SPRD_ADI_BASE)
+#endif
#define SPRD_MISC_PHYS ((unsigned int)SPRD_ADI_PHYS)
#define ANA_PWM_BASE (SPRD_ADISLAVE_BASE + 0x20 )
#include <linux/delay.h>
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sci.h>
#include <soc/sprd/sci_glb_regs.h>
+#include <soc/sprd/hardware.h>
#include <soc/sprd/adi.h>
#include <soc/sprd/dma.h>
#include <mach/irqs.h>
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H __FILE__
-#include <soc/sprd/hardware.h>
#include <soc/sprd/sys_reset.h>
+#include <soc/sprd/hardware.h>
static inline void arch_idle(void)
{
#include <sound/pcm_params.h>
#include <sound/tlv.h>
-#include <soc/sprd/hardware.h>
-
#include "sprd-asoc-common.h"
#ifndef CONFIG_SND_SOC_SPRD_AUDIO_DMA_ENGINE
#include "sprd-pcm.h"
#include "sprd-dmaengine-pcm.h"
#endif
#include <soc/sprd/i2s.h>
+#include <soc/sprd/hardware.h>
/* register offset */
#define IIS_TXD (0x0000)