gpio: ftgpio010: Add support for Faraday Technology FTGPIO010
PATCH v2 1/1 gpio: ftgpio010: Add support for Faraday Technology FTGPIO010
Add Faraday Technology's FTGPIO010 controller driver.
---
v1 -> v2:
Replace setbits_le32() with a simpler function out_le32(). Replace readl() with in_le32() to respect endianness.
drivers/gpio/Kconfig | 6 +++ drivers/gpio/Makefile | 1 + drivers/gpio/ftgpio010.c | 100 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 drivers/gpio/ftgpio010.c
drivers/gpio/Kconfig +6 -0
@@ -605,4 +605,10 @@ config TURRIS_OMNIA_MCU help Support for GPIOs on MCU connected to Turris Omnia via i2c. +config FTGPIO010 + bool "Faraday Technology FTGPIO010 driver" + depends on DM_GPIO + help + Support for GPIOs on Faraday Technology's FTGPIO010 controller. + endif
drivers/gpio/Makefile +1 -0
@@ -75,3 +75,4 @@ obj-$(CONFIG_SL28CPLD_GPIO) += sl28cpld-gpio.o obj-$(CONFIG_ZYNQMP_GPIO_MODEPIN) += zynqmp_gpio_modepin.o obj-$(CONFIG_SLG7XL45106_I2C_GPO) += gpio_slg7xl45106.o obj-$(CONFIG_$(SPL_TPL_)TURRIS_OMNIA_MCU) += turris_omnia_mcu.o +obj-$(CONFIG_FTGPIO010) += ftgpio010.o
drivers/gpio/ftgpio010.c new file +100 -0
100 lines not on this page · raw message
Signature · 1 line
2.34.1
Quoted 8 lines · On Sunday 04 September 2022 13:22:00 Sergei Antonov wrote:
Add Faraday Technology's FTGPIO010 controller driver.
Signed-off-by Sergei Antonov <[email protected]>---
v1 -> v2:
Replacesetbits_le32()with a simpler functionout_le32(). Replacereadl()within_le32()to respect endianness.
Quoted 5 lines
drivers/gpio/Kconfig | 6 +++ drivers/gpio/Makefile | 1 + drivers/gpio/ftgpio010.c | 100 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) create mode 100644 drivers/gpio/ftgpio010.c
Hello! I'm really not maintainer of ftgpio010.c driver, nor of gpio. So please do not send me emails about ftgpio010.c if you do not have really good reason. I'm getting tons of unrelated emails, so please do not spam me otherwise I would not be able to filter out those emails which are important and which I should review as maintainer.