Re: what is the meaning of matrix_keypad_platform_data.active_low

From: Marek Vasut
Date: Tue Aug 25 2009 - 06:21:40 EST


Dne Út 25. srpna 2009 09:18:23 Xiangfu Liu napsal(a):
> Hi
> ./include/linux/input/matrix_keypad.h
> there no help in matrix_keypad.h about active_low.
>
> I guess. when set active_low to 1.means:
>
> 0: key press
> 1: key not press
>
> right?

Hi, yeah, it means the GPIO pins have inverted voltage levels.
>
> thanks for help.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/