Skip to content

usb: typec: tipd: Add sn201202x (ACE3) support

Sasha Finkelstein asahi linux-arm-kernel linux-devicetree linux-usb lkml 10 versions – In review

Get series with b4
b4 am [email protected] change-id 20260725-tipd-ace3-090bf570ef59

Versions newest first

  1. v9 Latest3 patches 2 repliesIn review
  2. v83 patches 0 repliesSuperseded
  3. v7 posting 2/23 patches 0 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v7 posting 1/23 patches0 repliesSuperseded
v63 patches1 replySuperseded
v53 patches1 replySuperseded
v43 patches3 repliesSuperseded
v33 patches0 repliesSuperseded
v23 patches3 repliesSuperseded
v13 patches3 repliesSuperseded

Changes in v9 from the cover letter

- Add the new no_mode_control = true
- Improve some error handling
- Link to v8: https://patch.msgid.link/[email protected]

Patches in v9 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dt-bindings: usb: tps6598x: Add sn201202x/ACE3Documentation/devicetree/bindings/usb/apple,sn201202x.yaml MAINTAINERS+79 -00 replies
2/3usb: typec: tipd: Factor out i2c specificsdrivers/usb/typec/tipd/Kconfig drivers/usb/typec/tipd/Makefile drivers/usb/typec/tipd/core.c +2 more+281 -1981 reply
3/3usb: typec: tipd: Add sn201202x supportMAINTAINERS drivers/usb/typec/Makefile drivers/usb/typec/tipd/Kconfig +4 more+352 -01 reply

Reviews trailers per patch

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

PatchRob Herring (Arm)Heikki KrogerusSven Peter
1/3R-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 3 reviewers.

Read the v9 thread

Cover letter [PATCH v9 0/3] usb: typec: tipd: Add sn201202x (ACE3) support

Add support for sn201202x (a.k.a ACE3), an Apple-specific tps6598x variant that wraps the tps6598x core register set with a SPMI based regmap-like protocol, first appearing in Apple M3 devices. This series first makes the core parts bus-agnostic, and then adds the new SPMI interface as a custom regmap implementation.

To simplify the merge strategy, the device tree entries will be sent in a future patch series.

---
Changes in v9:
- Add the new no_mode_control = true
- Improve some error handling
- Link to v8: https://patch.msgid.link/[email protected]

Changes in v8:
- Rebase on latest
- Link to v7: https://patch.msgid.link/[email protected]

Changes in v7:
- Rebase on usb-testing
- Link to v6: https://patch.msgid.link/[email protected]

Changes in v6:
- Fix rebase issues
- Link to v5: https://patch.msgid.link/[email protected]

Changes in v5:
- Rebase on usb-next
- Link to v4: https://patch.msgid.link/[email protected]

Changes in v4:
- Unexport variant data
- One more debugfs-safety fix
- Link to v3: https://patch.msgid.link/[email protected]

Changes in v3:
- Restore accidentally deleted static
- Fix building with tracepoints
- Sleep the device on failed probe
- Link to v2: https://patch.msgid.link/[email protected]

Changes in v2:
- Use a -core module instead of building everything twice
- Fix completion handling
- Make regmaps debugfs-safe
- Link to v1: https://patch.msgid.link/[email protected]

---
Alyssa Milburn (1):
usb: typec: tipd: Factor out i2c specifics

Sasha Finkelstein (2):
dt-bindings: usb: tps6598x: Add sn201202x/ACE3
usb: typec: tipd: Add sn201202x support

 .../devicetree/bindings/usb/apple,sn201202x.yaml   |  78 ++++++
 MAINTAINERS                                        |   2 +
 drivers/usb/typec/Makefile                         |   1 +
 drivers/usb/typec/tipd/Kconfig                     |  21 +-
 drivers/usb/typec/tipd/Makefile                    |  14 +-
 drivers/usb/typec/tipd/core.c                      | 248 ++++-------------
 drivers/usb/typec/tipd/i2c.c                       | 107 ++++++++
 drivers/usb/typec/tipd/spmi.c                      | 303 +++++++++++++++++++++
 drivers/usb/typec/tipd/tps6598x.h                  | 132 +++++++++
 9 files changed, 710 insertions(+), 196 deletions(-)

---
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
change-id: 20260725-tipd-ace3-090bf570ef59

Best regards,

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