rk3026: disable adc keyboard

because rk280a adc reference voltage is 3.3V, but
rk30xx mainbord key's supply voltage is 2.5V and
rk31xx mainbord key's supply voltage is 1.8V.
This commit is contained in:
kfx
2013-08-01 15:53:01 +08:00
parent 7ca0a63294
commit 73f33a7578
2 changed files with 28 additions and 0 deletions

View File

@@ -434,6 +434,19 @@ static struct sensor_platform_data mma8452_info = {
#include <plat/key.h>
static struct rk29_keys_button key_button[] = {
{
.desc = "play",
.code = KEY_POWER,
.gpio = PLAY_ON_PIN,
.active_low = PRESS_LEV_LOW,
.wakeup = 1,
},
/* disable adc keyboard,
* because rk280a adc reference voltage is 3.3V, but
* rk30xx mainbord key's supply voltage is 2.5V and
* rk31xx mainbord key's supply voltage is 1.8V.
*/
#if 0
#ifdef RK31XX_MAINBOARD_V1
{
.desc = "vol-",
@@ -528,6 +541,7 @@ static struct rk29_keys_button key_button[] = {
.active_low = PRESS_LEV_LOW,
},
#endif
#endif
};
struct rk29_keys_platform_data rk29_keys_pdata = {

View File

@@ -434,6 +434,19 @@ static struct sensor_platform_data mma8452_info = {
#include <plat/key.h>
static struct rk29_keys_button key_button[] = {
{
.desc = "play",
.code = KEY_POWER,
.gpio = PLAY_ON_PIN,
.active_low = PRESS_LEV_LOW,
.wakeup = 1,
},
/* disable adc keyboard,
* because rk280a adc reference voltage is 3.3V, but
* rk30xx mainbord key's supply voltage is 2.5V and
* rk31xx mainbord key's supply voltage is 1.8V.
*/
#if 0
#ifdef RK31XX_MAINBOARD_V1
{
.desc = "vol-",
@@ -528,6 +541,7 @@ static struct rk29_keys_button key_button[] = {
.active_low = PRESS_LEV_LOW,
},
#endif
#endif
};
struct rk29_keys_platform_data rk29_keys_pdata = {