[PATCH v3 02/21] pinctrl: pinconf-generic: Add property 'input-debounce-ns'

Linus Walleij linusw at kernel.org
Thu Jun 11 01:10:27 PDT 2026


On Wed, Jun 3, 2026 at 5:18 PM Conor Dooley <conor at kernel.org> wrote:

> >       PIN_CONFIG_INPUT_DEBOUNCE,
> > +     PIN_CONFIG_INPUT_DEBOUNCE_NS,
> >       PIN_CONFIG_INPUT_ENABLE,
> >       PIN_CONFIG_INPUT_SCHMITT,
> >       PIN_CONFIG_INPUT_SCHMITT_ENABLE,
>
> Should this grow a mutual exclusion check in parse_fw_cfg()?
> Part of me says yes for consistency, but also as this is a new property
> that's going to have had exclusion in the binding from the start part of
> me says that it is unnecessary to add that.

Given that it already has a mutual exclusivity where it matters
most (in the bindings) I feel it's unnecessary. The only beneficials
would be out-of-tree users and I actively don't care about these
people.

Yours,
Linus Walleij



More information about the linux-riscv mailing list