Re: [PATCH] ads7846: do not ignore pendown-gpio flags

2015-05-20 Thread Dmitry Torokhov
Hi Evgeniy, On Wed, May 20, 2015 at 10:26:20AM +0300, Evgeniy Dushistov wrote: > At current state ads7846 driver ignore GPIO_ACTIVE_LOW, > GPIO_ACTIVE_HIGH flags in such dts expression: > pendown-gpio = <&gpio5 5 GPIO_ACTIVE_HIGH>; > > In times of usage arch/arm/.. you can handle this > by get_pe

[PATCH] ads7846: do not ignore pendown-gpio flags

2015-05-20 Thread Evgeniy Dushistov
At current state ads7846 driver ignore GPIO_ACTIVE_LOW, GPIO_ACTIVE_HIGH flags in such dts expression: pendown-gpio = <&gpio5 5 GPIO_ACTIVE_HIGH>; In times of usage arch/arm/.. you can handle this by get_pendown_state callback passed via platform_data, but at now with Device Tree it is impossible