From patchwork Fri Jan 5 02:05:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hyun Kwon X-Patchwork-Id: 10145981 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 838E46034B for ; Fri, 5 Jan 2018 02:40:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 99EAD2846F for ; Fri, 5 Jan 2018 02:40:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8C3D328757; Fri, 5 Jan 2018 02:40:13 +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=-4.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0C5742846F for ; Fri, 5 Jan 2018 02:40:12 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 538AF6E2A1; Fri, 5 Jan 2018 02:40:12 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 2034 seconds by postgrey-1.35 at gabe; Fri, 05 Jan 2018 02:40:09 UTC Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0079.outbound.protection.outlook.com [104.47.40.79]) by gabe.freedesktop.org (Postfix) with ESMTPS id 03AC26E2A1 for ; Fri, 5 Jan 2018 02:40:09 +0000 (UTC) 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=8oetcMAiTqhh9uBtsueobBh3LXHw7gkOhnGga3MSywU=; b=v4Y7cuv7aMh0w6R3th+1qeGa8r2EmFkwaE9FIo7khrHkFifGCkYAskAWTq02w1G9mGt4EC0Wo7uM51CifndUCJ87llAA4cWdqiKRpDz9wdy8PMUO5j99ltNIDaL1d7m3d58qBFt+pI7rqBiUNaNzCjBfdfj5g6idurWWAZTiPZ0= Received: from MWHPR02CA0056.namprd02.prod.outlook.com (10.164.133.45) by CY4PR02MB3383.namprd02.prod.outlook.com (10.165.89.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.366.8; Fri, 5 Jan 2018 02:06:15 +0000 Received: from CY1NAM02FT034.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e45::209) by MWHPR02CA0056.outlook.office365.com (2603:10b6:301:60::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.386.5 via Frontend Transport; Fri, 5 Jan 2018 02:06:15 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; 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 CY1NAM02FT034.mail.protection.outlook.com (10.152.75.190) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.345.12 via Frontend Transport; Fri, 5 Jan 2018 02:06:14 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:39112 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1eXHOg-0006mF-3a; Thu, 04 Jan 2018 18:06: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 1eXHOf-0003Pu-Uu; Thu, 04 Jan 2018 18:06:14 -0800 Received: from xsj-pvapsmtp01 (smtp.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id w0526Baa003026; Thu, 4 Jan 2018 18:06:11 -0800 Received: from [172.19.2.244] (helo=xsjhyunkubuntu) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1eXHOd-0003Of-8l; Thu, 04 Jan 2018 18:06:11 -0800 Received: by xsjhyunkubuntu (Postfix, from userid 13638) id 411BC2C68EB; Thu, 4 Jan 2018 18:06:11 -0800 (PST) From: Hyun Kwon To: , Subject: [PATCH 06/10] dt-bindings: display: xlnx: Add ZynqMP DP subsystem bindings Date: Thu, 4 Jan 2018 18:05:55 -0800 Message-ID: <1515117959-18068-7-git-send-email-hyun.kwon@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1515117959-18068-1-git-send-email-hyun.kwon@xilinx.com> References: <1515117959-18068-1-git-send-email-hyun.kwon@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23572.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)(376002)(346002)(396003)(39380400002)(39860400002)(2980300002)(438002)(189003)(199004)(478600001)(50466002)(16586007)(51416003)(63266004)(81166006)(4326008)(106466001)(50226002)(2950100002)(305945005)(5660300001)(6666003)(8936002)(103686004)(48376002)(6266002)(76176011)(2906002)(36756003)(54906003)(81156014)(356003)(42186006)(316002)(106002)(110136005)(47776003)(59450400001)(90966002)(52956003)(8676002)(107886003)(107986001)(2101003)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR02MB3383; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; CY1NAM02FT034; 1:tuHy30KLPSYkojTbytw5Buw5Znuaze3MG57z1+m3hQako5OEMFJWL/pzJHz5iDx6CwM53gsoWVQOIfQ3/8K5BR0kSMgNPceWuWLzH5RePQy1Dx8ANYn1rsWJfpCSlwf3 MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b94052bc-189d-4b5e-3c45-08d553e0e68d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603307)(7153060); SRVR:CY4PR02MB3383; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3383; 3:+oLPUm12AP8aY85mqSCU1Jctq8iuLyJR3GMdvdnZMd4Z4jPqKaYKdfO0Bxy06JMulc7m8E5XqqRvBXxefOUUi014UmgdAJWjpBs+GnFW6YpudLqG1sfVbQXYbBVE+GmQovSD+5QtrmWWUPfLGkRQBYKVZhe7hu35Etz1aEWaYKG+DBMvOUGLvI3+WZrssBuU/GRx2qCwK8YLTzpa58nTvUPkA9puqzoIU20H5Q0SU5Ho//FAY9h3QO0JQjMB4VVANuSMs6O8DTklt3kE8umOSlUp2g6vuDMDvRpSWvKIZg+bL16ucrbW+zJ7vR3r3siqhRF4nZGC13XWQJe84wMuM2xW8aQV6ZnozGn4dRSWoxo=; 25:IvefA9yw5QXZBEKGc/5IzdzhcQyrwkq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S2RtocXtgw0tusuJnAjvrXZubHpv6e59KTLBQ+NiL783J1V3rlk1GeJ/L+uP 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)(3002001)(10201501046)(93006095)(93004095)(3231023)(944501075)(6055026)(6041268)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123562045)(6072148)(201708071742011); SRVR:CY4PR02MB3383; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR02MB3383; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3383; 4:vsyt03CAqgW2uJxqfpGCjgFmUoDEKGtjiHUnJteN2u+4COLyyTWYqf4hoQen73EREkk2KSVB70yqI5BRs9d2R9mtKQ0TdOhUdrBwWGUpUjJpMZ5EC4tNVdW03X51ZHQOhjCalhbzWkhEmPgrJUC/xJVuuV2809mYxNILvmKOzVl+UWaCkzb2Yb6d35uINhcxE6SUy3cFipoQJl/wRycFN3PugmMZ8qKpWAWb8xKVX33ZzGYo38Jph+Z7+3oLQfAP+2XUK82dCz+CVp4Q2kPdKuL5jZX6atYuN/BBuQOgpM1JinxixkwWWNNkdzha/0p+ X-Forefront-PRVS: 05437568AA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR02MB3383; 23:rtY9m+nJzhm2ND+wPBkOuoqOG1cqD0FUfOq7cxM4S?= =?us-ascii?Q?jvxWrYBTzv12/3PQg9iMWYGoViM0K4LjBGvTqDIHtDVv7RQ/14inYBdfNFBM?= =?us-ascii?Q?/2URzsfovNcBJNCq099fRTx/Qtc+/0ETcgrgvUb9JRXuBQTk9PCZzRRfUxBV?= =?us-ascii?Q?+omthOdzg+KZq5fzZ21aIBRBwKaoCHvVMNwbDYQ9YLBkVgn0XqU2rvkcai9x?= =?us-ascii?Q?WOQAEd0Pu9A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CY4PR02MB3383; 6:QotR5Yj7TEQAFBzj7xHG1fxh7kB6IT/BVJarh12mltxnv81A4b4Y7LvAOS1NHhiCryBXPoVBXUCBG40G0RfrflltY8PiJkEW6Hp0J6S7IPWwWbvg3lKv9fcFBzmVdov2AeirvkFNT+BfP7Qk4AwTmw+WcKqHSRZKAd7gZDrklgYS8Ika0k7aKpUjkCnNhqVt9gOE/L+xVVuSAGCnH59P5Gw7eZ5rCyRDt/X3uCOqHWOBp1DDn1Tt/MQEfgNFydD8TMpO3xNEFLVQTrktOz3sjJPGuel+x54SLMavspYywqeDyhamMOvGknd3hWdUm/AY5vvIfDqwf0YhtJp14K7FnPUiZRKhGvOYjJjrtAokXyo=; 5:uAN+lnB2W1g+tBkE0mGpTD6eAeeiLf+bZPjsVDragfSg+nUjbeqffGmIyFPsCx4C4c5Ta1LzVpHu8XQYcMrzI/d0nSjNmNXAm+TFhCMjH+o+SQ2tNu7UgTrQhxMzyIVLILCJLI+UVFMV7Ybt8wy7CgrKf+1veOaH6Iq3AbZL+Dk=; 24:oC3zR/vBrlxNuFNd/ktr1+v/IgqiIrOxWJIWekBxpR6ka+9l6OB+DqBe5AiT13b0kxvEucAfa8Qi42wlRWFZDQjcO3kbODkSmLlSf18Oygo=; 7:DuxNyJwRfQjLEEXxRsckWS0p8ct2fJW9PxyyQxx1MjgPX9SYXoeG/ThRTvlaBclxtMr/dkPNXbdplUZXTA5btbiR9Ivj5X33wXf5bHSMcDEm32ytNaiQr0RsY9tOYwvCjCnbe09naOTDGLRmPqq2a4b9bLiHyxUOHpAkAJmLCfH30Q0E7ozHPGcf5jkKZe4wmA/h9sdYFFT8LNt75EnZMt/uxvwboBn1rpArEtbPqD8dqkQjegyjg7hEHw4JCdNo SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2018 02:06:14.6088 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b94052bc-189d-4b5e-3c45-08d553e0e68d 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: CY4PR02MB3383 Cc: Michal Simek , Hyun Kwon X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP This add a dt binding for ZynqMP DP subsystem. Signed-off-by: Hyun Kwon --- .../bindings/display/xlnx/xlnx,zynqmp-dpsub.txt | 94 ++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.txt diff --git a/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.txt b/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.txt new file mode 100644 index 0000000..4e478ca --- /dev/null +++ b/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.txt @@ -0,0 +1,94 @@ +Xilinx ZynqMP DisplayPort subsystem +----------------------------------- + +Required properties: + +- compatible: Must be "xlnx,zynqmp-dpsub-1.7". + +- reg: Physical base address and length of the registers set for the device. +- reg-names: Must be "dp", "blend", "av_buf", and "aud" to map logical register + partitions. + +- interrupts: Interrupt number. +- interrupts-parent: phandle for interrupt controller. + +- clocks: phandles for axi, audio, non-live video, and live video clocks. + axi clock is required. Audio clock is optional. If not present, audio will + be disabled. One of non-live or live video clock should be present. +- clock-names: The identification strings are required. "aclk" for axi clock. + "dp_aud_clk" for audio clock. "dp_vtc_pixel_clk_in" for non-live video clock. + "dp_live_video_in_clk" for live video clock (clock from programmable logic). + +- phys: phandles for phy specifier. +- phy-names: The identifier strings. "dp-phy" followed by index. + +- power-domains: phandle for the corresponding power domain + +- ports: crtc and encoder ports are required using DT bindings defined in + Documentation/devicetree/bindings/graph.txt. + +- vid-layer, gfx-layer: Required to represent available layers + +Required layer properties + +- dmas: phandles for DMA channels as defined in + Documentation/devicetree/bindings/dma/dma.txt. +- dma-names: The identifier strings are required. "graphics0" for graphics + layer. "video" followed by index for video layer + +Optional child node + +- The driver populates any child device node in this node. This can be used, + for example, to populate the sound device from the DisplayPort subsystem + driver. + +Example: + zynqmp_dpsub: zynqmp_dpsub@fd4a0000 { + compatible = "xlnx,zynqmp-dpsub-1.7"; + reg = <0x0 0xfd4a0000 0x0 0x1000>, + <0x0 0xfd4aa000 0x0 0x1000>, + <0x0 0xfd4ab000 0x0 0x1000>, + <0x0 0xfd4ac000 0x0 0x1000>; + reg-names = "dp", "blend", "av_buf", "aud"; + interrupts = <0 119 4>; + interrupt-parent = <&gic>; + + clock-names = "dp_apb_clk", "dp_aud_clk", "dp_live_video_in_clk"; + clocks = <&dp_aclk>, <&clkc 17>, <&si570_1>; + + phys = <&lane1 PHY_TYPE_DP 0 1 27000000>, + <&lane0 PHY_TYPE_DP 1 1 27000000>; + phy-names = "dp-phy0", "dp-phy1"; + + power-domains = <&pd_dp>; + + #address-cells = <1>; + #size-cells = <0>; + + vid-layer { + dma-names = "vid0", "vid1", "vid2"; + dmas = <&xlnx_dpdma 0>, + <&xlnx_dpdma 1>, + <&xlnx_dpdma 2>; + }; + + gfx-layer { + dma-names = "gfx0"; + dmas = <&xlnx_dpdma 3>; + }; + + crtc_port: port@0 { + reg = <0>; + crtc: endpoint { + remote-endpoint = <&encoder>; + }; + }; + port@1 { + reg = <1>; + encoder: endpoint { + remote-endpoint = <&crtc>; + }; + }; + }; +}; +