linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/3] mailbox: hisilicon: add Hi6220 mailbox driver
@ 2015-08-19  9:37 Leo Yan
  2015-08-19  9:37 ` [PATCH v1 1/3] dt-bindings: mailbox: Document " Leo Yan
                   ` (2 more replies)
  0 siblings, 3 replies; 37+ messages in thread
From: Leo Yan @ 2015-08-19  9:37 UTC (permalink / raw)
  To: linux-arm-kernel

Hi6220 mailbox supports up to 32 channels. Each channel is unidirectional
with a maximum message size of 8 words. I/O is performed using register
access (there is no DMA) and the cell raises an interrupt when messages
are received.

This patch series is to implement Hi6220 mailbox driver. It registers
two channels into framework for communication with MCU, one is tx channel
and another is rx channel. Now mailbox driver is used to send message to
MCU to control dynamic voltage and frequency scaling for CPU, GPU and DDR.

Changes from RFC:
* According to Jassi's review, totally remove the abstract common driver
  layer and only commit driver dedicated for Hi6220
* According to Paul Bolle's review, fix typo issue for Kconfig and remove
  unnecessary dependency with OF and fix minor for mailbox driver
* Refine a little for dts nodes

Leo Yan (3):
  dt-bindings: mailbox: Document Hi6220 mailbox driver
  mailbox: Hi6220: add mailbox driver
  arm64: dts: add Hi6220 mailbox node

 .../bindings/mailbox/hisilicon,hi6220-mailbox.txt  |  57 +++
 arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts     |  20 +-
 arch/arm64/boot/dts/hisilicon/hi6220.dtsi          |   8 +
 drivers/mailbox/Kconfig                            |   8 +
 drivers/mailbox/Makefile                           |   2 +
 drivers/mailbox/hi6220-mailbox.c                   | 513 +++++++++++++++++++++
 6 files changed, 605 insertions(+), 3 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/mailbox/hisilicon,hi6220-mailbox.txt
 create mode 100644 drivers/mailbox/hi6220-mailbox.c

-- 
1.9.1

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

end of thread, other threads:[~2015-08-28  6:37 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-19  9:37 [PATCH v1 0/3] mailbox: hisilicon: add Hi6220 mailbox driver Leo Yan
2015-08-19  9:37 ` [PATCH v1 1/3] dt-bindings: mailbox: Document " Leo Yan
2015-08-25 11:17   ` Sudeep Holla
2015-08-25 13:01     ` Leo Yan
2015-08-19  9:37 ` [PATCH v1 2/3] mailbox: Hi6220: add " Leo Yan
2015-08-19  9:37 ` [PATCH v1 3/3] arm64: dts: add Hi6220 mailbox node Leo Yan
2015-08-21 18:40   ` Mark Rutland
2015-08-22 13:30     ` Leo Yan
2015-08-24  3:27       ` Leo Yan
2015-08-24  9:18     ` Leo Yan
2015-08-24  9:51       ` Mark Rutland
2015-08-24 10:19         ` Haojian Zhuang
2015-08-24 11:49           ` Leif Lindholm
2015-08-25  8:13             ` Haojian Zhuang
2015-08-25  9:46               ` Leif Lindholm
2015-08-25 10:15                 ` Haojian Zhuang
2015-08-25 10:40                   ` Leif Lindholm
2015-08-25 10:42                   ` Mark Rutland
2015-08-25 13:43                     ` Haojian Zhuang
2015-08-25 14:24                       ` Leif Lindholm
2015-08-25 14:51                         ` Ard Biesheuvel
2015-08-25 15:37                           ` Leif Lindholm
2015-08-25 15:45                             ` Ard Biesheuvel
2015-08-26  2:41                             ` Haojian Zhuang
2015-08-25 16:00                       ` Leo Yan
2015-08-26  1:25                         ` Haojian Zhuang
2015-08-26  6:59                           ` Leo Yan
2015-08-27 16:31                             ` Mark Rutland
2015-08-28  6:37                               ` Leo Yan
2015-08-27 15:54                           ` Daniel Thompson
2015-08-27 16:46                           ` Mark Rutland
2015-08-24 12:48           ` Mark Rutland
2015-08-25  8:04             ` Haojian Zhuang
2015-08-25 11:09               ` Mark Rutland
2015-08-25 11:36   ` Sudeep Holla
2015-08-25 14:04     ` Leo Yan
2015-08-25 14:13       ` Sudeep Holla

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