Home
last modified time | relevance | path

Searched hist:"6 c98ac42120dcadd799f0660e7d15cd6b5d0073e" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pinctrl/nuvoton/
H A Dpinctrl-wpcm450.cdiff 6c98ac42120dcadd799f0660e7d15cd6b5d0073e Sat Nov 05 13:59:05 CDT 2022 Jonathan Neuschäfer <j.neuschaefer@gmx.net> pinctrl: nuvoton: wpcm450: Fix handling of inverted MFSEL bits

SCS3SEL and KBCCSEL use inverted logic: Whereas in other fields 0
selects the GPIO function and 1 selects the special function, in these
two fields, 0 selects the special function and 1 selects the GPIO
function.

Adjust the code to handle this quirk.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20221105185911.1547847-3-j.neuschaefer@gmx.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>