Re: [PATCH v2 1/3] pinctrl: sunxi: Fix PIN_CONFIG_BIAS_PULL_{DOWN,UP} argument

2016-11-15 Thread Linus Walleij
On Fri, Nov 11, 2016 at 3:44 AM, Chen-Yu Tsai 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

Re: [PATCH v2 1/3] pinctrl: sunxi: Fix PIN_CONFIG_BIAS_PULL_{DOWN,UP} argument

2016-11-11 Thread Maxime Ripard
On Fri, Nov 11, 2016 at 10:44:53AM +0800, Chen-Yu Tsai 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 use