From patchwork Sat Jan 6 02:14:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hyun Kwon X-Patchwork-Id: 10147537 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4121460155 for ; Sat, 6 Jan 2018 02:14:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C110328A83 for ; Sat, 6 Jan 2018 02:14:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B1EB828A86; Sat, 6 Jan 2018 02:14:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 001B528A83 for ; Sat, 6 Jan 2018 02:14:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753548AbeAFCOY (ORCPT ); Fri, 5 Jan 2018 21:14:24 -0500 Received: from mail-cys01nam02on0052.outbound.protection.outlook.com ([104.47.37.52]:61084 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753527AbeAFCOX (ORCPT ); Fri, 5 Jan 2018 21:14:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sdlA8vX3kRqvv4LSyPiFsff1AkF0xhT2XEl2qT30oI0=; b=iVFnNyBNqpDDJeNBKE7Stf7WGpj1FrRt9UrONAKz2lxtrqyGpc4v1tljpKFsbIroWH9/hgtsu7PKptvh/3SuCKpaGV9NFplCy1x16TDTboZ2ePDPpQgWXHeZOLgEAMJeJpqpcY22nUW8xCbfw0n/wAqCmHx2CUttTy3d3k1UfUg= Received: from SN4PR0201CA0057.namprd02.prod.outlook.com (10.171.31.147) by MWHPR02MB3392.namprd02.prod.outlook.com (10.164.192.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.386.5; Sat, 6 Jan 2018 02:14:16 +0000 Received: from SN1NAM02FT021.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::204) by SN4PR0201CA0057.outlook.office365.com (2603:10b6:803:20::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.386.5 via Frontend Transport; Sat, 6 Jan 2018 02:14:16 +0000 Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by SN1NAM02FT021.mail.protection.outlook.com (10.152.72.144) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Sat, 6 Jan 2018 02:14:14 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:51708 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1eXdzy-0007TS-95; Fri, 05 Jan 2018 18:14:14 -0800 Received: from [127.0.0.1] (helo=xsj-smtp-dlp1.xlnx.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1eXdzy-0005Al-4V; Fri, 05 Jan 2018 18:14:14 -0800 Received: from xsj-pvapsmtp01 (xsj-smtp.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w062ECCp021955; Fri, 5 Jan 2018 18:14:12 -0800 Received: from [172.19.2.244] (helo=xsjhyunkubuntu) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1eXdzw-0005Ae-Km; Fri, 05 Jan 2018 18:14:12 -0800 Received: by xsjhyunkubuntu (Postfix, from userid 13638) id 99CF22C68EA; Fri, 5 Jan 2018 18:14:12 -0800 (PST) From: Hyun Kwon To: CC: , Michal Simek , Hyun Kwon Subject: [PATCH 1/2] dt: bindings: dma: xilinx: dpdma: DT bindings for Xilinx DPDMA Date: Fri, 5 Jan 2018 18:14:07 -0800 Message-ID: <1515204848-3493-1-git-send-email-hyun.kwon@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.2.0.1013-23574.006 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)(39860400002)(376002)(396003)(346002)(39380400002)(2980300002)(438002)(199004)(189003)(8936002)(42186006)(36756003)(316002)(50226002)(47776003)(103686004)(356003)(54906003)(8676002)(6916009)(6666003)(2351001)(16586007)(81156014)(51416003)(81166006)(305945005)(5660300001)(106466001)(6266002)(50466002)(2906002)(63266004)(52956003)(107886003)(575784001)(48376002)(4326008)(450100002)(478600001)(90966002)(107986001)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR02MB3392; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM02FT021; 1:TZsA0mH+H2EViEGpKvaAEI/e9dNKH6SGoN1cJXZXwG8o8xzvgk7ijhQvaDHieRk9p1z2l+Do+0+syKHnMwzaGCNFjxorGzAL4I5Ypwdyaty+GTv4XF326AG5wQxbWDcT MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b64dc3c7-738e-401a-8ddb-08d554ab2f1d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060); SRVR:MWHPR02MB3392; X-Microsoft-Exchange-Diagnostics: 1; MWHPR02MB3392; 3:BK+URpMF20O0AeyWQ9puBysX1DSjIctHNuvkeS0Ugw9/SWwIsmq5A5fu79N7ccB7fUnJbGqefBIuv2AnrFga6V+IoPQ7QpPvwB6Pww4njQJ7TpNAZIgJp8M94zptu+e6IAavT8oTXG3kZss35C/84ggO6Vc6PaohTWBTElBqUgcLFdu81ik42LkOXuU5CDMfv7e9jRH44en4a+srVDLVsU+FvNukrZYVJpLsQfaPS1ySmX2uSjhJ6OWcfBwReU3+1Ug5jRgkD2Ur1r1wPYUEIr+urxliwiDtx8s7RkgY+P89fvkm2axR3izDM2CvbP1ITLWQSPLZarawmL1tgYKNgG9vwXuStxZcwitf8ZcKbQw=; 25:FwNuTZZ58RJhRoVJOz90bfeniPK0Uaof208+V73bntpmProVQSX6QJGjx4oB1109oZ7pLKRzsNqU9n/csrYVmI8TxDy+DkNCd3kVoz1ly15pu7ueHkfEkmQYF9UKgPx4li9fTgsm1P4yia23cZv68G6a0l0qBYip3nm4A3oc213cbrckbKlgjvF6dp6ziMHfSnzhbMPgLTmTG/GA02NpoenAvU/rsFmQ0C3kjpnjm/qVW87qgLdMKYS4e5ACYGYkv44QnzOgf439RLUUx0gvYXSOU0J5yP9qwFbfCshM+NE8wFoqn5ZX08mpaFjsr6Z16ddPbqwu8G7MYHJ8IB4SSA== X-MS-TrafficTypeDiagnostic: MWHPR02MB3392: X-Microsoft-Exchange-Diagnostics: 1; MWHPR02MB3392; 31:Yun+CSs1aNNaQ8ccsM6a7xxalhyqXY07M1QoVbOm60GBvLdYbWy2efWEU3BkpiKJbXue/foNgvIj1SX7A9zO7RUgfYFzSeoiIbL61AWrPVzjjSSvn2yy7a7JWflXiH1c8MhMvTYkRBYp7q0AUV/eSrhAt22S084zP9fmmQaqEDBvVnHKQ5AVYAUQoV8b5kDFLbLv6dwYheVb+DwiK1U2EdOVhoNqleEyAxD+bI+guHk=; 20:/SV2rUMUJtOo8mogMzMaLCs8Ics3T0MUHfO7Ln3B+sIzz8nIQ/okhHvOWnQIx62BYi6adXIrDJyEncXgptCeNPddQ6cjjeUh330eAqhM93iZ1IrxGLBxKEGiEqyb/Wlddo78KbQ0Zrh09Birte5OAi0vxKiY2keWEnlNL48c3VBX6yzMUVHJVWpv6rLeBPMDETPDbuWo2XCDh28l0/Y6LC6CLI5MYwq19jmKEFdIcbuYvznh/fueSLyGAGgvxLBy0TQViEeSNaYlfEGGEfScmWF+44mvP17Pfferm8wTW2/i1S4SOpSscZZ+j4ykdj9YxqhqVm+svKxBgQGMIrcYt44NwmomvEBoqiyyaWbhV057LTnVKoBXSDbzB9TG9zgb9z/sZ7N79/mduBU9iY9mOSOR74buaFBmxPcxj8X91xEU3bofGZMgPBoEoCBC20L8wfWZodkYh/QG3p9ifRjBFOrFL4setxAski0pRQshKs4cdLqjS4p4crdBc3/uVPK0 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(93006095)(93004095)(10201501046)(3002001)(3231023)(944501075)(6055026)(6041268)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:MWHPR02MB3392; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:MWHPR02MB3392; X-Microsoft-Exchange-Diagnostics: 1; MWHPR02MB3392; 4:gnAaAXqvulIJqxACZg/5dW5ZIdq3NxYAp7/xA+aj8SVXGeWAOzpa38ivk3AbKpkVWSm/xs/3/ZZaDFNWuYVbcsPFQ1kZEUpNZzNF4qeH3JQQFVeFIlzDNxou6WjxF9ynYGL1YvyxlECY7hALugZpkjyZWIFLLd4tS14rgUQBgCb9poZze1yA+p6JCiZmkNDRj9ACCSVA0tyh1+5zQ4kQzc+IzKDxPyftJi4Py/qhvd+GOQBJgai8TD+WHOr5ssqLJpcbbDY89oP5CuPeUeH7OMRVI4VZxv9ojHFUprgYfM4QFI75JY+dUQpqOtBAM9fk X-Forefront-PRVS: 0544D934E1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR02MB3392; 23:lJEDkL+3D99AI9L68YFhAQNJszU1Jibd7paxqTSVN?= =?us-ascii?Q?RoK3xTTvmDnYQcqlLmlFaUSUp7kXn0gFml3d9NyA3gEZGNympa7R/cvTOWDv?= =?us-ascii?Q?9DYW1P+YxAkGABQ3Ya12m1HZw4ZkLRzh10hG+kx9om+vb51P2El36VJjRgjK?= =?us-ascii?Q?xbw8dZB327LYNs5D9+5EIhEujEwo9Kmvo4V2EjwM8Abcj6llveEvIY8svpFg?= =?us-ascii?Q?CBFQyn8kobHL8l/HAafyv31QOAjy2oyeMZuvCRaW4FQSy6EjEEgcAk9/ZIhZ?= =?us-ascii?Q?bSTQvjBFQe/dzdQbmHKwqGGnRrNhH1abFXmxkbEYwCVV0d8RvsRVQM0L6zj9?= =?us-ascii?Q?hV/i4lDqw//WKc89d3ZqpGiNWmFMWByoUHMrZzAuC9ADFwnvFGOe+qlhcCEW?= =?us-ascii?Q?IeY/c+StJwA+gp78F/JUrfpFuyPjV630v754Sg2ldHZjPouOoPph5QfXUjn3?= =?us-ascii?Q?ggFLoEe75wheBD6dLg+KWtPWooHZaICPoUONcSMlHZIQxYMVTNMJGteXjV9Y?= =?us-ascii?Q?h6X7R7fru9Poi+pI7gAzx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RGQUO/t7W8JnbTo3PzZ421es85824KzpAbp/u+jw3JdVM9Vi2kM5WNlewPHvIECwONF3dyBHJtXCH2U9PYKiXZxdtouHakEkxv+6twu1MTYMKYiR620jHeZTaQlK7N9sFbHUY=; 24:LUl/KaYpHxFZE5j5rKOYegeu6dxe9Asfgr9iNdzSXtFQsFkIznbFIfzABWsSjKoiSD3IBWIY29C0D35vbZfZdfUHZk8DrmQetAa1SAyUzVA=; 7:CeYHnuhnWBZEut2YpUlaYL5FzvQRNtF+5vSjBM6i2l79q5l4+8m9Z/tWdPy36GhwLVNrmIzpfDNM/Xyl7OxSvM+iCOviVCyqTnOzNi12ZhVqV7MpU8DiR9BG6hUa0MaRVfC5rL6E55cWlTTfrEsfX5m8DqHPk61AN0MG6x/IZhfgvomD0igFuRw336ZohdY1FcIIkh5uNZ37HrcYVkAU+GlieZ1pmNkmrvsyDIx3UrtFE+odfIf5oSKMxCU+uSeF SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jan 2018 02:14:14.8149 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b64dc3c7-738e-401a-8ddb-08d554ab2f1d 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: MWHPR02MB3392 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The ZynqMP includes the DisplayPort subsystem with its own DMA engine called DPDMA. The DPDMA IP comes with 6 individual channels (4 for display, 2 for audio). This documentation describes DT bindings of DPDMA. Signed-off-by: Hyun Kwon Signed-off-by: Michal Simek --- .../bindings/dma/xilinx/xilinx_dpdma.txt | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/xilinx/xilinx_dpdma.txt diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dpdma.txt b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dpdma.txt new file mode 100644 index 0000000..51016d8 --- /dev/null +++ b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dpdma.txt @@ -0,0 +1,64 @@ +Device-Tree bindings for Xilinx ZynqMP DP Subsystem DMA + +The ZynqMP DisplayPort subsystem handles DMA channel buffer management, +blending, and audio mixing. The DisplayPort subsystem receives display +and audio frames from DPDMA and transmits output to the DisplayPort IP core. + +Required properties: + - compatible: Should be "xlnx,dpdma". + - reg: Base address and size of the IP core. + - interrupts: Interrupt number. + - interrupts-parent: phandle for interrupt controller. + - clocks: phandle for AXI clock + - clock-names: The identification string, "axi_clk", is always required. + +Required child node properties: +- compatible: Should be one of "xlnx,video0", "xlnx,video1", "xlnx,video2", + "xlnx,graphics", "xlnx,audio0", or "xlnx,audio1". + +Example: + + xlnx_dpdma: axidpdma@43c10000 { + compatible = "xlnx,dpdma"; + reg = <0x43c10000 0x1000>; + interrupts = <0 54 4>; + interrupt-parent = <&intc>; + clocks = <&clkc 16>; + clock-names = "axi_clk"; + + #dma-cells = <1>; + dma-video0channel { + compatible = "xlnx,video0"; + }; + dma-video1channel { + compatible = "xlnx,video1"; + }; + dma-video2channel { + compatible = "xlnx,video2"; + }; + dma-graphicschannel { + compatible = "xlnx,graphics"; + }; + dma-audio0channel { + compatible = "xlnx,audio0"; + }; + dma-audio1channel { + compatible = "xlnx,audio1"; + }; + }; + +* DMA client + +Required properties: +- dmas: a list of <[DPDMA device phandle] [Channel ID]> pairs. "Channel ID" + is defined as video0 = 0, video1 = 1, video2 = 2, graphics = 3, audio0 = 4, + and audio1 = 5. + +Example: + + xlnx_drm { + ... + dmas = <&xlnx_dpdma 3>; + dma-names = "dma"; + ... + };