Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1437590 > unrolled thread

[PATCH v2] Add STM32F746 MCU pinctrl support

Started byAlexandre TORGUE <alexandre.torgue@st.com>
First post2016-07-06 11:50 +0200
Last post2016-07-06 14:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2] Add STM32F746 MCU pinctrl support Alexandre TORGUE <alexandre.torgue@st.com> - 2016-07-06 11:50 +0200
    Re: [PATCH v2] pinctrl: Add STM32F746 MCU support Linus Walleij <linus.walleij@linaro.org> - 2016-07-06 14:50 +0200

#1437590 — [PATCH v2] Add STM32F746 MCU pinctrl support

FromAlexandre TORGUE <alexandre.torgue@st.com>
Date2016-07-06 11:50 +0200
Subject[PATCH v2] Add STM32F746 MCU pinctrl support
Message-ID<rRRCV-7w1-1@gated-at.bofh.it>
This series adds STM32F746 pinctrl and GPIO support, relies on the
generic STM32 pinctrl driver.

I only send a V2 for this patch as others have already been taken by Linus in
V1.

Changes since v1:

Thanks to Paul Gortmaker remarks, remove all modular API as this driver is only
built-in one.

Regards

Alex

Alexandre TORGUE (1):
  pinctrl: Add STM32F746 MCU support

 drivers/pinctrl/stm32/Kconfig             |    6 +
 drivers/pinctrl/stm32/Makefile            |    2 +
 drivers/pinctrl/stm32/pinctrl-stm32f746.c | 1686 +++++++++++++++++++++++++++++
 3 files changed, 1694 insertions(+)
 create mode 100644 drivers/pinctrl/stm32/pinctrl-stm32f746.c

-- 
1.9.1

[toc] | [next] | [standalone]


#1437684 — Re: [PATCH v2] pinctrl: Add STM32F746 MCU support

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-07-06 14:50 +0200
SubjectRe: [PATCH v2] pinctrl: Add STM32F746 MCU support
Message-ID<rRUr7-OO-5@gated-at.bofh.it>
In reply to#1437590
On Wed, Jul 6, 2016 at 11:46 AM, Alexandre TORGUE
<alexandre.torgue@st.com> wrote:

> This patch which adds STM32F746 pinctrl and GPIO support, relies on the
> generic STM32 pinctrl driver.
>
> Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
> Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>

(...)
> +static struct platform_driver stm32f746_pinctrl_driver = {
> +       .probe = stm32_pctl_probe,
> +       .driver = {
> +               .name = "stm32f746-pinctrl",
> +               .of_match_table = stm32f746_pctrl_match,
> +       },
> +};
> +
> +static int __init stm32f746_pinctrl_init(void)
> +{
> +       return platform_driver_register(&stm32f746_pinctrl_driver);
> +}
> +device_initcall(stm32f746_pinctrl_init);

Please use builtin_platform_driver() for this.

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web