[PATCH v2 0/1] Add MAX14526 MUIC driver
Svyatoslav Ryhel
clamor95 at gmail.com
Thu Apr 20 18:23:36 CEST 2023
MAX14526 MUIC is used by LG P880/P895 which are currently
in the process of merging.
Unfortunately U-Boot has no extcon driver model so I used
a MISC model for now.
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.
---
Changes from v1:
- used log_* instead of printf
- log messages made simpler
---
Svyatoslav Ryhel (1):
misc: extcon: add MAX14526 MUIC support
drivers/misc/Kconfig | 2 +
drivers/misc/Makefile | 1 +
drivers/misc/extcon/Kconfig | 8 ++
drivers/misc/extcon/Makefile | 2 +
drivers/misc/extcon/extcon-max14526.c | 151 ++++++++++++++++++++++++++
5 files changed, 164 insertions(+)
create mode 100644 drivers/misc/extcon/Kconfig
create mode 100644 drivers/misc/extcon/Makefile
create mode 100644 drivers/misc/extcon/extcon-max14526.c
--
2.37.2
More information about the U-Boot
mailing list