Skip to content

i3c: Add support for ast2600 i3c controller

Jeremy Kerr linux-aspeed linux-devicetree linux-i3c 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dt-bindings: i3c: Add AST2600 i3c controllerDocumentation/devicetree/bindings/i3c/aspeed,ast2600-i3c.yaml+73 -02 replies
2/4i3c: dw: Add platform operationsdrivers/i3c/master/dw-i3c-master.c+36 -61 reply
2/4i3c: dw: Add platform operations+0 -00 replies
3/4i3c: dw: Add AST2600 platform opsdrivers/i3c/master/dw-i3c-master.c+122 -00 replies
4/4i3c: dw: Add compatible string for ASPEED AST2600 BMC platformdrivers/i3c/master/dw-i3c-master.c+1 -00 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchKrzysztof KozlowskiJoel Stanley
SeriesR-b
1/4R-b
2/4
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [PATCH 0/4] i3c: Add support for ast2600 i3c controller

The AST2600 SoC hardware includes a set of i3c controllers, based on the designware i3c core, plus some global registers for SoC integration.

This series adds support for these i3c controllers, through the existing dw i3c master controller driver, by adding a set of platform-specific hooks to handle the global register configuration. This also gives us a way to add any future hardware-specific behaviours.

We also need a DT binding to describe the ast2600-specific hardware. Since this involves new (mandatory) properties, I have added this as a separate binding rather than add a new compat string to the dw binding.

The dt-binding example depends on a prior submission to the dt binding headers:

https://lore.kernel.org/linux-devicetree/cover.1676294433.git.jk at codeconstruct.com.au/

Full support for the global regmap will land with this queued mfd change:

https://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git/commit/?id=cf2271843de835839e91c5c036492a87085af756

Of course, any queries/comments/etc are most welcome.

Cheers,

Jeremy

Jeremy Kerr (4):
dt-bindings: i3c: Add AST2600 i3c controller
i3c: dw: Add platform operations
i3c: dw: Add AST2600 platform ops
i3c: dw: Add compatible string for ASPEED AST2600 BMC platform

 .../bindings/i3c/aspeed,ast2600-i3c.yaml      |  73 ++++++++
 drivers/i3c/master/dw-i3c-master.c            | 165 +++++++++++++++++-
 2 files changed, 232 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/i3c/aspeed,ast2600-i3c.yaml
Signature · 1 line
2.39.1