From 2606ee7f9c7cd2c5f01f98309a605145c30d015e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E9=92=9F=E5=8B=87=E6=B1=AA?= Date: Tue, 18 May 2010 15:07:08 +0000 Subject: [PATCH] delete backlight head file in mach --- .../include/mach/rk2818_backlight.h | 52 ------------------- 1 file changed, 52 deletions(-) delete mode 100755 arch/arm/mach-rk2818/include/mach/rk2818_backlight.h diff --git a/arch/arm/mach-rk2818/include/mach/rk2818_backlight.h b/arch/arm/mach-rk2818/include/mach/rk2818_backlight.h deleted file mode 100755 index f139178d48ee..000000000000 --- a/arch/arm/mach-rk2818/include/mach/rk2818_backlight.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * linux/include/asm-arm/arch-rockchip/pwm.h - * - */ - -#ifndef __ASM_ARCH_RK2818_BACKLIGHT_H -#define __ASM_ARCH_RK2818_BACKLIGHT_H -#include - -///PWM_CTRL -#define PWM_DIV2 (0<<9) -#define PWM_DIV4 (1<<9) -#define PWM_DIV8 (2<<9) -#define PWM_DIV16 (3<<9) -#define PWM_DIV32 (4<<9) -#define PWM_DIV64 (5<<9) -#define PWM_DIV128 (6<<9) -#define PWM_DIV256 (7<<9) -#define PWM_DIV512 (8<<9) -#define PWM_DIV1024 (9<<9) - -#define PWM_CAPTURE (1<<8) -#define PWM_RESET (1<<7) -#define PWM_INTCLR (1<<6) -#define PWM_INTEN (1<<5) -#define PWM_SINGLE (1<<6) - -#define PWM_ENABLE (1<<3) -#define PWM_TIME_EN (1) - - -#define PWM_REG_CNTR 0x00 -#define PWM_REG_HRC 0x04 -#define PWM_REG_LRC 0x08 -#define PWM_REG_CTRL 0x0c - - -#define PWM_DIV PWM_DIV2 -#define PWM_APB_PRE_DIV 1000 -#define BL_STEP 255 - - -struct rk2818bl_info{ - u32 pwm_id; - u32 pw_pin; - u32 bl_ref; - struct timer_list timer; - struct notifier_block freq_transition; -}; - - -#endif /* __ASM_ARCH_RK2818_BACKLIGHT_H */ -- 2.34.1