From patchwork Wed Nov 30 01:11:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Clayton X-Patchwork-Id: 9453365 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 E23A86071E for ; Wed, 30 Nov 2016 01:14:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5EEB1FF1D for ; Wed, 30 Nov 2016 01:14:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CAB5528391; Wed, 30 Nov 2016 01:14:37 +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=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5DEF41FF1D for ; Wed, 30 Nov 2016 01:14:37 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBtSF-0002Z1-6f; Wed, 30 Nov 2016 01:12:59 +0000 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cBtQy-0001D9-NP for linux-arm-kernel@lists.infradead.org; Wed, 30 Nov 2016 01:11:47 +0000 Received: by mail-pf0-x242.google.com with SMTP id y68so9113416pfb.1 for ; Tue, 29 Nov 2016 17:11:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=78J3A4jelMtS6oA8Xd5lb1QNBgDuInHkAYlYXkNPKIo=; b=iIyqZIxMoVNQ4Wd6lcq/hvPl+vO68/noKmLs8WpI0LpoMUPIAjgtTvJjO7aUhaTHOx Zhj9/kLy88DOk5dpofMaMmCwm/+nJnMKgivBun1k4uRHKYWeRe6Q70CueF/BIWTD3u+R UKdw1T03RkdcNuUbJE3Ws+HI+7mlYfSfpdVTOmOT4zJt6bdnv4YtnYKyFNxD8FLiUKPL WMXTqZk6VWW8mJPHf5/gsxM/BqAuIBBRS003EjzEdliN8dHZb/a9GA9LU+CfidAhhANj iqIGGifSpeWR9tb5NZOZgP1gUem64w/+rK0qt3U9PM6DLXYLGIuQvqXjj8xlL3v0wnRx 315Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=78J3A4jelMtS6oA8Xd5lb1QNBgDuInHkAYlYXkNPKIo=; b=P1j6xqrUiDgiGWAjNRdeFgU3mtvv1w6j7eruvmcamcd3zARh23TZuaR9mG0o00dYI0 /YTKsN3x/+jlS/iBQqGmRkpnS28kqVyJenG3OQY4dHDtOWuGZ4u61bw8i/2VPvaULmP2 e8eaXPvA0ejGiMKbrFpR8zg3KgRCjQzbYYAl6n9iR79qRP8ZL7+DbXKXObwZFSIXxxCa f31qoi2SMMCJn373AFpnxXlhnGqCgwdHUsyCuFcdRWDa0V9lB7lYeBVZu3Aq5zXiNz6+ vziaMPya5wpfgTPEggB5EDYBSlfmdWJ9/4SM5nJ6c8GzHHWXQUlHqv2pmg6D2Mfj/oP3 j8WA== X-Gm-Message-State: AKaTC00ntNM3Hf0jf7O+sIN6SIrF10y6oxFmTQ08NdfKplP6ellFg2xZg1ozk7Xi6AMKeg== X-Received: by 10.84.178.195 with SMTP id z61mr68828808plb.176.1480468279936; Tue, 29 Nov 2016 17:11:19 -0800 (PST) Received: from jclayton-pc.columbia.uniwest.com (68-185-59-186.static.knwc.wa.charter.com. [68.185.59.186]) by smtp.gmail.com with ESMTPSA id 4sm79910873pgd.32.2016.11.29.17.11.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Nov 2016 17:11:18 -0800 (PST) From: Joshua Clayton To: Alan Tull , Moritz Fischer Subject: [PATCH v3 2/3] doc: dt: add cyclone-spi binding document Date: Tue, 29 Nov 2016 17:11:04 -0800 Message-Id: <2de74f6d2f2689b8ef090a9017db2ffb3bd319cb.1480467185.git.stillcompiling@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161129_171141_375598_DED4489C X-CRM114-Status: GOOD ( 12.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Joshua Clayton , Russell King , linux-kernel@vger.kernel.org, Rob Herring , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Describe a cyclonei-ps-spi devicetree entry, required features Signed-off-by: Joshua Clayton --- .../bindings/fpga/cyclone-ps-spi-fpga-mgr.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/fpga/cyclone-ps-spi-fpga-mgr.txt diff --git a/Documentation/devicetree/bindings/fpga/cyclone-ps-spi-fpga-mgr.txt b/Documentation/devicetree/bindings/fpga/cyclone-ps-spi-fpga-mgr.txt new file mode 100644 index 0000000..c942281 --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/cyclone-ps-spi-fpga-mgr.txt @@ -0,0 +1,23 @@ +Altera Cyclone Passive Serial SPI FPGA Manager + +Altera Cyclone FPGAs support a method of loading the bitstream over what is +referred to as "passive serial". +The passive serial link is not technically spi, and might require extra +circuits in order to play nicely with other spi slaves on the same bus. + +See https://www.altera.com/literature/hb/cyc/cyc_c51013.pdf + +Required properties: +- compatible : should contain "altr,cyclone-ps-spi-fpga-mgr" +- reg : spi slave id of the fpga +- config-gpio : config pin (referred to as nCONFIG in the cyclone manual) +- status-gpio : status pin (referred to as nSTATUS in the cyclone manual) + +Example: + fpga_spi: evi-fpga-spi@0 { + compatible = "altr,cyclone-ps-spi-fpga-mgr"; + spi-max-frequency = <20000000>; + reg = <0>; + config-gpio = <&gpio4 9 GPIO_ACTIVE_HIGH>; + status-gpio = <&gpio4 11 GPIO_ACTIVE_HIGH>; + };