Skip to content

Implement GPIO cells for PALMAS and MAX77663 PMICs

Svyatoslav Ryhel u-boot 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 2 repliesIn review
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- isolate PMIC GPIO cells parsing behind enabling DM_PMIC
---

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drivers: gpio-uclass: support PMIC GPIO childrendrivers/gpio/gpio-uclass.c+19 -00 replies
2/3drivers: gpio: implement MAX77663 GPIO celldrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/max77663_gpio.c +3 more+216 -00 replies
3/3drivers: gpio: implement PALMAS GPIO celldrivers/gpio/Kconfig drivers/gpio/Makefile drivers/gpio/palmas_gpio.c +2 more+161 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Implement GPIO cells for PALMAS and MAX77663 PMICs

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.

---
Changes from v1:
- isolate PMIC GPIO cells parsing behind enabling DM_PMIC
---

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        | 178 ++++++++++++++++++++++++++++
 drivers/gpio/palmas_gpio.c          | 132 +++++++++++++++++++++
 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, 396 insertions(+), 1 deletion(-)
 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
Signature · 1 line
2.40.1