diff options
author | Michael Hennerich <michael.hennerich@analog.com> | 2009-12-18 04:29:39 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-03-09 00:30:46 -0500 |
commit | 244d34230b7447fba95221dbf39b39e94257939c (patch) | |
tree | 43500d6b220af8e444c0ea5c03565c689070915e /arch | |
parent | edd07992504e631b50d18d130c62addbcb16269e (diff) |
Blackfin: update AD7879 resources to match the new gpiolib driver support
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezbrd.c | 4 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 3 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/stamp.c | 4 | ||||
-rw-r--r-- | arch/blackfin/mach-bf538/boards/ezkit.c | 4 |
4 files changed, 7 insertions, 8 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c index faede2b964ba..55069af4f67d 100644 --- a/arch/blackfin/mach-bf527/boards/ezbrd.c +++ b/arch/blackfin/mach-bf527/boards/ezbrd.c | |||
@@ -274,8 +274,8 @@ static const struct ad7879_platform_data bfin_ad7879_ts_info = { | |||
274 | .median = 2, /* do 8 measurements */ | 274 | .median = 2, /* do 8 measurements */ |
275 | .averaging = 1, /* take the average of 4 middle samples */ | 275 | .averaging = 1, /* take the average of 4 middle samples */ |
276 | .pen_down_acc_interval = 255, /* 9.4 ms */ | 276 | .pen_down_acc_interval = 255, /* 9.4 ms */ |
277 | .gpio_output = 1, /* configure AUX/VBAT/GPIO as GPIO output */ | 277 | .gpio_export = 1, /* Export GPIO to gpiolib */ |
278 | .gpio_default = 1, /* During initialization set GPIO = HIGH */ | 278 | .gpio_base = -1, /* Dynamic allocation */ |
279 | }; | 279 | }; |
280 | #endif | 280 | #endif |
281 | 281 | ||
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index fdfe8cae49bc..0cc3581e6461 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -521,8 +521,7 @@ static const struct ad7879_platform_data bfin_ad7879_ts_info = { | |||
521 | .median = 2, /* do 8 measurements */ | 521 | .median = 2, /* do 8 measurements */ |
522 | .averaging = 1, /* take the average of 4 middle samples */ | 522 | .averaging = 1, /* take the average of 4 middle samples */ |
523 | .pen_down_acc_interval = 255, /* 9.4 ms */ | 523 | .pen_down_acc_interval = 255, /* 9.4 ms */ |
524 | .gpio_output = 1, /* configure AUX/VBAT/GPIO as GPIO output */ | 524 | .gpio_export = 0, /* Export GPIO to gpiolib */ |
525 | .gpio_default = 1, /* During initialization set GPIO = HIGH */ | ||
526 | }; | 525 | }; |
527 | #endif | 526 | #endif |
528 | 527 | ||
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c index 538bff83e607..03e36bd6fd05 100644 --- a/arch/blackfin/mach-bf537/boards/stamp.c +++ b/arch/blackfin/mach-bf537/boards/stamp.c | |||
@@ -705,8 +705,8 @@ static const struct ad7879_platform_data bfin_ad7879_ts_info = { | |||
705 | .median = 2, /* do 8 measurements */ | 705 | .median = 2, /* do 8 measurements */ |
706 | .averaging = 1, /* take the average of 4 middle samples */ | 706 | .averaging = 1, /* take the average of 4 middle samples */ |
707 | .pen_down_acc_interval = 255, /* 9.4 ms */ | 707 | .pen_down_acc_interval = 255, /* 9.4 ms */ |
708 | .gpio_output = 1, /* configure AUX/VBAT/GPIO as GPIO output */ | 708 | .gpio_export = 1, /* Export GPIO to gpiolib */ |
709 | .gpio_default = 1, /* During initialization set GPIO = HIGH */ | 709 | .gpio_base = -1, /* Dynamic allocation */ |
710 | }; | 710 | }; |
711 | #endif | 711 | #endif |
712 | 712 | ||
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c index d2d06f046ad0..1a1f65855b03 100644 --- a/arch/blackfin/mach-bf538/boards/ezkit.c +++ b/arch/blackfin/mach-bf538/boards/ezkit.c | |||
@@ -518,8 +518,8 @@ static const struct ad7879_platform_data bfin_ad7879_ts_info = { | |||
518 | .median = 2, /* do 8 measurements */ | 518 | .median = 2, /* do 8 measurements */ |
519 | .averaging = 1, /* take the average of 4 middle samples */ | 519 | .averaging = 1, /* take the average of 4 middle samples */ |
520 | .pen_down_acc_interval = 255, /* 9.4 ms */ | 520 | .pen_down_acc_interval = 255, /* 9.4 ms */ |
521 | .gpio_output = 1, /* configure AUX/VBAT/GPIO as GPIO output */ | 521 | .gpio_export = 1, /* Export GPIO to gpiolib */ |
522 | .gpio_default = 1, /* During initialization set GPIO = HIGH */ | 522 | .gpio_base = -1, /* Dynamic allocation */ |
523 | }; | 523 | }; |
524 | #endif | 524 | #endif |
525 | 525 | ||