Subject: [PATCH v3 00/18] TI TPS6594 PMIC support for multiple TI EVMs

Apelete Seketeli aseketeli at
Fri May 12 15:17:27 CEST 2023

TPS6594 is a Power Management IC which provides regulators and others
features like GPIOs, RTC, watchdog, ESMs (Error Signal Monitor), and
PFSM (Pre-configurable Finite State Machine). The SoC and the PMIC can
communicate through the I2C or SPI interfaces.
TPS6594 is the super-set device while TPS6593 and LP8764 are derivatives.

This series fixes LDO voltage conversion for TPS6594 PMIC,
it adds support for its derivatives.

The features implemented are:
- Regulators
- Watchdog disable

Watchdog disable is not a watchdog driver implementation.
Watchdog is active by default causing a reboot even if not used.
This implementation allows to disable the watchdog at boot time.

This patch suite can be applied only after u-boot dts upstream is
re-synced on latest Linux dts:

This should be applied on top of Linux patch series (for dts inheritence):

Additionally, it should also be applied on top of U-Boot patch series for
j784s4 initial board support:

Tested on boards listed below (resynched manually on Linux 6.3 dts)

Supported boards:
- j721eXSOMXEVM:
- j7200XSOMXEVM:
- j784S4XEVM

basic tests:
=> pmic list
=> regulator list
=> regulator dev reg_name_to_be_tested
=> regulator info
=> regulator value
=> regulator value my_test_val
=> regulator value
Check watchdog reset is not happening when dip switch SW2 on GPIO8 is High.


v1 Changes:
- Link:

v2 Changes:
- added support for 2 additional boards: j721s2 and j7200
- Convert driver model tags to use new schema: 8c103c33f
- Link:

v3 Changes:
- addressed v2 review comments
- clear WD_EN bit in stop_watchdog() function
- use generic node names for pmic and watchdog
- added support for 1 additional board: j784s4

Apelete Seketeli (3):
  DONOTMERGE: arch: arm: dts: k3-j784s4-evm: Add TI TPS6594 PMIC support
  arch: arm: dts: k3-j784s4-r5-evm: Add TI TPS6594 PMIC support
  configs: j784s4_evm_a72: Enable TI TPS6594 PMIC support

Esteban Blanc (4):
  configs: j7200_evm: Enable TP6594 family PMICs
  configs: j721s2_evm: Enable TP6594 PMIC and AVS0
  board: ti: k3-j721s2: Force TPS65941 PMIC WD disable
  board: ti: k3-j721s2: Enable AVS0 on board init

Jerome Neanne (10):
  drivers: pmic: TPS65941 add support for WD disable
  drivers: regulator: Fixes for TPS65941 LDO voltage conversion
  configs: j721e_evm: Add support for TPS65941 PMICs on j721e TI EVM
  board: ti: k3-j721e: Force TPS65941 PMIC WD disable on j721e TI EVM
  DONOTMERGE: arm: dts: k3-j721e: u-boot overlay for TI tps6594 PMIC
  DONOTMERGE: arm: dts: k3-j721e: refactor r5 board file to use Linux
    dts tps6594 description
  DONOTMERGE: arm: dts: k3-j721e: realign node name on linux dts name
  DONOTMERGE: arm: dts: k3-am62a7-sk: Add TI TPS6593 PMIC support
  DONOTMERGE: arm: dts: k3-j7200: Add TP6594 family PMICs
  DONOTMERGE: arch: arm: dts: k3-j721s2: Add TPS6594 family PMICs

Julien Panis (1):
  configs: am62ax_evm_a53: Enable support for TI TPS6593 PMIC

 arch/arm/dts/k3-am62a7-sk-u-boot.dtsi         |  24 +++-
 .../k3-j7200-common-proc-board-u-boot.dtsi    |  27 ++++
 .../arm/dts/k3-j7200-r5-common-proc-board.dts |  56 +++-----
 .../k3-j721e-common-proc-board-u-boot.dtsi    |  22 +++
 .../k3-j721e-r5-common-proc-board-u-boot.dtsi |   2 +-
 .../arm/dts/k3-j721e-r5-common-proc-board.dts |  48 +++----
 .../k3-j721s2-common-proc-board-u-boot.dtsi   |  37 ++++-
 .../dts/k3-j721s2-r5-common-proc-board.dts    |  44 ++++++
 arch/arm/dts/k3-j784s4-evm-u-boot.dtsi        |  12 ++
 arch/arm/dts/k3-j784s4-r5-evm.dts             | 134 ++++++++++++++++++
 board/ti/j721e/evm.c                          |   8 ++
 board/ti/j721s2/evm.c                         |  18 ++-
 configs/am62ax_evm_a53_defconfig              |   8 +-
 configs/j7200_evm_a72_defconfig               |   6 +
 configs/j721e_evm_a72_defconfig               |   6 +
 configs/j721s2_evm_a72_defconfig              |   6 +
 configs/j721s2_evm_r5_defconfig               |   6 +
 configs/j784s4_evm_a72_defconfig              |  19 +--
 drivers/power/pmic/tps65941.c                 |  61 ++++++++
 drivers/power/regulator/tps65941_regulator.c  |  71 ++++++++--
 include/power/tps65941.h                      |  27 +++-
 21 files changed, 558 insertions(+), 84 deletions(-)


More information about the U-Boot mailing list