From 8e1ded99319933092f5105750b9ec6315f4c0bbb Mon Sep 17 00:00:00 2001 From: Lukas-David Gorris Date: Tue, 5 Oct 2010 16:46:49 +0200 Subject: [PATCH] htcleo: update Kconfig , Makefile --- arch/arm/mach-msm/Kconfig | 40 ++++++++++++++++++++++++++++++++++---- arch/arm/mach-msm/Makefile | 8 ++++---- 2 files changed, 40 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-msm/Kconfig b/arch/arm/mach-msm/Kconfig index 5a17cc89..9f0d12f2 100644 --- a/arch/arm/mach-msm/Kconfig +++ b/arch/arm/mach-msm/Kconfig @@ -498,7 +498,7 @@ choice bool "DG Timer" help High resolution timer. -endchoice +endchoice choice prompt "Suspend sleep mode" @@ -525,7 +525,7 @@ choice config MSM7X00A_SLEEP_WAIT_FOR_INTERRUPT bool "Wait for interrupt" -endchoice +endchoice config MSM7X00A_SLEEP_MODE int @@ -560,7 +560,7 @@ choice config MSM7X00A_IDLE_SLEEP_WAIT_FOR_INTERRUPT bool "Wait for interrupt" -endchoice +endchoice config MSM7X00A_IDLE_SLEEP_MODE int @@ -861,7 +861,7 @@ config WIFI_CONTROL_FUNC bool "Enable WiFi control function abstraction" help Enables Power/Reset/Carddetect function abstraction - + config WIFI_MEM_PREALLOC depends on WIFI_CONTROL_FUNC bool "Preallocate memory for WiFi buffers" @@ -1081,3 +1081,35 @@ config HTCLEO_ENABLE_MULTI_TOUCH depends on MACH_HTCLEO help Add multitouch support for touchscreen + +choice + prompt "HTCLEO Keymapping" + default HTCLEO_KEYMAP_ANDROID + + config HTCLEO_KEYMAP_ANDROID + bool "Keymapping for Android" + help + Optimized for the default Android GUI + + config HTCLEO_KEYMAP_DPAD + bool "Alternative Keymapping" + help + Useful in GUIs not designed for touch-only use as this enables + four direction keys, alt key and enter key. Assumes landscape orientation. +endchoice + +choice + prompt "HTCLEO Backlight API type" + default HTCLEO_BACKLIGHT_LED + + config HTCLEO_BACKLIGHT_LED + bool "Backlight control via LED API" + help + Needed by Google Android + + config HTCLEO_BACKLIGHT + select BACKLIGHT_LCD_SUPPORT + bool "Standard backlight API" + help + Works in standard Linux distros. Tested in GNOME. +endchoice diff --git a/arch/arm/mach-msm/Makefile b/arch/arm/mach-msm/Makefile index 5fc5e2c3..9669f390 100644 --- a/arch/arm/mach-msm/Makefile +++ b/arch/arm/mach-msm/Makefile @@ -18,7 +18,7 @@ obj-$(CONFIG_ARCH_MSM_SCORPION) += idle-v7.o obj-y += gpio.o generic_gpio.o obj-y += nand_partitions.o obj-y += drv_callback.o -obj-$(CONFIG_ARCH_QSD8X50) += pmic.o +obj-$(CONFIG_ARCH_QSD8X50) += pmic.o ifndef CONFIG_MACH_HTCLEO obj-$(CONFIG_ARCH_QSD8X50) += htc_wifi_nvs.o htc_bluetooth.o else @@ -118,9 +118,11 @@ obj-$(CONFIG_MACH_HTCLEO) += board-htcleo.o board-htcleo-spi.o board-htcleo-pane obj-$(CONFIG_MACH_HTCLEO) += board-htcleo-ts.o board-htcleo-mmc.o ieee754-df.o board-htcleo-power.o obj-$(CONFIG_MACH_HTCLEO) += board-htcleo-battery.o board-htcleo-log.o board-htcleo-audio.o board-htcleo-acoustic.o -obj-$(CONFIG_MACH_HTCLEO) += board-htcleo-bt.o board-htcleo-wifi.o board-htcleo-microp.o board-htcleo-bkl.o +obj-$(CONFIG_MACH_HTCLEO) += board-htcleo-bt.o board-htcleo-wifi.o board-htcleo-microp.o obj-$(CONFIG_MACH_HTCLEO) += board-htcleo-proximity.o board-htcleo-leds.o board-htcleo-ls.o obj-$(CONFIG_MACH_HTCLEO) += clock-wince.o +obj-$(CONFIG_HTCLEO_BACKLIGHT) += board-htcleo-bl.o +obj-$(CONFIG_HTCLEO_BACKLIGHT_LED) += board-htcleo-bl-led.o # MSM7x30 boards obj-$(CONFIG_ARCH_MSM7X30) += panel-samsungwvga-tl2796a.o panel-samsungwvga-s6e63m0.o panel-sonywvga-s6d16a0x21-7x30.o @@ -244,5 +246,3 @@ obj-$(CONFIG_MACH_MAHIMAHI) += board-mahimahi-smb329.o obj-$(CONFIG_MSM_SSBI) += ssbi.o obj-$(CONFIG_HTC_FB_CONSOLE) += htc_fb_console.o - -