On Fri, Nov 6, 2020 at 12:19 AM Coiby Xu <[email protected]> wrote:

> Print the status of debounce filter as follows,
> $ cat /sys/kernel/debug/gpio
> pin129          interrupt is disabled| interrupt is masked| disable wakeup in 
> S0i3 state| disable wakeup in S3 state|
>  disable wakeup in S4/S5 state| input is high|   pull-up is disabled| 
> Pull-down is disabled|   output is disabled| debouncing filter disabled|   
> 0x50000
>                                                                               
>                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
> pin130          interrupt is disabled| interrupt is masked| disable wakeup in 
> S0i3 state| disable wakeup in S3 state|
>  disable wakeup in S4/S5 state| input is high|   pull-up is disabled| 
> Pull-down is disabled|   output is disabled| debouncing filter (high) 
> enabled| debouncing timeout is 124800 (us)| 0x503c8
>                                                                               
>                                     
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Signed-off-by: Coiby Xu <[email protected]>

Patch applied for the next kernel (v5.11).

Yours,
Linus Walleij

Reply via email to