Message ID | cover.66d6a9a379de8ebf176e4c25a8542152dc09f366.1552591798.git-series.maxime.ripard@bootlin.com (mailing list archive) |
---|---|
Headers | show |
Series | pinctrl: sunxi: Allow to configure pull-up / pull-down from GPIO flags | expand |
On Fri, Mar 15, 2019 at 3:33 AM Maxime Ripard <maxime.ripard@bootlin.com> wrote: > > Hi, > > Here is a series that addresses one of the issues we've had for some time > with our pinctrl driver, which is that while we should have had the strict > mode enabled, we didn't and now we have to deal with all the DT having GPIO > and pinctrl nodes for the same pins. > > This was partially due to cargo cult (which has been addressed since), but > also due to technical limitations of the GPIO DT bindings at the time which > didn't allow to specify the pull-up and pull-down resistors, and the drive > strength of the pins. > > Now that the former are supported, we can remove those users, and we will > deal with the latter eventually. > > Let me know what you think, > Maxime > > Maxime Ripard (6): > gpio: Set proper argument value to set_config > pinctrl: sunxi: implement pin_config_set > pinctrl: sunxi: Fix variable assignment syntax > pinctrl: sunxi: Declare set_config on the GPIO chip > ARM: dts: sunxi: Remove pinctrl groups setting bias > ARM: dts: sunxi: Remove useless pinctrl nodes Acked-by: Chen-Yu Tsai <wens@csie.org>
On Thu, Mar 14, 2019 at 08:32:49PM +0100, Maxime Ripard wrote: > Hi, > > Here is a series that addresses one of the issues we've had for some time > with our pinctrl driver, which is that while we should have had the strict > mode enabled, we didn't and now we have to deal with all the DT having GPIO > and pinctrl nodes for the same pins. > > This was partially due to cargo cult (which has been addressed since), but > also due to technical limitations of the GPIO DT bindings at the time which > didn't allow to specify the pull-up and pull-down resistors, and the drive > strength of the pins. > > Now that the former are supported, we can remove those users, and we will > deal with the latter eventually. Ping? Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
On Thu, Mar 14, 2019 at 08:32:49PM +0100, Maxime Ripard wrote: > Hi, > > Here is a series that addresses one of the issues we've had for some time > with our pinctrl driver, which is that while we should have had the strict > mode enabled, we didn't and now we have to deal with all the DT having GPIO > and pinctrl nodes for the same pins. > > This was partially due to cargo cult (which has been addressed since), but > also due to technical limitations of the GPIO DT bindings at the time which > didn't allow to specify the pull-up and pull-down resistors, and the drive > strength of the pins. > > Now that the former are supported, we can remove those users, and we will > deal with the latter eventually. > > Let me know what you think, > Maxime Applied 5 and 6, thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com