Skip to content

Apple PMIC NVMEM cell driver (Formerly: Generic SPMI NVMEM cell driver)

Sasha Finkelstein asahi b4-sent linux-arm-kernel linux-devicetree lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected] change-id 20250415-spmi-nvmem-e08635316175

Versions newest first

  1. v3 Latest3 patches 4 repliesApplied
  2. v23 patches 10 repliesSuperseded
  3. v13 patches 12 repliesSuperseded

Changes in v3 from the cover letter

- No longer try to make it generic, use for the 3 relevant PMICs only
- Link to v2: https://lore.kernel.org/r/[email protected]

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3dt-bindings: spmi: Add Apple SPMI NVMEMDocumentation/devicetree/bindings/nvmem/apple,spmi-nvmem.yaml MAINTAINERS+55 -01 reply
2/3nvmem: Add apple-spmi-nvmem driverMAINTAINERS drivers/nvmem/Kconfig drivers/nvmem/Makefile +1 more+78 -00 replies
3/3arm64: dts: apple: Add PMIC NVMEMarch/arm64/boot/dts/apple/t6001.dtsi arch/arm64/boot/dts/apple/t6002.dtsi arch/arm64/boot/dts/apple/t600x-die0.dtsi +2 more+152 -00 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlyssa RosenzweigNeal GompaNick ChanRob Herring (Arm)
SeriesR-b
1/3R-b R-b
2/3R-b R-b
3/3R-b R-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 4 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/3] Apple PMIC NVMEM cell driver (Formerly: Generic SPMI NVMEM cell driver)

Hi.

This patch series adds a driver for exposing a set of registers as NVMEM cells on a SPMI-attached PMIC on Apple ARM platforms. Those are used to store the RTC offset and to communicate platform power state between the OS and boot firmware.

The NVMEM cell consumer drivers will be sent in a further series.

---
Changes in v3:
- No longer try to make it generic, use for the 3 relevant PMICs only
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- s/pmu/pmic/
- Sort dts in unit-order, instead of t600x-unit-order
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Hector Martin (2):
nvmem: Add apple-spmi-nvmem driver
arm64: dts: apple: Add PMIC NVMEM

Sasha Finkelstein (1):
dt-bindings: spmi: Add Apple SPMI NVMEM

 .../bindings/nvmem/apple,spmi-nvmem.yaml           | 54 +++++++++++++++++++
 MAINTAINERS                                        |  2 +
 arch/arm64/boot/dts/apple/t6001.dtsi               |  1 +
 arch/arm64/boot/dts/apple/t6002.dtsi               |  1 +
 arch/arm64/boot/dts/apple/t600x-die0.dtsi          | 50 +++++++++++++++++
 arch/arm64/boot/dts/apple/t8103.dtsi               | 50 +++++++++++++++++
 arch/arm64/boot/dts/apple/t8112.dtsi               | 50 +++++++++++++++++
 drivers/nvmem/Kconfig                              | 13 +++++
 drivers/nvmem/Makefile                             |  2 +
 drivers/nvmem/apple-spmi-nvmem.c                   | 62 ++++++++++++++++++++++
 10 files changed, 285 insertions(+)

---
base-commit: 2e0e70c95077172b29a5b13716c4b159d578e82c
change-id: 20250415-spmi-nvmem-e08635316175

Best regards,

Signature · 1 line
Sasha Finkelstein <[email protected]>