Re: [PATCH v3 3/4] pinctrl: amd: print debounce filter info in debugfs

From: Linus Walleij
Date: Tue Nov 10 2020 - 08:21:29 EST


On Fri, Nov 6, 2020 at 12:19 AM Coiby Xu <coiby.xu@xxxxxxxxx> 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 <coiby.xu@xxxxxxxxx>

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

Yours,
Linus Walleij