public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add support of the FXL6408 GPIO expander
@ 2021-08-28 10:23 Oleksandr Suvorov
  2021-08-28 10:23 ` [PATCH v2 1/2] GPIO: fxl6408: Add support for " Oleksandr Suvorov
  0 siblings, 1 reply; 5+ messages in thread
From: Oleksandr Suvorov @ 2021-08-28 10:23 UTC (permalink / raw)
  To: u-boot
  Cc: Marcel Ziswiler, Philippe Schenker, Max Krummenacher,
	Oleksandr Suvorov, Fabio Estevam, Harm Berntsen, Igor Opaniuk,
	Linus Walleij, Michal Simek, NXP i.MX U-Boot Team,
	Oleksandr Suvorov, Sebastian Reichel, Simon Glass, Stefan Roese,
	Stefano Babic, Stephan Gerhold, Tero Kristo, Weijie Gao

Add support of the Fairchild's FXL6408 i2c gpio expander and enable
this driver for Toradex Colibri iMX8QXP SoM.

Changes in v2:
- Kconfig: add better description for the config option.
- gpio-fxl6408.c:
-- improve registers' naming.
-- fix code style (comments, etc.).
-- reimplement fxl6408_read() reducing number of parameters.
-- change return value of fxl6408_is_output() to bool.
-- replace IS_ERR_VALUE() macros with simple x < 0 where it's
   possible.
-- fxl6408_set_direction(): fix type of parameter "dir".
-- fix return error codes to avoid using the predefined in the driver
   model ones.
-- removed extra debug code.
-- expand TODO list.

Oleksandr Suvorov (2):
  GPIO: fxl6408: Add support for FXL6408 GPIO expander
  colibri-imx8x: add on-module gpio expander fxl6408

 arch/arm/dts/fsl-imx8qxp-colibri.dts |  27 ++
 configs/colibri-imx8x_defconfig      |   1 +
 drivers/gpio/Kconfig                 |   7 +
 drivers/gpio/Makefile                |   1 +
 drivers/gpio/gpio-fxl6408.c          | 366 +++++++++++++++++++++++++++
 5 files changed, 402 insertions(+)
 create mode 100644 drivers/gpio/gpio-fxl6408.c

-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-09 20:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-28 10:23 [PATCH v2 0/2] Add support of the FXL6408 GPIO expander Oleksandr Suvorov
2021-08-28 10:23 ` [PATCH v2 1/2] GPIO: fxl6408: Add support for " Oleksandr Suvorov
2021-08-28 10:23   ` [PATCH v2 2/2] colibri-imx8x: add on-module gpio expander fxl6408 Oleksandr Suvorov
2021-09-09 13:29   ` [PATCH v2 1/2] GPIO: fxl6408: Add support for FXL6408 GPIO expander Marcel Ziswiler
2021-09-09 20:14     ` Oleksandr Suvorov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox