From patchwork Fri Oct 28 16:56:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Clayton X-Patchwork-Id: 9402379 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 09F7260588 for ; Fri, 28 Oct 2016 16:59:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F23632A77E for ; Fri, 28 Oct 2016 16:59:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E70852A8AF; Fri, 28 Oct 2016 16:59:16 +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 A01C82A77E for ; Fri, 28 Oct 2016 16:59:16 +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 1c0ATY-0002p5-LP; Fri, 28 Oct 2016 16:57:52 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c0ASu-0002Yh-MO for linux-arm-kernel@lists.infradead.org; Fri, 28 Oct 2016 16:57:14 +0000 Received: by mail-pf0-x241.google.com with SMTP id u84so1723844pfj.1 for ; Fri, 28 Oct 2016 09:56:52 -0700 (PDT) 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=m5MNBkJl2hU7aLaOstspBmgQTyqoZ07fBlWKKk5JiHk=; b=mbHj7gYGYkPZKDfyQc8XNU/cKex5b1zfGA9dXLAafswZb+GuGdiHfmf+kBZLdZ1FUp Pc8MyV9FZT846z3QPZU5guAMzhXe0ff1AjWElldIs/oTzf+lXCBAu8B47KeJudC2QJSi aLiRKIcJAG+Ne7yJzWPJJl8wgfwE73LG5R112gweX07xqhQDmqWo2d6ckkVCuUdAnTKG GkXPkeHPVhQN3UdamsEYY/UhvNYcGuJkZfMDDfqaGU3oU5kNFbWcnleTzM1BQyFAo40p XqU2tfSGCMyzblDjCDN9c/HfyRJRKbQiv6qD+2cI6av45hKKkfvHKQ3Tj+G+3Vlv0MUA ucwA== 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=m5MNBkJl2hU7aLaOstspBmgQTyqoZ07fBlWKKk5JiHk=; b=KUip5LOyYVnQaca8NS8NCYk3MvX86Wj/0tg5hKVpLRzfhsk4N6rUDjR6ZjWr3ucMST qXo22ZGeMIUY7aGEnW7Jn7OXJimERmJajcJo78KIuqm4TXn+UYlnLsBls5WjtOXOwu1N hXOF5HsFH3jmwPyPIpQoxVgGGl08A55sr3Nk7ROSDvxOP1HDC3TQ0EeuGDpXVSaWYTC2 m0oPTp/48MCKtaUtH9rNp/94ldlSiae1VTxKG6Hzacob5hovShw7WmKzwJnBao8z+DJV bE84P6xfcszDlrbeOQxg4LarsLu8jG7IO/w6S1j/8JQsRliCFXKswfcR9+hM2T8EO+NX UIWA== X-Gm-Message-State: ABUngvdSqGRcBK1gIkLqasgXKVSGTB3I5TuD6I0CyLNMemNNPe1lqbTv2MoMXplw+S4cAA== X-Received: by 10.99.149.6 with SMTP id p6mr22087582pgd.21.1477673811748; Fri, 28 Oct 2016 09:56:51 -0700 (PDT) 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 h85sm20106124pfj.89.2016.10.28.09.56.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 28 Oct 2016 09:56:50 -0700 (PDT) From: Joshua Clayton To: Alan Tull , Moritz Fischer Subject: [PATCH v2 2/5] doc: dt: add cyclone-spi binding document Date: Fri, 28 Oct 2016 09:56:39 -0700 Message-Id: <2de74f6d2f2689b8ef090a9017db2ffb3bd319cb.1477669745.git.stillcompiling@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161028_095712_860894_35A33556 X-CRM114-Status: GOOD ( 13.77 ) 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 , Sascha Hauer , Fabio Estevam , Shawn Guo , 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>; + };