From: swj Date: Mon, 13 Sep 2010 09:34:10 +0000 (-0700) Subject: change jogball for it50 X-Git-Tag: firefly_0821_release~11150 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=17673db49f624725d1fc83826b9700e2400ea56d;p=firefly-linux-kernel-4.4.55.git change jogball for it50 --- diff --git a/arch/arm/mach-rk2818/board-infoit50.c b/arch/arm/mach-rk2818/board-infoit50.c index f91a2e6590bc..6956c5345393 100644 --- a/arch/arm/mach-rk2818/board-infoit50.c +++ b/arch/arm/mach-rk2818/board-infoit50.c @@ -1368,6 +1368,18 @@ struct adc_key_data rk2818_adc_key = { struct rk2818_adckey_platform_data rk2818_adckey_platdata = { .adc_key = &rk2818_adc_key, }; + +struct jgball_data rk2818_jogball = { + .pin_up = TCA6424_P11, + .pin_down = TCA6424_P06, + .pin_left = TCA6424_P10, + .pin_right = TCA6424_P07, +}; +struct rk2818_jogball_paltform_data rk2818_jogball_platdata = { + .jogball_key = &rk2818_jogball, +}; + + #if CONFIG_ANDROID_TIMED_GPIO struct timed_gpio_platform_data rk28_vibrator_info = { .num_gpios = 0, diff --git a/arch/arm/mach-rk2818/devices.h b/arch/arm/mach-rk2818/devices.h old mode 100755 new mode 100644 index f91bc671adca..560b0d82ab1f --- a/arch/arm/mach-rk2818/devices.h +++ b/arch/arm/mach-rk2818/devices.h @@ -51,6 +51,7 @@ extern struct platform_device rk2818_device_fb; extern struct platform_device rk2818_device_adc; extern struct platform_device rk2818_device_adckey; extern struct rk2818_adckey_platform_data rk2818_adckey_platdata; +extern struct rk2818_jogball_paltform_data rk2818_jogball_platdata; extern struct platform_device rk2818_device_battery; extern struct rk2818_battery_platform_data rk2818_battery_platdata; extern struct platform_device rk2818_device_backlight;