zen{,xfi,mozaic,xfistyle,v}: switch to the new button driver

Change-Id: I206b16f6374f536ab6d84e84fefc8370a96ef759
This commit is contained in:
Amaury Pouly 2014-02-22 20:33:20 +01:00
parent 82b86d4316
commit a2bfbe9ebc
3 changed files with 106 additions and 130 deletions

View file

@ -28,23 +28,6 @@ bool button_debug_screen(void);
/* HOLD button */
#if !defined(CREATIVE_ZENXFISTYLE)
#define HAS_BUTTON_HOLD
#define IMX233_BUTTON_LRADC_HOLD_DET BLH_ADC
#endif
/* VDDIO value */
#if defined(CREATIVE_ZENXFISTYLE)
#define IMX233_BUTTON_LRADC_VDDIO 3660
#elif defined(CREATIVE_ZEN)
#define IMX233_BUTTON_LRADC_VDDIO 3480
#elif defined(CREATIVE_ZENXFI)
#define IMX233_BUTTON_LRADC_VDDIO 3500
#endif
/* LRADC channel */
#if defined(CREATIVE_ZENXFISTYLE)
#define IMX233_BUTTON_LRADC_CHANNEL 2
#else
#define IMX233_BUTTON_LRADC_CHANNEL 0
#endif
/* Main unit's buttons */