From: <conor.dooley@microchip.com>
To: <robh+dt@kernel.org>, <damien.lemoal@wdc.com>,
<jassisinghbrar@gmail.com>, <aou@eecs.berkeley.edu>,
<paul.walmsley@sifive.com>, <palmer@dabbelt.com>,
<devicetree@vger.kernel.org>, <linux-riscv@lists.infradead.org>,
<j.neuschaefer@gmx.net>
Cc: <lewis.hanly@microchip.com>, <cyril.jean@microchip.com>,
<daire.mcnamara@microchip.com>, <atish.patra@wdc.com>,
<anup.patel@wdc.com>, <david.abdurachmanov@gmail.com>,
Conor Dooley <conor.dooley@microchip.com>
Subject: [PATCH v4 0/5] Add support for the PolarFire SoC system controller
Date: Thu, 11 Mar 2021 11:34:31 +0000 [thread overview]
Message-ID: <20210311113431.15378-1-conor.dooley@microchip.com> (raw)
From: Conor Dooley <conor.dooley@microchip.com>
This patch series adds support for the system controller on
the PolarFire SoC, using the mailbox framework. A Microchip directory
in the SoC subsystem has been created to hold the mailbox client
driver and will be used for future service drivers.
These drivers are gated by the kconfig option:
CONFIG_SOC_MICROCHIP_POLARFIRE, so this patch series depends on Atish
Patra's PolarFire SoC support patches which introduce it.
It further depends on the MAINTAINERS entry created in the same series.
Changes from v3:
* Fixed mboxes reference in dt binding for mailbox client
* Bug fixes and cleanup from Jonathan Neuschäfer's feedback on
mailbox-mpfs.c & mpfs-sys-controller.c
* Renamed dt binding files to match compatible strings
* Removed PFSoC gating condition on drivers/soc/microchip subdirectory
* Converted all size based operations to bytes for consistency
* Converted response array to a structure, enabling support for more
complex services that return a status instead of/alongside a payload.
Changes from v2:
* Further reworked dt bindings to satisfy errors and feedback
(hopefully phandle array is the correct type for the mboxes)
* Full maintainers entry moved to Atish's PFSoC support series, this series now only adds mailbox driver
* Converted config options from MPFS to POLARFIRE_SOC so they are more recognisable
* Further simplified driver code from feedback
Changes from v1:
* Squashed header into first patch
* Fixed DT binding warnings & small fixes
* Cleaned up drivers from feedback
Conor Dooley (5):
mbox: add polarfire soc system controller mailbox
dt-bindings: add bindings for polarfire soc mailbox
soc: add polarfire soc system controller
dt-bindings: add bindings for polarfire soc system controller
MAINTAINERS: add entry for polarfire soc mailbox driver
.../microchip,polarfire-soc-mailbox.yaml | 47 +++
...icrochip,polarfire-soc-sys-controller.yaml | 36 +++
MAINTAINERS | 1 +
drivers/mailbox/Kconfig | 12 +
drivers/mailbox/Makefile | 2 +
drivers/mailbox/mailbox-mpfs.c | 277 ++++++++++++++++++
drivers/soc/Kconfig | 1 +
drivers/soc/Makefile | 1 +
drivers/soc/microchip/Kconfig | 10 +
drivers/soc/microchip/Makefile | 1 +
drivers/soc/microchip/mpfs-sys-controller.c | 127 ++++++++
include/soc/microchip/mpfs.h | 57 ++++
12 files changed, 572 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mailbox/microchip,polarfire-soc-mailbox.yaml
create mode 100644 Documentation/devicetree/bindings/soc/microchip/microchip,polarfire-soc-sys-controller.yaml
create mode 100644 drivers/mailbox/mailbox-mpfs.c
create mode 100644 drivers/soc/microchip/Kconfig
create mode 100644 drivers/soc/microchip/Makefile
create mode 100644 drivers/soc/microchip/mpfs-sys-controller.c
create mode 100644 include/soc/microchip/mpfs.h
--
2.17.1
next reply other threads:[~2021-03-11 11:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-11 11:34 conor.dooley [this message]
2021-03-30 4:17 ` [PATCH v4 0/5] Add support for the PolarFire SoC system controller Palmer Dabbelt
2021-03-30 11:06 ` Conor.Dooley
2021-03-30 23:54 ` Jassi Brar
2021-04-02 12:08 ` Conor.Dooley
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210311113431.15378-1-conor.dooley@microchip.com \
--to=conor.dooley@microchip.com \
--cc=anup.patel@wdc.com \
--cc=aou@eecs.berkeley.edu \
--cc=atish.patra@wdc.com \
--cc=cyril.jean@microchip.com \
--cc=daire.mcnamara@microchip.com \
--cc=damien.lemoal@wdc.com \
--cc=david.abdurachmanov@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=j.neuschaefer@gmx.net \
--cc=jassisinghbrar@gmail.com \
--cc=lewis.hanly@microchip.com \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).