Skip to content

Apple Mailbox Controller support

Sven Peter linux-arm-kernel linux-devicetree lkml 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v32 patches 4 repliesSuperseded
  3. v22 patches 9 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches11 repliesSuperseded

Changes in v4 from the cover letter

- dropped minItems: 4 from the bindings
- added back of_xlate since the mailbox core only supports #mbox-cells = <1> but this mailbox uses #mbox-cells = <0>
- Split of the MAINTAINERS changes to a separate file since we have quite a few changes in flight and there will likely be conflicts once the pull requests from various subsystems are sent to Linus

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3MAINTAINERS: Add Apple mailbox filesMAINTAINERS+3 -00 replies
2/3dt-bindings: mailbox: Add Apple mailbox bindingsDocumentation/devicetree/bindings/mailbox/apple,mailbox.yaml+77 -00 replies
3/3mailbox: apple: Add driver for Apple mailboxesdrivers/mailbox/Kconfig drivers/mailbox/Makefile drivers/mailbox/apple-mailbox.c +1 more+417 -00 replies

Reviews trailers per patch

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

PatchMark KettenisRob Herring
1/3
2/3R-b R-b
3/3

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

Read the v4 thread

Cover letter [PATCH v4 0/3] Apple Mailbox Controller support

Hi,

This is the fourth version of my series which adds support for the mailbox controllers found on the Apple M1.

v1: https://lore.kernel.org/lkml/[email protected]/
v2: https://lore.kernel.org/lkml/[email protected]/
v3: https://lore.kernel.org/lkml/[email protected]/

Changes from v3 to v4:
- dropped minItems: 4 from the bindings
- added back of_xlate since the mailbox core only supports #mbox-cells = <1> but this mailbox uses #mbox-cells = <0>
- Split of the MAINTAINERS changes to a separate file since we have quite a few changes in flight and there will likely be conflicts once the pull requests from various subsystems are sent to Linus

Changes from v2 to v3:
- removed dma barriers since the mbox client will take care of these
- moved the of_device_id table and related code to the bottom of the file
- removed of_xlate
- dropped clock handling from the code and the binding since we now understand that these are actually power domains

Changes from v1 to v2:
- switched to txdone_irq instead of introducing a new mode
- switched to a threaded interrupt handler for receiving messages
- added co-processor examples to the device tree binding
- reformatted the register defines and clarified multiple comments

Best,

Sven

Sven Peter (3):
MAINTAINERS: Add Apple mailbox files
dt-bindings: mailbox: Add Apple mailbox bindings
mailbox: apple: Add driver for Apple mailboxes

 .../bindings/mailbox/apple,mailbox.yaml       |  77 ++++
 MAINTAINERS                                   |   3 +
 drivers/mailbox/Kconfig                       |  12 +
 drivers/mailbox/Makefile                      |   2 +
 drivers/mailbox/apple-mailbox.c               | 384 ++++++++++++++++++
 include/linux/apple-mailbox.h                 |  19 +
 6 files changed, 497 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mailbox/apple,mailbox.yaml
 create mode 100644 drivers/mailbox/apple-mailbox.c
 create mode 100644 include/linux/apple-mailbox.h
Signature · 1 line
2.25.1