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

Linus Walleij linusw at kernel.org
Fri Aug 14 00:32:43 PDT 2026


On Wed, Aug 12, 2026 at 12:18 PM Xianwei Zhao via B4 Relay
<devnull+xianwei.zhao.amlogic.com at kernel.org> wrote:

> From: Xianwei Zhao <xianwei.zhao at amlogic.com>
>
> 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 <xianwei.zhao at amlogic.com>

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



More information about the linux-amlogic mailing list