[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1440039239-8772-1-git-send-email-leo.yan@linaro.org>
Date: Thu, 20 Aug 2015 10:53:56 +0800
From: Leo Yan <leo.yan@...aro.org>
To: Rob Herring <robh+dt@...nel.org>, Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
galak@...eaurora.org, Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Jassi Brar <jassisinghbrar@...il.com>,
Bintian Wang <bintian.wang@...wei.com>,
haojian.zhuang@...aro.org, Yiping Xu <xuyiping@...ilicon.com>,
Wei Xu <xuwei5@...ilicon.com>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
guodong.xu@...aro.org, Jian Zhang <zhangjian001@...ilicon.com>,
Zhenwei Wang <Zhenwei.wang@...ilicon.com>,
Haoju Mo <mohaoju@...ilicon.com>,
Dan Zhao <dan.zhao@...ilicon.com>, kongfei@...ilicon.com,
Guangyue Zeng <zengguangyue@...ilicon.com>
Cc: Leo Yan <leo.yan@...aro.org>
Subject: [PATCH v2 0/3] mailbox: hisilicon: add Hi6220 mailbox driver
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 v1:
* Correct lock usage for SMP scenario
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 | 519 +++++++++++++++++++++
6 files changed, 611 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists