Skip to content

Add TPS6594 PMIC support on several boards

Jai Luthra linux-arm-kernel linux-devicetree lkml 2 versions Applied

Status from this message: I have applied the following to branch ti-k3-dts-next on [1].

Get series with b4
b4 am [email protected] change-id 20230809-tps6594-e450b5738e66

Versions newest first

  1. v6 Latest7 patches 2 repliesApplied
  2. v56 patches 3 repliesSuperseded

Changes in v6 from the cover letter

https://lore.kernel.org/all/[email protected]
- Range-diff: http://0x0.st/H_fD.diff
- Reword the patch fixing interrupt ranges for mcu domain gpio intr, and add Fixes: tag
- Also fix interrupt ranges for main domain gpio intr in the same patch
- Change pinctrl node names to end in -pins to fix dtbs_check warnings
- (New Patch) Enable TPS6594 in defconfig

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/7arm64: dts: ti: k3-j7200-som-p0: Add TP6594 family PMICsarch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi+157 -00 replies
2/7arm64: dts: ti: k3-j721s2-som-p0: Add TP6594 family PMICsarch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi+199 -00 replies
3/7arm64: dts: ti: k3-j721e-som-p0: Add TP6594 family PMICsarch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi+163 -00 replies
4/7arm64: dts: ti: k3-j784s4: Fix interrupt ranges for wkup & main gpioarch/arm64/boot/dts/ti/k3-j784s4-main.dtsi arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi+2 -20 replies
5/7arm64: dts: ti: k3-j784s4-evm: Add support for TPS6594 PMICarch/arm64/boot/dts/ti/k3-j784s4-evm.dts+104 -00 replies
6/7arm64: dts: ti: k3-am62a7-sk: Add support for TPS6593 PMICarch/arm64/boot/dts/ti/k3-am62a7-sk.dts+95 -00 replies
7/7arm64: defconfig: Enable TPS6593 PMIC for SK-AM62Aarch/arm64/configs/defconfig+1 -00 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchDevarsh Thakkar
1/7
2/7
3/7
4/7
5/7
6/7
7/7R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/7] Add TPS6594 PMIC support on several boards

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 serie adds device tree nodes for TI TPS6594 PMICs found in the following boards:
- J721EXSOMXEVM:

- J721S2XSOMXEVM:

- J7200XSOMXEVM:

- AM62A-SKEVM:

- J784S4XEVM

---
Changes from v5:
https://lore.kernel.org/all/[email protected]
- Range-diff: http://0x0.st/H_fD.diff
- Reword the patch fixing interrupt ranges for mcu domain gpio intr, and add Fixes: tag
- Also fix interrupt ranges for main domain gpio intr in the same patch
- Change pinctrl node names to end in -pins to fix dtbs_check warnings
- (New Patch) Enable TPS6594 in defconfig

Changes from v4:
https://lore.kernel.org/all/[email protected]/
- Range-diff: https://0x0.st/H_L7.diff
- Rebased on top of linux-next
- Fix min voltage on vdd_usb_3v3 regulator (ldo2) on j721e-som
- Use 3-hex-digit format for pinctrl values

Changes from v3:
https://lore.kernel.org/all/[email protected]/
- Rebased on top of v6.5-rc1.
- Change pinctrl number for irq pin as wkup_pmx0 was split on some boards.
- Use already present wkup_i2c0 node instead of creating a new one.

Changes from v2:
https://lore.kernel.org/lkml/[email protected]/
- Change node name as per Krzysztof review.
- Add a fix for the interrupt range of wakeup gpio used by TPS6594 pmic on J784S4.
The interruptions of the PMIC were not working before that.
- Remove dependencies on other patch series as that was a mistake, see
https://lore.kernel.org/lkml/CRYY2V3HJ0CP.96JQ18PLZB3C@burritosblues/

Changes from v1:
https://lore.kernel.org/lkml/[email protected]/
- Harmonize regulators names across the different boards.
- Adjust AVS voltage range.
- Remove some outdated comments.
- Add PMIC to J784S4 board.
- Compatible string modified to match dt-bindings.
- Add gpio-controller and gpio-cells properties.

---
Apelete Seketeli (1):
arm64: dts: ti: k3-j784s4: Fix interrupt ranges for wkup & main gpio

Esteban Blanc (2):

      arm64: dts: ti: k3-j7200-som-p0: Add TP6594 family PMICs
      arm64: dts: ti: k3-j721s2-som-p0: Add TP6594 family PMICs

Jai Luthra (1):
arm64: defconfig: Enable TPS6593 PMIC for SK-AM62A

Jerome Neanne (2):

      arm64: dts: ti: k3-j721e-som-p0: Add TP6594 family PMICs
      arm64: dts: ti: k3-j784s4-evm: Add support for TPS6594 PMIC

Julien Panis (1):

      arm64: dts: ti: k3-am62a7-sk: Add support for TPS6593 PMIC
 arch/arm64/boot/dts/ti/k3-am62a7-sk.dts          |  95 +++++++++++
 arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi      | 157 ++++++++++++++++++
 arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi      | 163 +++++++++++++++++++
 arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi     | 199 +++++++++++++++++++++++
 arch/arm64/boot/dts/ti/k3-j784s4-evm.dts         | 104 ++++++++++++
 arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi       |   2 +-
 arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi |   2 +-
 arch/arm64/configs/defconfig                     |   1 +
 8 files changed, 721 insertions(+), 2 deletions(-)

---
base-commit: 21ef7b1e17d039053edaeaf41142423810572741
change-id: 20230809-tps6594-e450b5738e66

Best regards,

Signature · 1 line
Jai Luthra <[email protected]>