Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751962AbdIUXLO (ORCPT ); Thu, 21 Sep 2017 19:11:14 -0400 Received: from mail-cys01nam02on0050.outbound.protection.outlook.com ([104.47.37.50]:54240 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751780AbdIUXLM (ORCPT ); Thu, 21 Sep 2017 19:11:12 -0400 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=bestguesspass action=none header.from=xilinx.com; From: Wendy Liang To: CC: , , , Wendy Liang Subject: [RFC LINUX PATCH] Dcoumentation: dt: mailbox: Add Xilinx IPI Mailbox Date: Thu, 21 Sep 2017 15:58:44 -0700 Message-ID: <1506034724-14639-1-git-send-email-jliang@xilinx.com> X-Mailer: git-send-email 2.7.4 X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.1.0.1062-23342.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(376002)(39860400002)(346002)(2980300002)(438002)(189002)(199003)(6666003)(48376002)(15650500001)(356003)(5660300001)(16586007)(4326008)(2906002)(189998001)(50226002)(36756003)(77096006)(478600001)(316002)(50466002)(9786002)(47776003)(54906003)(8936002)(81156014)(81166006)(8676002)(6916009)(50986999)(63266004)(36386004)(305945005)(2351001)(5003940100001)(33646002)(107886003)(39060400002)(106466001)(107986001)(217873001)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY1PR02MB1132;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2NAM02FT026;1:KUnS3PDM/axSP32NrxJ6/FW8cW+4nJapfp12F3xj9WXk2FKAzPGOYctZZ6awP8Dvvpbp9vYZlPxmgOFE7SzXY/eYIbyQM5mDbQLhPMZzoypkYrjin2pmTq0+3OU4p5AB MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9215c74c-0652-4ac5-03a0-08d501460bab X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(8251501002)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BY1PR02MB1132; X-Microsoft-Exchange-Diagnostics: 1;BY1PR02MB1132;3:kkD5ap7GBDECXhkhXGLJIqHMNUs68XM2Sc3TkteopROftJLBxBmFhjgdNTD9yqMC8NtO7k4OfVGEO0zmXzRb3Pul0M05BhMyXtKlrfk4l8vjLprdHJLv2ofyfVf4XUJqhylAN+j/nhaxX01lz2yIvDTNrwkg+vzYcz5gxztp9HkYumYBmBQIw/ENneAsfNDOujxjL7FUXPw+zfGVtpeBg20lhax2kk2BEoXce/Pewu8HTgG12zJaGYokXQ7YHi/p6sQz8fieJbev+4neWWAL9N3nIeae3IV9CVn4Q7k9Es+Nz1FOVyeh88ENyp6skBdV61lNyv/Ql7IgAlQdhaaNGnzwiY1tjeNpbvQ4pnlw/5c=;25:QjIQOoxfoklI1qS+Ki7I709xzcX2YYJZynnDOlbSWWrC2l7+a6hy9lIQp3qOUNM81IywhE3CqsbFBBU/LFQFVIrJ/Vo0qYunG4u3uC+hAE8PIjUf30Z34D4PF/A4bide3BlWrFrhZyaDmtw619Ej8CinT8MHeuXhQNlm1T6SassD8ZIy06XQ9x11qC7F1usBd4D35quNNZUcxfoUsj80Qbi6jY794mQmTHPqrW+RFMfVir8WucnYGRUIVakJAQUIKJzPtO0egj4j0ON2ClrByDk8EhgkCdbRJZrgo36KqQ6cFXys4+pcARx1dyGPqfjcXoXBn3k3/VaVN/u7nT1pkw== X-MS-TrafficTypeDiagnostic: BY1PR02MB1132: X-Microsoft-Exchange-Diagnostics: 1;BY1PR02MB1132;31:8u07ZN8wxaNScsZFKpnquwiITMR+2+e13DAZ5GbImZC2rdIRG0IaM1yKeMYiDOZS4djD/8u7l1NNzB4yJMDf5c8gW42ArM4IdEIGXDM9MaAI8Vo4NSOjabp+O8s8QzFfPtKVvl0zud4Q8kajpWxSlNpftGTjBgxf8x9jatIUezLreu9GAQLHYOQwTh09kpcxMLw6IWOFmGjk39CqXTevUxvUYGsxq0plITv3z3SBOiY=;20:JlczQPeTIry2HbnX13OCxIt4eiSC7dp+hsk8rycCeBEqMT3r2vl1kDB76/41bo1rUvywAppZT53uhwP6+GN5sATjQRxe0/7A8ghtsWOxknkV4gv7rv32yQICXHMEfejvWBrI73oNyrzeT9zbmTarlxR2aq8NvK3XTEtElkxSR0OAOKwOp/nswcwFYLcazFmHYZetnVNLr4X+ojTWONbzfsUR8kArjPHYFIylnOtOKW8WAki3eQMKinHD20JKvL0zqUAbe1/0zQRIF9mz273CuKyuJtmlWgVM28k8sf4HYsNNxR4YDucbf1dycQYlUnJ5mUFO3byDKUPN31w0O3bjdg0bNgJ+XPJOsIlI8ji9E5t1bbM9UwdntZz7yZgAaTutz1EfDjXDiOJfzd/kSeqgz+Txd7n9vnURVhrrtlL2vwzd2qfQ1lgmTVy/lgScU8vCqw9xC/UGU4iyxA8seKsQW+5hzonEzA+IaEcGck3HlzLaNYbOjfAvu1KUElrMse1G X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041248)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123564025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BY1PR02MB1132;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY1PR02MB1132; X-Microsoft-Exchange-Diagnostics: 1;BY1PR02MB1132;4:9KDMBnQSstk6jvoOzup6+xQozXYhEUZB3rfGSiytCMMm8kfEqj8BcBTC1wC5GQJUb0TRJxZDTUAPQS8+U1EBNS+ZoucZgNHkPGbzIG8dZHUDGFmxCv+nyCXznmcydSo25SLpKz5w5XIoJfR+P6M06rWdaR5VyiZ2XRdBBHlLhWnQBbhKHcSCfVsVww+IwxSN4rqfu8RGz+OMNmRRYjz0SATkBeCXijRCqiw5uq+qG5YJY37aLixWeqmEOJP0e5OMsUSIVqDuguyB9Cez2tuDjefg+Hcw9ofkHlfFZz7kOSs= X-Forefront-PRVS: 04371797A5 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY1PR02MB1132;23:C0SFVN02/iT3u472og/+TEJ+/FCeJ4+Bqtakpg0r/?= =?us-ascii?Q?Ac0gsXwrOjz4MlYqGZAyVNprYqxD4vgTotvzGEQOkTS2JSh8FsM9E9eYkKVK?= =?us-ascii?Q?G1ix/zdQt7ankXwXaecw3LVzIRDAgkVla0tUnVlYcfrytmpyB4PQXbIjLon5?= =?us-ascii?Q?NN5wqA2WnY3c16bv9AEpYqRYwnj8JF0d1meI/6py16wtmtRoY0ORs6iMLAir?= =?us-ascii?Q?KpBERtHYH5ijdZSK72D2RX764Pa5Mb5m730b1LSlcrT6wgYtFDTQswvI2o0G?= =?us-ascii?Q?Fzbnf2Kx6hICH4COflrw1nFvNzLaCNosyTfp1+LWq56sE8RkCjJJKm0H5v8Y?= =?us-ascii?Q?7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BIsCV3huSWZYMbkkpB/aP3pnOVGwB9d6jhu12MzWA3E+vjhh2B4pDlEBNGTerdggD6LIb9Ho1w0QmxKBEBZEsHA7u5QKOMwPK6XUK/DUuk2Zrc33gXXPt87koLDKn+tEYgHz4kYx4wdsMXK8Gsv1ewII3JHyr1cMU6pSj5weqflQ0K4j4cJSgtExSK02zDwKLsCPX6iqGZZY0CNn1h55bw==;5:lPBiQq/j0OueKVmzvTQdlXTqypMNyGu0e3IjTebCLB1Tw5TXbpoq3kgAVcdF89VGTA/5XdKxlvXdpQjTCFbI0TqqbsJTR6O1xGLmHHgYt31JutjuHJru8sZ6i9WdzdIP+kSpNdpu19Bnj8bCT2LEWQ==;24:H0wP85PqsSgpR2PHvqNbG1KtwONPcyeUPxDfCrLoDxpoETlvXuMrhGwiqlMRjPZgncX+0PM8wruDJ9DOCvNGlVD4sxy/N5awZbvIdsDwAi8=;7:O1VMiqTMMmqAzgSgbLSBTowhIP09Emw2Em0NOm3vGfdCRt/9plx9KnvRUZ3qNcmhknkHy4/cZ/7gAwf1qJ7uOASucN50BU59/GL3cfvZP8BSu159kGGgQeBYyRnn4AEIVJoOoSob8rhesX0T95PfcNHNKD9m4cm7+uZj9BinN4tMH8VOgelzhDhoPm/5inHPJRWPjVmYw0TgForheLFLFVOcpKr0uLO08I8BT1jvMRs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Sep 2017 23:11:09.4763 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR02MB1132 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3702 Lines: 106 Xilinx ZynqMP IPI(Inter Processor Interrupt) is a hardware block in ZynqMP SoC used for the communication between various processor systems. Signed-off-by: Wendy Liang --- .../bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt diff --git a/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt new file mode 100644 index 0000000..5d915d1 --- /dev/null +++ b/Documentation/devicetree/bindings/mailbox/xlnx,zynqmp-ipi-mailbox.txt @@ -0,0 +1,88 @@ +Xilinx IPI Mailbox Driver +======================================== + +The Xilinx IPI(Inter Processor Interrupt) mailbox driver is a mailbox +controller that manages the messaging between two IPI agents. Each IPI +mailbox has request and response buffers between the two IPI agents. + ++-------------------------------------+ +| | +| Xilinx ZynqMP IPI Mailbox Controller| +| | +| +-------------+ +| | SMC | +| | | ++--------+--------------+------+------+ + | | + | +-----------------+ + | | ATF (ARM trusted firmware) + | | ++-------------------------------------+ + | | Hardware + | | + +--------------------------------------+ + | | + +----------------------+ +-----------+ | + | | Buffers between | | IPI Agent | | + | | two IPI agents | | Registers | | + | +--------------------+ +-----------+ | + | | + | Xilinx ZynqMP IPI | + +--------------------------------------+ + + +Message Manager Device Node: +=========================== +Required properties: +-------------------- +- compatible: Shall be: "xlnx,zynqmp-ipi-mailbox" +- ipi-smc-fid-base Base offset of SMC function IDs for IPI mailbox SMC. + It contains the IPI IDs of the two IPI agents. +- reg: IPI request and response buffers address range. It + can be the IPI buffers from the hardware or it can + be carved out shared memory. +- reg-names: Reg resource name of the IPI request and response + buffers. +- #mbox-cells: Shall be 1. Contains the logical channel IDs of the + channels on the IPI mailbox. +- interrupt-parent: Phandle for the interrupt controller. +- interrupts: Interrupt mapping. + +Required properties: +-------------------- +- method: The method of accessing the IPI agent registers. + Permitted values are: "smc" and "hvc". Default is + "smc". +Example: +------------ + /* APU IPI mailbox driver */ + ipis { + #address-cells = <1>; + #size-cells = <0>; + ipi_mailbox_apu_rpu0: ipi_mailbox@0 { + compatible = "xlnx,zynqmp-ipi-mailbox"; + reg = <0 0xff990400 40>; + reg-names = "apu-rpu0"; + ipi-smc-fid-base = <0x1010>; + method = "smc"; + #mbox-cells = <1>; + interrupt-parent = <&gic>; + interrupts = <0 35 4>; + }; + ipi_mailbox_apu_rpu1: ipi_mailbox@1 { + compatible = "xlnx,zynqmp-ipi-mailbox"; + reg = <0 0xff990440 40>; + reg-names = "apu-rpu1"; + ipi-smc-fid-base = <0x1020>; + method = "smc"; + #mbox-cells = <1>; + interrupt-parent = <&gic>; + interrupts = <0 35 4>; + }; + }; + device0: device0 { + ... + mbox-names = "rpu0", "rpu1", + mboxes = <&ipi_mailbox_apu_rpu0 0>, + < &ipi_mailbox_apu_rpu1 0>; + }; -- 2.7.4