From: dillon.minfei@gmail.com To: alexandre.torgue@foss.st.com, rong.a.chen@intel.com, robh+dt@kernel.org, a.fatoum@pengutronix.de, mcoquelin.stm32@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, vladimir.murzin@arm.com, afzal.mohd.ma@gmail.com, gregkh@linuxfoundation.org, erwan.leray@foss.st.com, linux-serial@vger.kernel.org, lkp@intel.com Cc: dillon min <dillon.minfei@gmail.com> Subject: [PATCH v4 8/9] pinctrl: stm32: Add STM32H750 MCU pinctrl support Date: Sat, 20 Mar 2021 09:56:22 +0800 [thread overview] Message-ID: <1616205383-24114-7-git-send-email-dillon.minfei@gmail.com> (raw) In-Reply-To: <1616205383-24114-1-git-send-email-dillon.minfei@gmail.com> From: dillon min <dillon.minfei@gmail.com> This patch adds STM32H750 pinctrl and GPIO support since stm32h750 has the same pin alternate functions with stm32h743, so just reuse the stm32h743's pinctrl driver Signed-off-by: dillon min <dillon.minfei@gmail.com> --- v4: no changes drivers/pinctrl/stm32/Kconfig | 2 +- drivers/pinctrl/stm32/pinctrl-stm32h743.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/stm32/Kconfig b/drivers/pinctrl/stm32/Kconfig index f36f29113370..fb1ffc94c57f 100644 --- a/drivers/pinctrl/stm32/Kconfig +++ b/drivers/pinctrl/stm32/Kconfig @@ -35,7 +35,7 @@ config PINCTRL_STM32F769 select PINCTRL_STM32 config PINCTRL_STM32H743 - bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743 + bool "STMicroelectronics STM32H743/STM32H750 pin control" if COMPILE_TEST && !MACH_STM32H743 depends on OF && HAS_IOMEM default MACH_STM32H743 select PINCTRL_STM32 diff --git a/drivers/pinctrl/stm32/pinctrl-stm32h743.c b/drivers/pinctrl/stm32/pinctrl-stm32h743.c index ffe7b5271506..700206c7bc11 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32h743.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32h743.c @@ -1966,6 +1966,9 @@ .compatible = "st,stm32h743-pinctrl", .data = &stm32h743_match_data, }, + { .compatible = "st,stm32h750-pinctrl", + .data = &stm32h743_match_data, + }, { } }; -- 1.9.1
WARNING: multiple messages have this Message-ID (diff)
From: dillon.minfei@gmail.com To: alexandre.torgue@foss.st.com, rong.a.chen@intel.com, robh+dt@kernel.org, a.fatoum@pengutronix.de, mcoquelin.stm32@gmail.com, devicetree@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, vladimir.murzin@arm.com, afzal.mohd.ma@gmail.com, gregkh@linuxfoundation.org, erwan.leray@foss.st.com, linux-serial@vger.kernel.org, lkp@intel.com Cc: dillon min <dillon.minfei@gmail.com> Subject: [PATCH v4 8/9] pinctrl: stm32: Add STM32H750 MCU pinctrl support Date: Sat, 20 Mar 2021 09:56:22 +0800 [thread overview] Message-ID: <1616205383-24114-7-git-send-email-dillon.minfei@gmail.com> (raw) In-Reply-To: <1616205383-24114-1-git-send-email-dillon.minfei@gmail.com> From: dillon min <dillon.minfei@gmail.com> This patch adds STM32H750 pinctrl and GPIO support since stm32h750 has the same pin alternate functions with stm32h743, so just reuse the stm32h743's pinctrl driver Signed-off-by: dillon min <dillon.minfei@gmail.com> --- v4: no changes drivers/pinctrl/stm32/Kconfig | 2 +- drivers/pinctrl/stm32/pinctrl-stm32h743.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/stm32/Kconfig b/drivers/pinctrl/stm32/Kconfig index f36f29113370..fb1ffc94c57f 100644 --- a/drivers/pinctrl/stm32/Kconfig +++ b/drivers/pinctrl/stm32/Kconfig @@ -35,7 +35,7 @@ config PINCTRL_STM32F769 select PINCTRL_STM32 config PINCTRL_STM32H743 - bool "STMicroelectronics STM32H743 pin control" if COMPILE_TEST && !MACH_STM32H743 + bool "STMicroelectronics STM32H743/STM32H750 pin control" if COMPILE_TEST && !MACH_STM32H743 depends on OF && HAS_IOMEM default MACH_STM32H743 select PINCTRL_STM32 diff --git a/drivers/pinctrl/stm32/pinctrl-stm32h743.c b/drivers/pinctrl/stm32/pinctrl-stm32h743.c index ffe7b5271506..700206c7bc11 100644 --- a/drivers/pinctrl/stm32/pinctrl-stm32h743.c +++ b/drivers/pinctrl/stm32/pinctrl-stm32h743.c @@ -1966,6 +1966,9 @@ .compatible = "st,stm32h743-pinctrl", .data = &stm32h743_match_data, }, + { .compatible = "st,stm32h750-pinctrl", + .data = &stm32h743_match_data, + }, { } }; -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2021-03-20 1:57 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-20 1:56 [PATCH v4 0/9] ARM: STM32: add art-pi(stm32h750xbh6) board support dillon.minfei 2021-03-20 1:56 ` dillon.minfei 2021-03-20 1:56 ` [PATCH v4 1/9] Documentation: arm: stm32: Add stm32h750 value line doc dillon.minfei 2021-03-20 1:56 ` dillon.minfei 2021-03-20 1:56 ` [PATCH v4 4/9] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h750 dillon.minfei 2021-03-20 1:56 ` dillon.minfei 2021-03-20 1:56 ` [PATCH v4 5/9] ARM: dts: stm32: add stm32h750-pinctrl.dtsi dillon.minfei 2021-03-20 1:56 ` dillon.minfei 2021-03-20 1:56 ` [PATCH v4 6/9] ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6 dillon.minfei 2021-03-20 1:56 ` dillon.minfei 2021-03-20 1:56 ` [PATCH v4 7/9] ARM: stm32: Add a new SOC - STM32H750 dillon.minfei 2021-03-20 1:56 ` dillon.minfei 2021-03-20 1:56 ` dillon.minfei [this message] 2021-03-20 1:56 ` [PATCH v4 8/9] pinctrl: stm32: Add STM32H750 MCU pinctrl support dillon.minfei 2021-03-20 1:56 ` [PATCH v4 9/9] dt-bindings: serial: stm32: Use 'unevaluatedProperties' instead of 'additionalProperties' dillon.minfei 2021-03-20 1:56 ` dillon.minfei 2021-03-22 11:05 ` [Linux-stm32] " Valentin CARON - foss 2021-03-22 11:05 ` Valentin CARON - foss 2021-03-22 11:48 ` dillon min 2021-03-22 11:48 ` dillon min
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1616205383-24114-7-git-send-email-dillon.minfei@gmail.com \ --to=dillon.minfei@gmail.com \ --cc=a.fatoum@pengutronix.de \ --cc=afzal.mohd.ma@gmail.com \ --cc=alexandre.torgue@foss.st.com \ --cc=devicetree@vger.kernel.org \ --cc=erwan.leray@foss.st.com \ --cc=gregkh@linuxfoundation.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-serial@vger.kernel.org \ --cc=linux-stm32@st-md-mailman.stormreply.com \ --cc=linux@armlinux.org.uk \ --cc=lkp@intel.com \ --cc=mcoquelin.stm32@gmail.com \ --cc=robh+dt@kernel.org \ --cc=rong.a.chen@intel.com \ --cc=vladimir.murzin@arm.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.