[PATCH v3 1/3] pinctrl: sunxi: Fix PIN_CONFIG_BIAS_PULL_{DOWN, UP} argument
Linus Walleij
linus.walleij at linaro.org
Tue Nov 15 01:19:21 PST 2016
On Fri, Nov 11, 2016 at 10:50 AM, Chen-Yu Tsai <wens at csie.org> wrote:
> According to pinconf-generic.h, the argument for
> PIN_CONFIG_BIAS_PULL_{DOWN,UP} is non-zero if the bias is enabled
> with a pull up/down resistor, zero if it is directly connected
> to VDD or ground.
>
> Since Allwinner hardware uses a weak pull resistor internally,
> the argument should be 1.
>
> Signed-off-by: Chen-Yu Tsai <wens at csie.org>
> Acked-by: Maxime Ripard <maxime.ripard at free-electrons.com>
Applied this v3 rather than the v2.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list