aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/boards/atngw100/Kconfig
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-07-01 04:29:27 -0400
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2008-10-13 06:56:24 -0400
commita3bee42f058c2f9fe281df942eff397924630a12 (patch)
tree81bd43eddc01ab40958382c542aafef6a4892328 /arch/avr32/boards/atngw100/Kconfig
parent1d3ba686ed706a0e8563878b2ec415e125178607 (diff)
avr32: Add support for EVKLCD10X addon boards
This patch lets the user enable support for EVKLCD100 and EVKLCD101 (refered to by EVKLCD10X). By enabling EVKLCD10X support the LCD controller and AC97 controller platform devices are added. The user can also choose between the EVKLCD100 (QVGA display) and the EVKLCD101 (VGA display), this is added to automagically select the correct panel timing and resolution parameters. Enabling support for EVKLCD10X addon board will cripple the MCI platform device a bit since they share two GPIO lines (detect and write-protect). These two lines are disabled when EVKLCD10X is enabled. The default configurations are based upon ATNGW100, but with added AC97C and LCDC driver. Virtual terminal is also enabled by default for EVKLCD10X boards. Verified on hardware with a NGW100 + EVKLCD100/101. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/boards/atngw100/Kconfig')
-rw-r--r--arch/avr32/boards/atngw100/Kconfig35
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/avr32/boards/atngw100/Kconfig b/arch/avr32/boards/atngw100/Kconfig
new file mode 100644
index 000000000000..b3f99477bbeb
--- /dev/null
+++ b/arch/avr32/boards/atngw100/Kconfig
@@ -0,0 +1,35 @@
1# NGW100 customization
2
3if BOARD_ATNGW100
4
5config BOARD_ATNGW100_EVKLCD10X
6 bool "Add support for EVKLCD10X addon board"
7 help
8 This enables support for the EVKLCD100 (QVGA) or EVKLCD101 (VGA)
9 addon board for the NGW100. By enabling this the LCD controller and
10 AC97 controller is added as platform devices.
11
12 This choice disables the detect pin and the write-protect pin for the
13 MCI platform device, since it conflicts with the LCD platform device.
14 The MCI pins can be reenabled by editing the "add device function" but
15 this may break the setup for other displays that use these pins.
16
17 Choose 'Y' here if you have a EVKLCD100/101 connected to the NGW100.
18
19choice
20 prompt "LCD panel resolution on EVKLCD10X"
21 depends on BOARD_ATNGW100_EVKLCD10X
22 default BOARD_ATNGW100_EVKLCD10X_VGA
23
24config BOARD_ATNGW100_EVKLCD10X_QVGA
25 bool "QVGA (320x240)"
26
27config BOARD_ATNGW100_EVKLCD10X_VGA
28 bool "VGA (640x480)"
29
30config BOARD_ATNGW100_EVKLCD10X_POW_QVGA
31 bool "Powertip QVGA (320x240)"
32
33endchoice
34
35endif # BOARD_ATNGW100