Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1210118
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!diesel.cu.mi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Leo Yan <leo.yan@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v2 0/3] mailbox: hisilicon: add Hi6220 mailbox driver |
| Date | Thu, 20 Aug 2015 05:00:02 +0200 |
| Message-ID | <pZof8-8up-9@gated-at.bofh.it> (permalink) |
| X-Original-To | Rob Herring <robh+dt@kernel.org>, Pawel Moll <pawel.moll@arm.com>, Mark Rutland <mark.rutland@arm.com>, Ian Campbell <ijc+devicetree@hellion.org.uk>, galak@codeaurora.org, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, Jassi Brar <jassisinghbrar@gmail.com>, Bintian Wang <bintian.wang@huawei.com>, haojian.zhuang@linaro.org, Yiping Xu <xuyiping@hisilicon.com>, Wei Xu <xuwei5@hisilicon.com>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, guodong.xu@linaro.org, Jian Zhang <zhangjian001@hisilicon.com>, Zhenwei Wang <Zhenwei.wang@hisilicon.com>, Haoju Mo <mohaoju@hisilicon.com>, Dan Zhao <dan.zhao@hisilicon.com>, kongfei@hisilicon.com, Guangyue Zeng <zengguangyue@hisilicon.com> |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=txv4Px1JoCQq53EUIUVx1Os7St/LCHKcwIYWaqYPB8I=; b=Zbuf4NoL3rDEP9uhpEHqZpf5H5FcwLL4CtkgcBk42GMGYMer47wA6i82pxx1SBrY9a guRDEWLh9cNxqZkgvvuPOpFNNszv2SmF78odqzDsasiUM67qYei9Vi8evAr3EFXgf7zQ nMdj8g9yYZGFbB7+GZ+nZ+7y/+IbzOkQ/9DKKCboIfAtHM2xBXh38JJiolD4u0GszVmW IQyUPaPdL6P8Up3kLF6F3LnThK2begRuV8n83xcafJS/szu0QghxmOtnuVmmSKmC8gbt jO9PfYikWMdqlhcMJm5aKzDLbYiEZGdp1hSWOMOmXhPECiRrnT8BS2oNVRYN+vxnoJNY zHrA== |
| X-Gm-Message-State | ALoCoQnuaeNlUJ8MlEpu13UBd9jpeBL5Cm37K1M+qZiehHLUBHfsr7PtVji+cnaBdWJ8ZkCY3tCc |
| X-Received | by 10.70.39.34 with SMTP id m2mr1783026pdk.148.1440039291738; Wed, 19 Aug 2015 19:54:51 -0700 (PDT) |
| X-Mailer | git-send-email 1.9.1 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 44 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Leo Yan <leo.yan@linaro.org> |
| X-Original-Date | Thu, 20 Aug 2015 10:53:56 +0800 |
| X-Original-Message-ID | <1440039239-8772-1-git-send-email-leo.yan@linaro.org> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1210118 |
Show key headers only | View raw
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v2 0/3] mailbox: hisilicon: add Hi6220 mailbox driver Leo Yan <leo.yan@linaro.org> - 2015-08-20 05:00 +0200
[PATCH v2 1/3] dt-bindings: mailbox: Document Hi6220 mailbox driver Leo Yan <leo.yan@linaro.org> - 2015-08-20 05:00 +0200
[PATCH v2 3/3] arm64: dts: add Hi6220 mailbox node Leo Yan <leo.yan@linaro.org> - 2015-08-20 05:00 +0200
Re: [PATCH v2 3/3] arm64: dts: add Hi6220 mailbox node Mark Rutland <mark.rutland@arm.com> - 2015-08-24 12:10 +0200
[PATCH v2 2/3] mailbox: Hi6220: add mailbox driver Leo Yan <leo.yan@linaro.org> - 2015-08-20 05:00 +0200
Re: [PATCH v2 2/3] mailbox: Hi6220: add mailbox driver YiPing Xu <xuyiping@hisilicon.com> - 2015-08-20 08:00 +0200
Re: [PATCH v2 2/3] mailbox: Hi6220: add mailbox driver Leo Yan <leo.yan@linaro.org> - 2015-08-20 15:50 +0200
csiph-web