|
|
Log in / Subscribe / Register

Apple Mailbox Controller support

From:  Sven Peter <sven-AT-svenpeter.dev>
To:  Jassi Brar <jassisinghbrar-AT-gmail.com>
Subject:  [PATCH v2 0/2] Apple Mailbox Controller support
Date:  Thu, 16 Sep 2021 17:49:09 +0200
Message-ID:  <20210916154911.3168-1-sven@svenpeter.dev>
Cc:  Sven Peter <sven-AT-svenpeter.dev>, Rob Herring <robh+dt-AT-kernel.org>, Mark Kettenis <mark.kettenis-AT-xs4all.nl>, Hector Martin <marcan-AT-marcan.st>, Alyssa Rosenzweig <alyssa-AT-rosenzweig.io>, Mohamed Mediouni <mohamed.mediouni-AT-caramail.com>, Stan Skowronek <stan-AT-corellium.com>, devicetree-AT-vger.kernel.org, linux-arm-kernel-AT-lists.infradead.org, linux-kernel-AT-vger.kernel.org
Archive-link:  Article

Hi,

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

v1: https://lore.kernel.org/lkml/20210907145501.69161-1-sven@...

Thanks to Jassi, Mark and Alyssa for the initial review. I've addressed
your comments with the following changes:

 - 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 (2):
  dt-bindings: mailbox: Add Apple mailbox bindings
  mailbox: apple: Add driver for Apple mailboxes

 .../bindings/mailbox/apple,mailbox.yaml       |  84 ++++
 MAINTAINERS                                   |   3 +
 drivers/mailbox/Kconfig                       |  12 +
 drivers/mailbox/Makefile                      |   2 +
 drivers/mailbox/apple-mailbox.c               | 431 ++++++++++++++++++
 include/linux/apple-mailbox.h                 |  18 +
 6 files changed, 550 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

-- 
2.25.1



Copyright © 2021, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds