Re: [PATCH] pinctrl: meson: a4: Add input enable pin configuration

Linus Walleij <[email protected]>
Newsgroups org.infradead.lists.linux-amlogic,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-gpio,org.kernel.vger.linux-kernel
Message-ID <CAD++jLneywcc-c01_T+gn0B8R0eS-8L-uZaQFLFAP76d-+rMag@mail.gmail.com>
On Wed, Aug 12, 2026 at 12:18 PM Xianwei Zhao via B4 Relay
<[email protected]> wrote:

> From: Xianwei Zhao <[email protected]>
>
> Add support for PIN_CONFIG_INPUT_ENABLE in the Amlogic A4 pinctrl
> driver.
>
> Use the existing output enable control to configure the input enable
> state, since the hardware uses the same control with inverse semantics.
>
> Also update PIN_CONFIG_OUTPUT_ENABLE handling to return the actual
> output enable state instead of treating any non-zero value as enabled.
>
> Signed-off-by: Xianwei Zhao <[email protected]>

I just applied this because we are close to the merge window and
it seems important and looks good to me.

I can always pull it out if the maintainers object.

Yours,
Linus Walleij

_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.