From patchwork Fri Jan 26 01:33:59 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hyun Kwon X-Patchwork-Id: 10184987 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 73ECA60467 for ; Fri, 26 Jan 2018 01:34:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 642B31FEB1 for ; Fri, 26 Jan 2018 01:34:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5819028BDD; Fri, 26 Jan 2018 01:34: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=-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 E24F91FEB1 for ; Fri, 26 Jan 2018 01:34:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 19C466E077; Fri, 26 Jan 2018 01:34:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0064.outbound.protection.outlook.com [104.47.33.64]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2A7526E08B for ; Fri, 26 Jan 2018 01:34:28 +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=9qlaXt+7rpnqZw7xFjR+bm/nn7eTStoFGwNKYjvESkw=; b=qbA6RYYlpKNjku6g5blwpaMkmMIbGY6riu3lsbNg4W4qp++pvADgAc+nqJQYXgUpJuR0rJbdVSJ70IWIIgVUfhGoZAFEuW30dz+WmxSqfiZXBO5E6xK9HJIzhgurzMfWIQ99cYTjuOf+P45JmdKmHqlmi2QW42KkffG4faQgR+s= Received: from CY4PR02CA0009.namprd02.prod.outlook.com (10.169.188.19) by CY4PR02MB3382.namprd02.prod.outlook.com (10.165.89.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Fri, 26 Jan 2018 01:34:22 +0000 Received: from BL2NAM02FT046.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e46::207) by CY4PR02CA0009.outlook.office365.com (2603:10b6:903:18::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.444.14 via Frontend Transport; Fri, 26 Jan 2018 01:34:22 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; ffwll.ch; dkim=none (message not signed) header.d=none;ffwll.ch; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BL2NAM02FT046.mail.protection.outlook.com (10.152.76.118) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.444.13 via Frontend Transport; Fri, 26 Jan 2018 01:34:19 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1eesuI-00059J-C0; Thu, 25 Jan 2018 17:34:18 -0800 Received: from localhost ([127.0.0.1] helo=xsj-pvapsmtp01) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1eesuI-0002TZ-5f; Thu, 25 Jan 2018 17:34:18 -0800 Received: from [172.19.2.244] (helo=xsjhyunkubuntu) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1eesuH-0002TV-Od; Thu, 25 Jan 2018 17:34:17 -0800 Received: by xsjhyunkubuntu (Postfix, from userid 13638) id B947E2C6944; Thu, 25 Jan 2018 17:34:17 -0800 (PST) From: Hyun Kwon To: , Subject: [PATCH v4 2/5] dt-bindings: display: xlnx: Add ZynqMP DP subsystem bindings Date: Thu, 25 Jan 2018 17:33:59 -0800 Message-ID: <1516930442-10285-2-git-send-email-hyun.kwon@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516930442-10285-1-git-send-email-hyun.kwon@xilinx.com> References: <1516930442-10285-1-git-send-email-hyun.kwon@xilinx.com> X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23618.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.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(39380400002)(396003)(376002)(346002)(39860400002)(2980300002)(438002)(199004)(189003)(63266004)(50466002)(42186006)(90966002)(106002)(54906003)(16586007)(316002)(50226002)(48376002)(81166006)(5660300001)(110136005)(81156014)(8936002)(2950100002)(6266002)(8676002)(107886003)(6666003)(305945005)(356003)(106466001)(52956003)(478600001)(2906002)(76176011)(59450400001)(51416003)(36756003)(26005)(103686004)(47776003)(186003)(4326008)(336011)(107986001)(2101003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR02MB3382; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; PTR:unknown-60-83.xilinx.com; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2NAM02FT046; 1:UEAbeojAP/NSDknnuaxQikxvsEyRRs8Vbz1cw31dYXdehk+mfh8/Q+f0B6CDuu+Wxl9BVHBmlo253Okg+j9Tc+iPgvIcIzriO9Anfjv8Gj9Uc9fHzLL7RxJJD0NhJt7o MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: abc9b9bd-906a-4d8c-8a93-08d5645cecb1 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603307)(7153060); SRVR:CY4PR02MB3382; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3382; 3:bQJCJERYmUTAHT+MrWCrAtxftdzV6ccUvgDTlE/DWOYpmqx96/LAai2xpZK2WiRVeSYFXZQucVNzRfjVg8o5/UwdE2jCT7wAC8NBtzRn0EHfeC7ZmFw4avfiLVuhCucs4Ecg+0Dc2Q3Q1olwcVupYbiW2j12XE8qzUONQWJBL2umMDhHb9Z8BlN/QCXXsjegWPwUa/iuEBF6mICBfBRthmJjG2qNBrzX5zf+t9KpfXjrdNOKHW9rOPk9U5Hn8o1onTQ5BzSo4wSKVW3XbldNd2MrX+Uo4iVa7vMKTg0/3mur5qezeFnTBouj0Io1FjIdHCzVCHaaC6+C66VoHagPEHtp/xYe7QfrATj6D2AJZYQ=; 25:HumfTpwE1NsOYliH1WL7Xczk7oTw4ibsuW4lvhaWvj2+9LerdyzKN4Vt0SIaazhrIe7q+ZFrnYmKTmJKmBixMHJL8zyNKc2gCxlU0nJ1L/Xritr1rhPLGFkc/JLZn6TbLAAg9/SnfRyQsdbwWx8l611hbFU0fbVWiZBXYW25U9MVdRQDNfzrh2BcKVteUF3XOjYgbmsOeRd0D6bZxvaKLTZCEXOu6R8o9ml0dpiICohZ3y5+2isDkL9OTZFEJdZmtMK+Bsl4hYO7wP39ZRDeC7s1pOM1sJBrH2FQF5B1FTJIeI0U+mp8yB9l3YGqS0LgNqc6AoIDeZIjaIBDkHSMpw== X-MS-TrafficTypeDiagnostic: CY4PR02MB3382: X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3382; 31:vxxOMtkZXsDGTXljVUGdgzlo7xcBeE/oyoo2cC21twUnKoMbTHgcqFoYJuLlpfLhUAcmdHzeoN7WYMEwL/AnURVvFNG6bBVeY6lxMeUMTKZUTG9IHSRqnxne3KooLd6dLeJ+oDEP/RcEC7cX3kJrTcDykldoUZq42TqSPvfitc9FWpLSeIknhzyy19S3SpojjfKrAYpb47bhfeHvCWhu/8/LgVsz9kL/EQ8hfXDG51I=; 20:HmX8imowmaKDDfc4PFVGab6jweTlRUtiMEEdsskDyMTiLjrtr7ZLXJv8DdjwqXDqETLZTGvIqRF3prvohltAVGhyNsOewoR7J91rPA16ZsWKQS82ZcZ0xdBAV9tJ42fSMQUBJFWArPD2A783NpGc5sBpNGz1pRJUEzQxF7gtejZxyg5PxcDUbssL3LrHlY1xB26rpKu58g2Js6MzQp6nW12uDZQmVIJtthmQjLmTd93Poqj9+ZCjSvNrRqnpkf9Ah9fjJTikyfuvlNydNxh2euQ6m7O6EeNqtGU4q3i2unKiXh80M4ycXvV1uptjM/GjC2etZE1vTG+jlBTlnaepXQ1oknEWMR4/vKl5HF+uXikBMGnj5Bwmy2BtkpTgcSHR3rPMUZNQPO1YHFLqN8gDQyj+O5yHTGz+Tm3N6+/eM30Lfa5hdAQSl2NKO+BO8BzrfveajqxyiKdfs1qZDSeqvaxl1Y/aJlqAELfGtkrPLvbQB5gRnRA4xYemwUoFNhHF X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(788757137089)(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3231023)(2400081)(944501161)(3002001)(93006095)(93004095)(10201501046)(6055026)(6041288)(20161123562045)(20161123564045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:CY4PR02MB3382; BCL:0; PCL:0; RULEID:; SRVR:CY4PR02MB3382; X-Microsoft-Exchange-Diagnostics: 1; CY4PR02MB3382; 4:ScWkkpmClv8pjp/3N0vEYuPiqLdgDtUtY1VE4zKAE+uacbW/OVMD8lt+w2mk8+lO8NJ2/z+VHdYS0efoXfZ9Vsgpsl+UdPDeOKFk+1E4aNsvIJsfanE16HCkHCfT/rVIlzMjOkHi9PqiSPxWlMi6ncx9i0fbRx+Jpex5NZADI50E0izq1T+E9GYMRIzmdZw7CcAnWPI/mzz4TNjlu0BhoYgBBMN9SMTWeLU9qi+948rHPHPAxHvR3cQJMV/O7ri+8x1f2lLsjqwe5AGeAEWbKJFyYUlX3067Nbr6v80lx06/z/gk2YziwyJt+WFSdgwSydCy0Z3dZ3aSwOQaA2c1IA== X-Forefront-PRVS: 05641FD966 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR02MB3382; 23:9eULSGm4lYix1IwLIthlSXIYNJbe56ofztwYPLSJb?= =?us-ascii?Q?AyJS0CTpkxo3WqygAamnpXQAtK1oeqayZurLO/2ogUDY6+B/WwqoWbcZ8FDH?= =?us-ascii?Q?TXO0miYGUrNHW2nUQIz3VTFboQIqVUp6wXkuw7nP2XlLRlmsvm5bctvxMHtp?= =?us-ascii?Q?hCjUleorn5fG9tsOGMA49VjzTFLSiMQ5ZDQnf/j9SF2icYcEj+ZQZvAlAtes?= =?us-ascii?Q?h8c48i9D5chaLxf19r0Br1jUOiaBrC+z8BkMDUpfBVS/Va8zuIb0cGcK8kXa?= =?us-ascii?Q?/pk868u4wOtguGKMO9WrO8yYaUXdwID87/88laZTbAJzN2dN9btpBT2q35xS?= =?us-ascii?Q?FxPQGgXF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qhJ4OzcDVW+oYVpALL7PhyaVcgrrye1nKpxzWuH+bB4XXJTMNRbXrIbwlynU2EYWFGNzENRZFDn/4+5HqITF5EJezK8oeSwlb726dpssn9xthrakjP2E6OUbQen4sE/RhPyHa0vgRwSDURT5Evkm6y09ExRUuraZkD2zxNMvMvonQbBwefBPIWpvfpzvX/uWNZR0bRfpHX/ateyz9T274JmqHqsvYo/gZ4nqqcexTuEzAN/Mgg+RP5664qnABVCk0hHB2oa4=; 5:OEHxQbIQHcbEpBo84bj/u2/2p7ix/nDB/0feiGOBz6nxqje8c+cGRjrhKFTWkhQNKhQcW4UIzNt5VlBtYjPNl/0zTrus5yimpp9eygEhJm2drasNFRiAGkFQas4zVpwQUHQfkicEMnxnVf83NhjvkXPuilOlNnh3cBc92+gx6Ms=; 24:qupDZBVUnbbT1kwi+S9PVv2RSpVuMaTv0BwceCencgyRfd3oAiG98i1jmWBI4RyPlX+XOs2SRvSqJUCpZ1qEBwWraYQm2G1tdTmK2SuVroQ=; 7:oGKftMhChEcFshBckAza8LJ5XtP8Kn+h/cA94vYPvjRx4XZvzwRQXydu77sVOQAU2i9ioxb0EHVpBvDxCABjCjcVBJPEH/9jaiwlim7raq3CEjl9p9TSb0spNH6tsE+CyMflc945epyVTfFEUWLHVSbMzcsX+OEEPY42Afl4i+JlimYekIUNKXD40m4we/K4ZfV7/dPc2OA0TqR7WHQkT+QO8dYjdCaVv4nxYpxAPg5erMQGTl3criyAu7n0FB1b SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2018 01:34:19.3619 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: abc9b9bd-906a-4d8c-8a93-08d5645cecb1 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.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR02MB3382 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Pinchart , Michal Simek , Hyun Kwon , Daniel Vetter 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 Reviewed-by: Rob Herring --- v4 - Specify phy related descriptions - Specify dma related descriptions - Remove ports - Remove child nodes for layers - Update the example accordingly v2 - Group multiple ports under 'ports' - Replace linux specific terms with generic hardware descriptions --- --- .../bindings/display/xlnx/xlnx,zynqmp-dpsub.txt | 67 ++++++++++++++++++++++ 1 file changed, 67 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..f4a2e6d --- /dev/null +++ b/Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.txt @@ -0,0 +1,67 @@ +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. The number of lanes is configurable + between 1 and 2. The number of phandles should be 1 or 2. +- phy-names: The identifier strings. "dp-phy" followed by index, 0 or 1. + For single lane, only "dp-phy0" is required. For dual lane, both "dp-phy0" + and "dp-phy1" are required where "dp-phy0" is the primary lane. + +- power-domains: phandle for the corresponding power domain + +- dmas: phandles for DMA channels as defined in + Documentation/devicetree/bindings/dma/dma.txt. +- dma-names: The identifier strings are required. "gfx0" for graphics layer + dma channel. "vid" followed by index (0 - 2) for video layer dma channels. + +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-display-subsystem@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>, <&lane0>; + phy-names = "dp-phy0", "dp-phy1"; + + power-domains = <&pd_dp>; + + dma-names = "vid0", "vid1", "vid2", "gfx0"; + dmas = <&xlnx_dpdma 0>, + <&xlnx_dpdma 1>, + <&xlnx_dpdma 2>, + <&xlnx_dpdma 3>; + }; +}; +