linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add support for Hi3660 mailbox driver
@ 2017-11-17  9:24 Xu YiPing
  2017-11-17  9:24 ` [PATCH v3 1/3] dt-bindings: mailbox: Introduce Hi3660 controller binding Xu YiPing
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Xu YiPing @ 2017-11-17  9:24 UTC (permalink / raw)
  To: robh+dt, mark.rutland, xuwei5, catalin.marinas, will.deacon,
	jassisinghbrar
  Cc: devicetree, linux-kernel, linux-arm-kernel, guodong.xu,
	haojian.zhuang, suzhuangluan, xuezhiliang, kevin.wangtao,
	zhongkaihua

From: Leo Yan <leo.yan@linaro.org>

Hi3660 mailbox controller is used to send message within multiple
processors, MCU, HIFI, etc. This patch series is to implement an
initial version for Hi3660 mailbox driver with "automatic
acknowledge" mode.

The patch set have been verified with Hi3660 stub clock driver, so
we can send message to MCU to execute CPU frequency scaling. This is
tested on 96boards Hikey960.

Changes from v2:
* According to Mark Rutland suggestions, removed sev()/wfe() from
  driver, the system has no two masters sharing the same channel for
  data transferring so we don't need these instructions;
* Refined DT binding and doc according to Rob suggestions;
* Refined driver according to Julien suggestions;

Changes from v1:
* Added cover letter to track the changelog;
* Added document for DT binding;
* Refactored and simplized mailbox driver with "automatic ack" mode;
* Refined commit logs for patches;


Kaihua Zhong (2):
  mailbox: Add support for Hi3660 mailbox
  dts: arm64: Add mailbox binding for hi3660

Leo Yan (1):
  dt-bindings: mailbox: Introduce Hi3660 controller binding

 .../bindings/mailbox/hisilicon,hi3660-mailbox.txt  |  51 ++++
 arch/arm64/boot/dts/hisilicon/hi3660.dtsi          |   8 +
 drivers/mailbox/Kconfig                            |   8 +
 drivers/mailbox/Makefile                           |   2 +
 drivers/mailbox/hi3660-mailbox.c                   | 322 +++++++++++++++++++++
 5 files changed, 391 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mailbox/hisilicon,hi3660-mailbox.txt
 create mode 100644 drivers/mailbox/hi3660-mailbox.c

-- 
1.9.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-12-05  5:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-17  9:24 [PATCH v3 0/3] Add support for Hi3660 mailbox driver Xu YiPing
2017-11-17  9:24 ` [PATCH v3 1/3] dt-bindings: mailbox: Introduce Hi3660 controller binding Xu YiPing
2017-11-20 19:03   ` Rob Herring
2017-11-17  9:24 ` [PATCH v3 2/3] mailbox: Add support for Hi3660 mailbox Xu YiPing
2017-12-05  2:29   ` Leo Yan
2017-12-05  3:28   ` Jassi Brar
2017-12-05  5:13     ` Leo Yan
2017-11-17  9:24 ` [PATCH v3 3/3] dts: arm64: Add mailbox binding for hi3660 Xu YiPing

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).