Skip to content

Add MAX14526 MUIC driver

Svyatoslav Ryhel u-boot 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyIn review
  2. v33 patches 3 repliesSuperseded
  3. v21 patch 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v11 patch7 repliesSuperseded

Changes in v4 from the cover letter

- fix typo in commit title
- added reviewed-by

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dm: extcon: add an uclass for extcondrivers/Kconfig drivers/Makefile drivers/extcon/Kconfig +4 more+59 -01 reply
2/3test: Add tests for the extconarch/sandbox/dts/test.dts drivers/extcon/Kconfig drivers/extcon/Makefile +3 more+51 -00 replies
3/3extcon: add MAX14526 MUIC supportdrivers/extcon/Kconfig drivers/extcon/Makefile drivers/extcon/extcon-max14526.c+161 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSimon GlassAndreas Westman DorcsakSvyatoslav Ryhel
1/3R-b
2/3R-b
3/3R-b T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] Add MAX14526 MUIC driver

MAX14526 MUIC is used by LG P880/P895 which are currently in the process of merging.

MAX14526 is a powerful extcon device which has the ability to accurately determine plugged devices. In this implementation muic can be configured to represent 3 modes: CP-USB/UART and AP-USB. Unfortunately AP-UART was disabled on P880/P895. Additionally the driver configures some stuff required by the charger.

Extcon class has empty platform struct and ops, all configuration is performed in the probe. Filling of struct and ops is welcomed.

---
Changes from v3:
- fix typo in commit title
- added reviewed-by

Changes from v2:
- created a new simple extcon uclass

Changes from v1:
- used log_* instead of printf
- log messages made simpler
---

Svyatoslav Ryhel (3):
dm: extcon: add an uclass for extcon
test: Add tests for the extcon
extcon: add MAX14526 MUIC support

 arch/sandbox/dts/test.dts        |   4 +
 drivers/Kconfig                  |   2 +
 drivers/Makefile                 |   1 +
 drivers/extcon/Kconfig           |  31 +++++++
 drivers/extcon/Makefile          |   7 ++
 drivers/extcon/extcon-max14526.c | 151 +++++++++++++++++++++++++++++++
 drivers/extcon/extcon-sandbox.c  |  17 ++++
 drivers/extcon/extcon-uclass.c   |  16 ++++
 include/dm/uclass-id.h           |   1 +
 include/extcon.h                 |  19 ++++
 test/dm/Makefile                 |   1 +
 test/dm/extcon.c                 |  21 +++++
 12 files changed, 271 insertions(+)
 create mode 100644 drivers/extcon/Kconfig
 create mode 100644 drivers/extcon/Makefile
 create mode 100644 drivers/extcon/extcon-max14526.c
 create mode 100644 drivers/extcon/extcon-sandbox.c
 create mode 100644 drivers/extcon/extcon-uclass.c
 create mode 100644 include/extcon.h
 create mode 100644 test/dm/extcon.c
Signature · 1 line
2.39.2