Re: [PATCH v3] Input: gpio_keys: Add level trigger support for GPIO keys

2018-03-01 Thread Baolin Wang
On 2 March 2018 at 08:44, Dmitry Torokhov wrote: > On Thu, Mar 01, 2018 at 03:35:23PM +0800, Baolin Wang wrote: >> On 28 February 2018 at 22:44, Arnd Bergmann wrote: >> > On Wed, Feb 28, 2018 at 1:44 PM, Baolin Wang >> > wrote: >> >> On some platforms (such as Spreadtrum platform), the GPIO key

Re: [PATCH v3] Input: gpio_keys: Add level trigger support for GPIO keys

2018-03-01 Thread Dmitry Torokhov
On Thu, Mar 01, 2018 at 03:35:23PM +0800, Baolin Wang wrote: > On 28 February 2018 at 22:44, Arnd Bergmann wrote: > > On Wed, Feb 28, 2018 at 1:44 PM, Baolin Wang wrote: > >> On some platforms (such as Spreadtrum platform), the GPIO keys can only > >> be triggered by level type. So this patch int

Re: [PATCH v3] Input: gpio_keys: Add level trigger support for GPIO keys

2018-02-28 Thread Baolin Wang
On 28 February 2018 at 22:44, Arnd Bergmann wrote: > On Wed, Feb 28, 2018 at 1:44 PM, Baolin Wang wrote: >> On some platforms (such as Spreadtrum platform), the GPIO keys can only >> be triggered by level type. So this patch introduces one property to >> indicate if the GPIO trigger type is level

Re: [PATCH v3] Input: gpio_keys: Add level trigger support for GPIO keys

2018-02-28 Thread Arnd Bergmann
On Wed, Feb 28, 2018 at 1:44 PM, Baolin Wang wrote: > On some platforms (such as Spreadtrum platform), the GPIO keys can only > be triggered by level type. So this patch introduces one property to > indicate if the GPIO trigger type is level trigger or edge trigger. > > Signed-off-by: Baolin Wang

[PATCH v3] Input: gpio_keys: Add level trigger support for GPIO keys

2018-02-28 Thread Baolin Wang
On some platforms (such as Spreadtrum platform), the GPIO keys can only be triggered by level type. So this patch introduces one property to indicate if the GPIO trigger type is level trigger or edge trigger. Signed-off-by: Baolin Wang --- Changes since v2: - Use 'interrupt' property to indicate