summaryrefslogtreecommitdiff
path: root/drivers/gpio/stm32_gpio.c
Commit message (Collapse)AuthorAgeFilesLines
* gpio: stm32: Remove .ofmatch callbackPatrice Chotard2019-07-121-6/+0
| | | | | | | | As compatible string "st,stm32-gpio" is no more used, .ofmatch callback becomes useless, remove it. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
* gpio: stm32: Rename stm32f7_gpio to stm32_gpioPatrice Chotard2019-07-121-0/+228
| | | | | | | | As this driver is used on stm32f4/f7/h7 and stm32mp1 SoCs, rename it with a more generic name. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
* board: stm32f429-disco: switch to DM STM32 pinctrl and gpio driverPatrice Chotard2018-01-101-182/+0
| | | | | | | | | | | Use available DM stm32f7_gpio.c and pinctrl_stm32.c drivers instead of board GPIO initialization. Remove stm32_gpio.c which is no more used and migrate structs stm32_gpio_regs and stm32_gpio_priv into arch-stm32f4/gpio.h to not break compilation. Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
* stm32f1: remove stm32f1 supportPatrice Chotard2017-08-131-94/+0
| | | | | | | | | | | | | | | | | A few years ago STM32F1 SoCs support has been added : 0144caf22ce6acd5c gpio: stm32: add stm32f1 support 2d18ef2364fd3561a ARMv7M: add STM32F1 support But neither STM32F1 dedicated defconfig nor board was associated to these commits. Got confirmation from Tom Rini and Matt Porter to remove all this code [1] [1] http://u-boot.10912.n7.nabble.com/Remove-STM32F1-support-td301603.html Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* treewide: replace #include <asm/errno.h> with <linux/errno.h>Masahiro Yamada2016-09-231-1/+1
| | | | | | | | | | | Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have the same content. (both just wrap <asm-generic/errno.h>) Replace all include directives for <asm/errno.h> with <linux/errno.h>. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> [trini: Fixup include/clk.] Signed-off-by: Tom Rini <trini@konsulko.com>
* stm32: add support for stm32f7 & stm32f746 discovery boardVikas Manocha2016-02-241-3/+3
| | | | | | This patch adds support for stm32f7 family & stm32f746 board. Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
* gpio: stm32_gpio: move base addresses to the soc fileVikas Manocha2016-02-241-18/+0
| | | | | | | Base addresses for GPIOs could be different for different socs, this patch moves the base addresses from driver to the soc specific location. Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
* gpio: stm32_gpio: move clock config from driver to boardVikas Manocha2016-02-241-5/+0
| | | | | | | This patch removes the gpio clock enable from gpio driver & move it in the board code, making it possible to use the gpio driver with other socs. Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
* Change e-mail address of Kamil LulkoKamil Lulko2015-12-051-1/+1
| | | | Signed-off-by: Kamil Lulko <kamil.lulko@gmail.com>
* gpio: stm32: add stm32f1 supportMatt Porter2015-05-281-1/+109
| | | | | | Add support for the STM32F1 family to the STM32 gpio driver. Signed-off-by: Matt Porter <mporter@konsulko.com>
* gpio: stm32_gpio: Use clrsetbits_le32() at appropriate placesAxel Lin2015-05-081-13/+5
| | | | | | Use clrsetbits_le32() to replace clrbits_le32() + setbits_le32(). Signed-off-by: Axel Lin <axel.lin@ingics.com>
* ARMv7M: Add STM32F4 supportrev13@wp.pl2015-04-221-0/+199
Signed-off-by: Kamil Lulko <rev13@wp.pl> Reviewed-by: Tom Rini <trini@konsulko.com>