From patchwork Thu Oct 6 20:34:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Clayton X-Patchwork-Id: 9365279 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 EB3266077E for ; Thu, 6 Oct 2016 20:36:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DAE1329237 for ; Thu, 6 Oct 2016 20:36:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CBD9129233; Thu, 6 Oct 2016 20:36:38 +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 523CB29233 for ; Thu, 6 Oct 2016 20:36:38 +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 1bsFNh-0000CY-4A; Thu, 06 Oct 2016 20:35:05 +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 1bsFNR-00005h-2B for linux-arm-kernel@lists.infradead.org; Thu, 06 Oct 2016 20:34:50 +0000 Received: by mail-pf0-x242.google.com with SMTP id t25so1627809pfg.2 for ; Thu, 06 Oct 2016 13:34:28 -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=t/wBWI7q581O1c4USR5oQREVbumwbk9tKbKyHcsrQLM=; b=FvuGWnrI/5xHqODFwv+NosJn1HpJszNQN2zfyJs9Qgl7RFD53QmdloQmzhVY5D5Eb1 kStfJefY7bSZA3P0QZFp1a9Ik8KUuQIW+cKxcQyVooiwcaffFYXJQllbRXoPH4M5m3ng AJmz3kYqJkDsFAuVJslXggy2tl1rma9Yhy2GruIgQXGODLtDFe61XuxIPNlG0C3ToEnD boX3h3oMN97TXZU84L8+jw82Yv15xcAcCgsIDrXyBwQINQdTzpZ30tKY4dm9YMwExa0D 7d+CNpSwaJzYl/xv8DEdGE0490cNZsm3YWGsefH1hXAIQONq2L18NHzldB1QuI+jr+9z C7xQ== 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=t/wBWI7q581O1c4USR5oQREVbumwbk9tKbKyHcsrQLM=; b=JOrmJGy9WV3ovlLRbGfguXCi1f3NM4fi+CXjcT7PW1GZflcotsmsd68WEWgTUvFdJl WdaLCUL1pFwlyvnOc9VtbdJWMxDz9/2Cy27ZTLmZoAFMSm1JGS2pZeMISRmiifHWs6cL 0U0r+c3ObhNcfev9VD/mrQxvcmJX1R2QIYFYW76FuqhfEQCU0ru49NsFrUL4Nsx4SUUX UyaL06V67GSxK3JyG3fegYD3PzoYzDIvL7AsH/5mniVETiimACSNBxbQ226uN5mikZbs XwMqEBXK+OcH5qXb+fumZEPH4g7JsOgRkrvsYYIlPHtr3kLDd6J6kVMd9pH5HlvOU1UO fmsw== X-Gm-Message-State: AA6/9Rn9FAAnn6lVxLsmvfE86aAgy94OZVyWxaV6mK30sGvtbY2ulw+6NvBV9/wZvDtA3w== X-Received: by 10.98.59.211 with SMTP id w80mr22357027pfj.65.1475786068184; Thu, 06 Oct 2016 13:34:28 -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 c9sm3095446pfc.79.2016.10.06.13.34.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Oct 2016 13:34:27 -0700 (PDT) From: Joshua Clayton To: Alan Tull , Moritz Fischer Subject: [PATCH 2/3] doc: dt: add cyclone-spi binding document Date: Thu, 6 Oct 2016 13:34:18 -0700 Message-Id: <8d89e70475e8e1c3ce5117a0367c8444c11c61e3.1475783742.git.stillcompiling@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <4b4432c04b4ea92a2af814e3d7866c33f2eb12ea.1475783742.git.stillcompiling@gmail.com> References: <4b4432c04b4ea92a2af814e3d7866c33f2eb12ea.1475783742.git.stillcompiling@gmail.com> In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161006_133449_187559_56F69D5A X-CRM114-Status: GOOD ( 13.54 ) 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 cyclonespi devicetree entry, required features Signed-off-by: Joshua Clayton --- .../bindings/fpga/cyclone-spi-fpga-mgr.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/fpga/cyclone-spi-fpga-mgr.txt diff --git a/Documentation/devicetree/bindings/fpga/cyclone-spi-fpga-mgr.txt b/Documentation/devicetree/bindings/fpga/cyclone-spi-fpga-mgr.txt new file mode 100644 index 0000000..8de34db --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/cyclone-spi-fpga-mgr.txt @@ -0,0 +1,23 @@ +Altera SOCFPGA 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,cyclonespi-fpga-mgr" +- reg : spi slave id of the fpga +- reset-gpio : reset 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,cyclonespi-fpga-mgr"; + spi-max-frequency = <20000000>; + reg = <0>; + reset-gpio = <&gpio4 9 GPIO_ACTIVE_HIGH>; + status-gpio = <&gpio4 11 GPIO_ACTIVE_HIGH>; + };