mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 08:40:54 +07:00
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>
This commit is contained in:
parent
edd0799250
commit
244d34230b
@ -274,8 +274,8 @@ static const struct ad7879_platform_data bfin_ad7879_ts_info = {
|
|||||||
.median = 2, /* do 8 measurements */
|
.median = 2, /* do 8 measurements */
|
||||||
.averaging = 1, /* take the average of 4 middle samples */
|
.averaging = 1, /* take the average of 4 middle samples */
|
||||||
.pen_down_acc_interval = 255, /* 9.4 ms */
|
.pen_down_acc_interval = 255, /* 9.4 ms */
|
||||||
.gpio_output = 1, /* configure AUX/VBAT/GPIO as GPIO output */
|
.gpio_export = 1, /* Export GPIO to gpiolib */
|
||||||
.gpio_default = 1, /* During initialization set GPIO = HIGH */
|
.gpio_base = -1, /* Dynamic allocation */
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -521,8 +521,7 @@ static const struct ad7879_platform_data bfin_ad7879_ts_info = {
|
|||||||
.median = 2, /* do 8 measurements */
|
.median = 2, /* do 8 measurements */
|
||||||
.averaging = 1, /* take the average of 4 middle samples */
|
.averaging = 1, /* take the average of 4 middle samples */
|
||||||
.pen_down_acc_interval = 255, /* 9.4 ms */
|
.pen_down_acc_interval = 255, /* 9.4 ms */
|
||||||
.gpio_output = 1, /* configure AUX/VBAT/GPIO as GPIO output */
|
.gpio_export = 0, /* Export GPIO to gpiolib */
|
||||||
.gpio_default = 1, /* During initialization set GPIO = HIGH */
|
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -705,8 +705,8 @@ static const struct ad7879_platform_data bfin_ad7879_ts_info = {
|
|||||||
.median = 2, /* do 8 measurements */
|
.median = 2, /* do 8 measurements */
|
||||||
.averaging = 1, /* take the average of 4 middle samples */
|
.averaging = 1, /* take the average of 4 middle samples */
|
||||||
.pen_down_acc_interval = 255, /* 9.4 ms */
|
.pen_down_acc_interval = 255, /* 9.4 ms */
|
||||||
.gpio_output = 1, /* configure AUX/VBAT/GPIO as GPIO output */
|
.gpio_export = 1, /* Export GPIO to gpiolib */
|
||||||
.gpio_default = 1, /* During initialization set GPIO = HIGH */
|
.gpio_base = -1, /* Dynamic allocation */
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -518,8 +518,8 @@ static const struct ad7879_platform_data bfin_ad7879_ts_info = {
|
|||||||
.median = 2, /* do 8 measurements */
|
.median = 2, /* do 8 measurements */
|
||||||
.averaging = 1, /* take the average of 4 middle samples */
|
.averaging = 1, /* take the average of 4 middle samples */
|
||||||
.pen_down_acc_interval = 255, /* 9.4 ms */
|
.pen_down_acc_interval = 255, /* 9.4 ms */
|
||||||
.gpio_output = 1, /* configure AUX/VBAT/GPIO as GPIO output */
|
.gpio_export = 1, /* Export GPIO to gpiolib */
|
||||||
.gpio_default = 1, /* During initialization set GPIO = HIGH */
|
.gpio_base = -1, /* Dynamic allocation */
|
||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user