summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tatung/tpj1022/backlight-tpj1022.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tatung/tpj1022/backlight-tpj1022.c')
-rw-r--r--firmware/target/arm/tatung/tpj1022/backlight-tpj1022.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/firmware/target/arm/tatung/tpj1022/backlight-tpj1022.c b/firmware/target/arm/tatung/tpj1022/backlight-tpj1022.c
deleted file mode 100644
index d63387728b..0000000000
--- a/firmware/target/arm/tatung/tpj1022/backlight-tpj1022.c
+++ /dev/null
@@ -1,46 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2006 by Barry Wardell
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22/* The H10 display (and hence backlight) possibly identical to that of the X5,
23 so that code was used here but left #if 0'ed out for the moment */
24
25#include "config.h"
26#include "cpu.h"
27#include "system.h"
28#include "backlight.h"
29
30void backlight_hw_on(void)
31{
32#if 0
33 int level = disable_irq_save();
34 pcf50606_write(0x38, 0xb0); /* Backlight ON, GPO1INV=1, GPO1ACT=011 */
35 restore_irq(level);
36#endif
37}
38
39void backlight_hw_off(void)
40{
41#if 0
42 int level = disable_irq_save();
43 pcf50606_write(0x38, 0x80); /* Backlight OFF, GPO1INV=1, GPO1ACT=000 */
44 restore_irq(level);
45#endif
46}