Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp1307281img; Tue, 19 Mar 2019 05:05:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqw024YQW9u7DRiz8lIwQOzkZGZDG8WnKutADa0cASp78RNQQs1U8MZ/lcUiuV6vzBwBWAR6 X-Received: by 2002:a62:ed0c:: with SMTP id u12mr1639236pfh.88.1552997144821; Tue, 19 Mar 2019 05:05:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552997144; cv=none; d=google.com; s=arc-20160816; b=DHO6yL870hJgu18pITsi8JMAO2H6Kbg9PpI2mTSlcuqTdD3LRIoCXNYw9ZjyjcjcPV zE7jFD2Sr3jrqJs6F4s607G47ZnnPVpDfZEGEERU3dRRcEBXMrXhwhou/WpAqv7n4IKd qiGooy37zodXp+IEt2eRLC8O8mQtHsRNp2Ks+hMLB9X2WAeaTMG7bMT1uhndnEIhnEML b0zwI+btNUnljiTJrcdMLgH95X/HNsZI1XcE5TPdUxsKFgE7opcMOk4DEamC7ZJvpqwA ylENjfeCcuMkPTFoNWpAVuOV5CU7L+p1DJMqM4Q/X9gfDwb7n2dCoviG5SFD0WZEYc70 D9sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :envelope-to:dkim-signature; bh=fGDiPzGpbDRRn9mMhNP6z9lCIRAtpDWXOU55/ipNuqg=; b=0Rsw1oW24jMibpg9FxpkTM4Lw42+Zx5ZPWcF5fZIJsEJ3DuXc2pCbBJRVUtYSO6piG 4yvCx2k7lMrlglUjHj/fYsBpnji5OvzRoJsS4YBcIi1oJmucoMZq1dRIn1gCoxmoVTxX B8cPDi2u36gzYyN7ZgHpp26AuMKDvctrDf1tjXxv7Gx+WQWMLwe3pcLTfnJoW6fFBGgc Q4vTC7PPL0dkVP0GA1dbra8HjcDlR8DodqKrBlWvtW6uO7ekQVVIMLIbOwhNc73BG64X i381dAt3z8lcvk+f31msOt1P8jT2By9qH1YpWEescP4Nz2tSZp+XPDQX5cgeiGTIlZNT NXig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=suJ5TkmR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d141si12408452pfd.81.2019.03.19.05.05.27; Tue, 19 Mar 2019 05:05:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-com header.b=suJ5TkmR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727504AbfCSMEk (ORCPT + 99 others); Tue, 19 Mar 2019 08:04:40 -0400 Received: from mail-eopbgr750041.outbound.protection.outlook.com ([40.107.75.41]:17214 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726969AbfCSMEi (ORCPT ); Tue, 19 Mar 2019 08:04:38 -0400 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:X-MS-Exchange-SenderADCheck; bh=fGDiPzGpbDRRn9mMhNP6z9lCIRAtpDWXOU55/ipNuqg=; b=suJ5TkmROGLCZEa4Iz9NNt6eiRPva5X4/6/T1rY6PUWqZnnDOkZXYY+4ZiwSER28tlB8jg/Z/NSrF2Xpn7b9DXdkRnmuBeT1hLoLyDVPge5Xzy96LsdtFehbeO6XbYqF1JZyXtXXLBTYtOETJemUdoI540IbvAyA1Yh4O87Qsck= Received: from SN6PR02CA0013.namprd02.prod.outlook.com (2603:10b6:805:a2::26) by BN8PR02MB5908.namprd02.prod.outlook.com (2603:10b6:408:b8::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1709.14; Tue, 19 Mar 2019 12:04:34 +0000 Received: from SN1NAM02FT057.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::205) by SN6PR02CA0013.outlook.office365.com (2603:10b6:805:a2::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1709.14 via Frontend Transport; Tue, 19 Mar 2019 12:04:34 +0000 Authentication-Results: spf=pass (sender IP is 149.199.80.198) smtp.mailfrom=xilinx.com; arndb.de; dkim=none (message not signed) header.d=none;arndb.de; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.80.198 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.80.198; helo=xir-pvapexch02.xlnx.xilinx.com; Received: from xir-pvapexch02.xlnx.xilinx.com (149.199.80.198) by SN1NAM02FT057.mail.protection.outlook.com (10.152.73.105) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.1730.9 via Frontend Transport; Tue, 19 Mar 2019 12:04:33 +0000 Received: from xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) by xir-pvapexch02.xlnx.xilinx.com (172.21.17.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1531.3; Tue, 19 Mar 2019 12:04:32 +0000 Received: from smtp.xilinx.com (172.21.105.198) by xir-pvapexch01.xlnx.xilinx.com (172.21.17.15) with Microsoft SMTP Server id 15.1.1531.3 via Frontend Transport; Tue, 19 Mar 2019 12:04:32 +0000 Envelope-to: arnd@arndb.de, gregkh@linuxfoundation.org, michal.simek@xilinx.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, dragan.cvetic@xilinx.com, derek.kiernan@xilinx.com Received: from [149.199.110.15] (port=43674 helo=xirdraganc40.xilinx.com) by smtp.xilinx.com with esmtp (Exim 4.90) (envelope-from ) id 1h6DTs-0003Ch-Gq; Tue, 19 Mar 2019 12:04:32 +0000 From: Dragan Cvetic To: , , , CC: , Dragan Cvetic , Derek Kiernan Subject: [PATCH 01/12] dt-bindings: xilinx-sdfec: Add SDFEC binding Date: Tue, 19 Mar 2019 12:04:13 +0000 Message-ID: <1552997064-432700-2-git-send-email-dragan.cvetic@xilinx.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1552997064-432700-1-git-send-email-dragan.cvetic@xilinx.com> References: <1552997064-432700-1-git-send-email-dragan.cvetic@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.80.198;IPV:CAL;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(39860400002)(396003)(346002)(376002)(136003)(2980300002)(189003)(199004)(50466002)(356004)(14444005)(2201001)(7696005)(51416003)(8676002)(48376002)(186003)(107886003)(71366001)(26005)(76176011)(26826003)(246002)(5024004)(6666004)(5660300002)(478600001)(60926002)(486006)(7636002)(47776003)(305945005)(36756003)(28376004)(44832011)(9786002)(93146003)(8746002)(106466001)(8936002)(110136005)(316002)(106002)(336012)(50226002)(4326008)(54906003)(476003)(446003)(126002)(956004)(11346002)(2906002)(36906005)(2616005)(426003)(102446001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN8PR02MB5908;H:xir-pvapexch02.xlnx.xilinx.com;FPR:;SPF:Pass;LANG:en;PTR:unknown-80-198.xilinx.com;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b6e98055-1981-4239-535c-08d6ac630d39 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4608103)(4709054)(2017052603328)(7153060);SRVR:BN8PR02MB5908; X-MS-TrafficTypeDiagnostic: BN8PR02MB5908: Content-Transfer-Encoding: quoted-printable X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Forefront-PRVS: 0981815F2F X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: m5CsqgrV+oFhdZttlmdBALE18GF1+zFYp+Z01l29E5qRjVdVK/wGpTEM5MzlrAeQ1YMePX+/B/xTWBxbXce/A3joy6KIHfFcCt6JCyVx5mPXzqyfj7kWm/MbOmoG8MgvO9yb1cLaKwMOZtbXa1lnROQdipHh7ARKQR8kIFmi2C5iCKJ/9xJ9i1xpaCiL2CwBqlmEt/hxG7xuqGip9UF2zhn4d/qis2YJaspZjMU2eX53Nfj4TMLy03xAsqp2Lckgz6DXoCQFG0x7V9/JrH+n4TPme3EjG8Lv1Bj69CdDGJJdXEWZ3a2mWrOB82vtzcxFYNLqp4Toe61ECnnHCHFl6IIIbPeeMdfktuGMPKxb/B8GRZ+vBuei4k+XN9FYxGWTrxryFQuQcOhMFP7EbAKzVHfdUhheVF1ZOgxXgQXLYqY= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2019 12:04:33.9391 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b6e98055-1981-4239-535c-08d6ac630d39 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.80.198];Helo=[xir-pvapexch02.xlnx.xilinx.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR02MB5908 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the Soft Decision Forward Error Correction (SDFEC) Engine bindings which is available for the Zynq UltraScale+ RFSoC FPGA's. Signed-off-by: Dragan Cvetic Signed-off-by: Derek Kiernan --- .../devicetree/bindings/misc/xlnx,sd-fec.txt | 58 ++++++++++++++++++= ++++ 1 file changed, 58 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/xlnx,sd-fec.txt diff --git a/Documentation/devicetree/bindings/misc/xlnx,sd-fec.txt b/Docum= entation/devicetree/bindings/misc/xlnx,sd-fec.txt new file mode 100644 index 0000000..8af0adc --- /dev/null +++ b/Documentation/devicetree/bindings/misc/xlnx,sd-fec.txt @@ -0,0 +1,58 @@ +* Xilinx SDFEC(16nm) IP * + +The Soft Decision Forward Error Correction (SDFEC) Engine is a Hard IP blo= ck +which provides high-throughput LDPC and Turbo Code implementations. +The LDPC decode & encode functionality is capable of covering a range of +customer specified Quasi-cyclic (QC) codes. The Turbo decode functionality +principally covers codes used by LTE. The FEC Engine offers significant +power and area savings versus implementations done in the FPGA fabric. + + +Required properties: +- compatible: Must be "xlnx,sd-fec-1.1" +- clock-names : List of input clock names from the following: + - "core_clk", Main processing clock for processing core (required) + - "s_axi_aclk", AXI4-Lite memory-mapped slave interface clock (require= d) + - "s_axis_din_aclk", DIN AXI4-Stream Slave interface clock (optional) + - "s_axis_din_words-aclk", DIN_WORDS AXI4-Stream Slave interface clock= (optional) + - "s_axis_ctrl_aclk", Control input AXI4-Stream Slave interface clock= (optional) + - "m_axis_dout_aclk", DOUT AXI4-Stream Master interface clock (optiona= l) + - "m_axis_dout_words_aclk", DOUT_WORDS AXI4-Stream Master interface cl= ock (optional) + - "m_axis_status_aclk", Status output AXI4-Stream Master interface clo= ck (optional) +- clocks : Clock phandles (see clock_bindings.txt for details). +- reg: Should contain Xilinx SDFEC 16nm Hardened IP block registers + location and length. +- xlnx,sdfec-code : Should contain "ldpc" or "turbo" to describe the codes + being used. +- xlnx,sdfec-din-words : A value 0 indicates that the DIN_WORDS interface = is + driven with a fixed value and is not present on the device, a value of 1 + configures the DIN_WORDS to be block based, while a value of 2 configure= s the + DIN_WORDS input to be supplied for each AXI transaction. +- xlnx,sdfec-din-width : Configures the DIN AXI stream where a value of 1 + configures a width of "1x128b", 2 a width of "2x128b" and 4 configures a= width + of "4x128b". +- xlnx,sdfec-dout-words : A value 0 indicates that the DOUT_WORDS interfac= e is + driven with a fixed value and is not present on the device, a value of 1 + configures the DOUT_WORDS to be block based, while a value of 2 configur= es the + DOUT_WORDS input to be supplied for each AXI transaction. +- xlnx,sdfec-dout-width : Configures the DOUT AXI stream where a value of = 1 + configures a width of "1x128b", 2 a width of "2x128b" and 4 configures a= width + of "4x128b". +Optional properties: +- interrupts: should contain SDFEC interrupt number + +Example +--------------------------------------- + sd_fec_0: sd-fec@a0040000 { + compatible =3D "xlnx,sd-fec-1.1"; + clock-names =3D "core_clk", "s_axi_aclk", "s_axis_ctrl_aclk= ", "s_axis_din_aclk", "m_axis_status_aclk", "m_axis_dout_aclk"; + clocks =3D <&misc_clk_2>, <&misc_clk_0>, <&misc_clk_1>, <&m= isc_clk_1>, <&misc_clk_1>, <&misc_clk_1>; + reg =3D <0x0 0xa0040000 0x0 0x40000>; + interrupt-parent =3D <&gic>; + interrupts =3D <0 89 4>; + xlnx,sdfec-code =3D "ldpc"; + xlnx,sdfec-din-words =3D <0>; + xlnx,sdfec-din-width =3D <2>; + xlnx,sdfec-dout-words =3D <0>; + xlnx,sdfec-dout-width =3D <1>; + }; -- 2.7.4 This email and any attachments are intended for the sole use of the named r= ecipient(s) and contain(s) confidential information that may be proprietary= , privileged or copyrighted under applicable law. If you are not the intend= ed recipient, do not read, copy, or forward this email message or any attac= hments. Delete this email message and any attachments immediately.