[PATCH v1 0/3] Implement GPIO cells for PALMAS and MAX77663 PMICs

Svyatoslav Ryhel clamor95 at gmail.com
Tue Oct 24 10:37:58 CEST 2023


This patchset adds support for gpio-uclass to work with pmic gpio childrens
properly and implements MAX77663 and PALMAS GPIO cells/children as a 
reference and to be further used in devices I am currently maintaining.

All drivers are tested on actual hardware and confirmed to work as
expected. MAX77663 GPIO cell is tested on wexler qc750 tegra 3 device
and PALMAS GPIO cell is tested on tegra note 7 tegra 4 device.

These patches require "Add support for PMICs used on Tegra 3 devices"
patches to be merged first for proper work.

Svyatoslav Ryhel (3):
  drivers: gpio-uclass: support PMIC GPIO children
  drivers: gpio: implement MAX77663 GPIO cell
  drivers: gpio: implement PALMAS GPIO cell

 drivers/gpio/Kconfig                |  16 +++
 drivers/gpio/Makefile               |   2 +
 drivers/gpio/gpio-uclass.c          |  19 ++-
 drivers/gpio/max77663_gpio.c        | 179 ++++++++++++++++++++++++++++
 drivers/gpio/palmas_gpio.c          | 133 +++++++++++++++++++++
 drivers/power/pmic/max77663.c       |   9 ++
 drivers/power/pmic/palmas.c         |  10 +-
 include/dt-bindings/pmic/max77663.h |  18 +++
 include/power/max77663.h            |   1 +
 include/power/palmas.h              |  12 ++
 10 files changed, 395 insertions(+), 4 deletions(-)
 create mode 100644 drivers/gpio/max77663_gpio.c
 create mode 100644 drivers/gpio/palmas_gpio.c
 create mode 100644 include/dt-bindings/pmic/max77663.h

-- 
2.39.2



More information about the U-Boot mailing list