Skip to content

Commit

Permalink
ARM: mach-shmobile: ap4evb: Add SW43, SW3 tiny document
Browse files Browse the repository at this point in the history
Signed-off-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Kuninori Morimoto authored and Paul Mundt committed Apr 7, 2010
1 parent 91cf508 commit dda128d
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions arch/arm/mach-shmobile/board-ap4evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,16 @@
*/

/*
* KEYSC
* LCD / IRQ / KEYSC / IrDA
*
* SW43 KEYSC
* -------------------------
* ON enable
* OFF disable
* IRQ = IRQ26 (TS), IRQ27 (VIO), IRQ28 (TouchScreen)
* LCD = 2nd LCDC
*
* | SW43 |
* SW3 | ON | OFF |
* -------------+-----------------------+---------------+
* ON | KEY / IrDA | LCD |
* OFF | KEY / IrDA / IRQ | IRQ |
*/

/* MTD */
Expand Down Expand Up @@ -236,7 +240,7 @@ static struct platform_device *ap4evb_devices[] __initdata = {
&sdhi0_device,
};

/* TouchScreen */
/* TouchScreen (Needs SW3 set to OFF) */
#define IRQ28 396
struct tsc2007_platform_data tsc2007_info = {
.model = 2007,
Expand Down

0 comments on commit dda128d

Please sign in to comment.