Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1532815 > unrolled thread
| Started by | Quentin Schulz <quentin.schulz@free-electrons.com> |
|---|---|
| First post | 2016-11-29 23:20 +0100 |
| Last post | 2016-12-02 13:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH RESEND 2/2] gpio: axp209: add pinctrl support Quentin Schulz <quentin.schulz@free-electrons.com> - 2016-11-29 23:20 +0100
Re: [PATCH RESEND 2/2] gpio: axp209: add pinctrl support Linus Walleij <linus.walleij@linaro.org> - 2016-12-02 13:40 +0100
| From | Quentin Schulz <quentin.schulz@free-electrons.com> |
|---|---|
| Date | 2016-11-29 23:20 +0100 |
| Subject | Re: [PATCH RESEND 2/2] gpio: axp209: add pinctrl support |
| Message-ID | <sIYUN-5Xz-5@gated-at.bofh.it> |
Hi Linus, On 24/11/2016 15:17, Linus Walleij wrote: > On Wed, Nov 23, 2016 at 3:11 PM, Quentin Schulz > <quentin.schulz@free-electrons.com> wrote: > >> The GPIOs present in the AXP209 PMIC have multiple functions. They >> typically allow a pin to be used as GPIO input or output and can also be >> used as ADC or regulator for example.[1] >> >> This adds the possibility to use all functions of the GPIOs present in >> the AXP209 PMIC thanks to pinctrl subsystem. >> >> [1] see registers 90H, 92H and 93H at >> http://dl.linux-sunxi.org/AXP/AXP209_Datasheet_v1.0en.pdf >> >> Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> > > I need Maxime's review on this patch. > >> .../devicetree/bindings/gpio/gpio-axp209.txt | 28 +- > > Also move the bindings to pinctrl/pinctrl-axp209.txt > >> drivers/gpio/gpio-axp209.c | 551 ++++++++++++++++++--- > > Combined drivers should be in drivers/pinctrl/*. > > Make a separate patch moving the driver to > drivers/pinctrl/pinctrl-axp209.c (remember -M to git format-patch) > augment Kconfig and Makefile in both subsystems and make > these patches on top of that. > So basically: - first patch for adding pinctrl to the existing driver - second patch for moving the driver and binding from gpio to pinctrl subsystem - third patch for both removing Kconfig entry and Makefile rule from gpio subsystem, and adding a Kconfig entry and a Makefile rule in pinctrl subsystem Is that what you want? Thanks, Quentin > I will deal with cross-merging the result between the GPIO > and pin control trees. > > Yours, > Linus Walleij > -- Quentin Schulz, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
[toc] | [next] | [standalone]
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Date | 2016-12-02 13:40 +0100 |
| Message-ID | <sJVia-3Rc-9@gated-at.bofh.it> |
| In reply to | #1532815 |
On Tue, Nov 29, 2016 at 11:13 PM, Quentin Schulz <quentin.schulz@free-electrons.com> wrote: > So basically: > > - first patch for adding pinctrl to the existing driver > - second patch for moving the driver and binding from gpio to pinctrl > subsystem > - third patch for both removing Kconfig entry and Makefile rule from > gpio subsystem, and adding a Kconfig entry and a Makefile rule in > pinctrl subsystem > > Is that what you want? No. Make the patch moving it to pinctrl first. This will be the same as the patch augmenting Kcongfig and Makefile or it will not compile. Then a second patch to add the pinctrl features. Yours, Linus Walleij
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web