From patchwork Tue Feb 20 08:40:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shubhrajyoti Datta X-Patchwork-Id: 10229551 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 D9242602B1 for ; Tue, 20 Feb 2018 08:33:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C908F2855E for ; Tue, 20 Feb 2018 08:33:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD29828563; Tue, 20 Feb 2018 08:33:42 +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 4C3602855E for ; Tue, 20 Feb 2018 08:33:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750988AbeBTIdk (ORCPT ); Tue, 20 Feb 2018 03:33:40 -0500 Received: from mail-dm3nam03on0082.outbound.protection.outlook.com ([104.47.41.82]:4313 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750732AbeBTIdi (ORCPT ); Tue, 20 Feb 2018 03:33:38 -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=nnQObt9xwLgG35eP+zd+LrYCNlL9NRdZ4osl442HZEg=; b=eDVvogwiRCmpXfeoS0uayrRhzFCnlbLhzlmXMjAuqwM5Ml7Yy0bcI2Yc1PzEdWNXH0yneLgCg+2Xqqjgaxw+GkJc26TVg+Ps+o9xQeWSDPHSBAoJTxTlpgTWOTO+m73YyxOo3/OQ+SU/5BegIj2ZgB1xE+QnDoqO9mVUDG5HVQU= Received: from SN4PR0201CA0048.namprd02.prod.outlook.com (2603:10b6:803:2e::34) by SN1PR02MB1342.namprd02.prod.outlook.com (2a01:111:e400:583e::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Tue, 20 Feb 2018 08:33:36 +0000 Received: from SN1NAM02FT003.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::209) by SN4PR0201CA0048.outlook.office365.com (2603:10b6:803:2e::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.506.18 via Frontend Transport; Tue, 20 Feb 2018 08:33:36 +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 SN1NAM02FT003.mail.protection.outlook.com (10.152.73.29) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.506.19 via Frontend Transport; Tue, 20 Feb 2018 08:33:35 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:42275 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1eo3Ml-0006JR-7g; Tue, 20 Feb 2018 00:33:35 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1eo3Ml-00076D-6r; Tue, 20 Feb 2018 00:33:35 -0800 Received: from [172.23.37.106] (helo=xhdshubhraj40.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1eo3Ma-00074Q-Ru; Tue, 20 Feb 2018 00:33:25 -0800 From: Shubhrajyoti Datta To: CC: , , , , , , Shubhrajyoti Datta Subject: [PATCH 1/2] doc: fpga: Add reset bridge support Date: Tue, 20 Feb 2018 14:10:02 +0530 Message-ID: <1519116003-6967-1-git-send-email-shubhrajyoti.datta@xilinx.com> X-Mailer: git-send-email 2.1.1 X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.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)(396003)(346002)(39380400002)(39860400002)(376002)(2980300002)(438002)(199004)(189003)(36756003)(2906002)(4326008)(47776003)(59450400001)(51416003)(7696005)(8936002)(50466002)(39060400002)(81156014)(63266004)(48376002)(50226002)(9786002)(8676002)(186003)(336011)(26005)(77096007)(478600001)(6916009)(6666003)(2351001)(5890100001)(36386004)(316002)(107886003)(81166006)(356003)(5660300001)(305945005)(8746002)(106002)(106466001)(54906003)(107986001)(5001870100001); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1342; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; PTR:xapps1.xilinx.com,unknown-60-100.xilinx.com; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1NAM02FT003; 1:HWL3W9y+jJ1ROFWdasKFr/KgIsiSi0j89qMlcsOtov+H+l8rw7zYqQuscXStZAdUFcW7FaHiQahZZAGbKW81/mBKtgIclMqxiT+cHw3i57m71tMgufOrooKzj1SEyxg+ MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9348c0b4-fde3-45fc-97ee-08d5783ca225 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4608076)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603307)(7153060); SRVR:SN1PR02MB1342; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1342; 3:L21GAMDRGAU8A2nxZ0gJyCK+GHOFxLY7OwMxvShzXu0EjGQC8LJCDNRHPl6g5ke7C8BuD5iS81Ac4aKHYB3Com92t9vE3s29zNSdDO/n86VPIdYZ1YIzKUJgpGXScfy6mmazVmsz2FNk9KWXppVNZqQMVaKINxmeH9K7LKZ+t+Sf8KxEKTgFa8NixyGkt7sU7SfqJa59dANeusanhV/rdhy8FkptE0EmBoKBae0vGIFOrH1HEpQ8qRXVr0Wy9te2MaGrTb/8WOK2NZQheEJgZ3eCV7QuN85HrB7+wSwdbpSEZYf0ExU1qx4d2BP2ajELvi6jlHcxJUD7EQt2DXdIlUbikbqbXhKa55GVHQ0LlCo=; 25:dwplxH9+uL1urmQGVmmOMHpDloI01ZQot9ICt00pk0GPlRDn3oeu3w7SQoAhkGHI4KVigTRBkGLtyzyW0hzHiWJ2JyMMoARqTX5Yq08lngIXuktCPuU0jUuROsYC2/s9Kw0TS7ZUej3l+xoATypmLHrxqv8k33UH36KnEV4JYAYJxZ39+N7HHe7kyDPx518ANZmD6GDBClH8rKoRV7BpDoL6+V7Qc5HkWgTRzm0eQz57jlmPhxjPeJW5mRsiq7m+upCCdnK9JKZrTnKA+/sS7DBS4vRdmsa7bBQo7y4dTTz5/clH3yEBpFmz/+CyIIKcZG7RPqy6EAdbHYw22oPAXw== X-MS-TrafficTypeDiagnostic: SN1PR02MB1342: X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1342; 31:c7c5sE2Q0Zzf59Wr9JTmP8dTYHH+6FzXvy5vOtgjVwKU1Cx4ZwZPHll0qezaCrigOv/k/AgtA3zWIyDlDeiSPf8Lpj6MxGJRX1iai44sLspQfjzChGwNiZvLYqcYaKCMWbojhFAmkVnqxBRv1TH/wzOOvhGah/ncGqeBisYi1VAYsjohFmeQ4hFTSEjsdTnS3KKYMKObAgY+5Ok3O44HQlGMJicUnaez7hjcTNQVJYc=; 20:qZoJXcn8U9sZFJeWDghC+0Iz1EhK3C+jRDj9oAhVvqExrE/KWduyuV1pqy16HLwNzB02qSkjyNO8yEyvFsUxrGBb+SzVwBwzakRNgx39Vs1VHOf6Gg667PHnHBXWUL50zFJOmcKZcIF21KcbSJXap0QO5g/El8+Ok+e0cJgRJAWoHl0FDYlmV6iTl4MO3FlWRgqUsnY13EFir55jOxj+xFvmD7LX098avJUh/EslkJ1RYT0VREL1YqV0LM6OeyywJvxD7/SNDMzgQl5gkPQR+BPqnW00hXfUQ3dhOyFdi4xboL1hRB7AuNVx+k6b2n4qUcO72Z2bVuUmNNPnv64yK+KxC4rMerw5jApFzsf/wHc5efqQ/UJfR0PIe5gZaPf7NmZKa9Ty23kRqKJRS1ThjRESXRsR4GESAaWcu4NATwDFBn+eWz3MilJfa/NWJdty0P6PCSp1Bf3dr14RhLACibKgyAf2SQkT7iqkPboL+wujBXMVsG2cRi30/BNgBYUB X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(192813158149592); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(3231101)(944501161)(93006095)(93004095)(10201501046)(6055026)(6041288)(20161123558120)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(6072148)(201708071742011); SRVR:SN1PR02MB1342; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1342; X-Microsoft-Exchange-Diagnostics: 1; SN1PR02MB1342; 4:9eSJLO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vZQIeU=; 5:mUXvxBIVWPx1dQZm9y5I+81IFZ1pJ/83URR2SaXgCClK+KAEq5BFiYgMWu6IKrRwPJW3KE5tQET+IMsz3lkg9l+ndqz8c2GRB9oVPc+WRgRDMjefzithpJagF5qUAM4v504BA1Ih5I2BIioYfFZ4hueewWUX2C1jxndxw3zlwsE=; 24:5Y2Kchu/gbkHo9MqmDL/8FiVbgEm2ZhisC8xmcHW92h0qRdnPfv/S/x2Y5aCk/DEYv+0adCLXgaPbVkKCOG/Zri55KE13rTd0iPASfVdvXA=; 7:ea0vZRv8Anu2peaiuhiEsqXFUU3SMaX9ybIgUSKRAg5IeX7y/UKCKCZyTcebDxjxKJYA1fiMyMMrWCKpbgliH92myIg5J7kR6cvxMKcZXVjDCmiEVqAl28p14Ze/qBs0OZpFvfygnXPEeJnQNm9DcyiyXCkKZWpQ2GDx8cenGwmjYunIMJDoYPJhaEv5eE9UtmAhAotxLDu499epBfafEMQi8BsCrSQFOrrtyBxzHqJedQv3EPcZ8WmcJ5K4uG1b SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Feb 2018 08:33:35.4036 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9348c0b4-fde3-45fc-97ee-08d5783ca225 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: SN1PR02MB1342 Sender: linux-fpga-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add reset bridge support. Once this bridge is enabled. The reset line(s) will be toggled. Generally it will be called after the bitstream load to reset the PL. Signed-off-by: Shubhrajyoti Datta --- .../devicetree/bindings/fpga/xlnx,rst-bridge.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/fpga/xlnx,rst-bridge.txt -- 2.1.1 This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately. -- To unsubscribe from this list: send the line "unsubscribe linux-fpga" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/fpga/xlnx,rst-bridge.txt b/Documentation/devicetree/bindings/fpga/xlnx,rst-bridge.txt new file mode 100644 index 0000000..6f1bfc2 --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/xlnx,rst-bridge.txt @@ -0,0 +1,22 @@ +Xilinx fpga reset bridge + +The Xilinx reset bridge toggles the reset line to the PL +in Zynqmp Ultrascale plus. + + +Required properties: +- compatible : Should contain "xlnx,rst-bridge" +- reset : reset phandles + +Optional properties: +- bridge-enable : 0 if driver should disable bridge at startup + 1 if driver should enable bridge at startup + Default is to leave bridge in current state. + +See Documentation/devicetree/bindings/fpga/fpga-region.txt for generic bindings. + +Example: +fpga_rst_bridge: fpga_rst_bridge { + compatible = "xlnx,rst-bridge"; + resets = <&rst 115>; +};