[PATCH 03/14] mmc: mmci: Add support for setting pad type via pinctrl
Linus Walleij
linus.walleij at linaro.org
Sun Jan 14 17:07:24 PST 2018
On Fri, Jan 12, 2018 at 1:15 PM, <patrice.chotard at st.com> wrote:
> From: Patrice Chotard <patrice.chotard at st.com>
>
> The STM32 variant hasn't the control bit to switch pads in opendrain mode.
> In this case we can achieve the same result by asking to the pinmux driver
> to configure pins for us.
>
> This patch make the mmci driver able to do this whenever needed.
>
> Signed-off-by: Andrea Merello <andrea.merello at gmail.com>
> Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
Nice and clean way to use pin control for this.
Hats off!
Reviewed-by: Linus Walleij <linus.walleij at linaro.org>
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list