Received: by 10.213.65.68 with SMTP id h4csp3868906imn; Tue, 3 Apr 2018 12:05:13 -0700 (PDT) X-Google-Smtp-Source: AIpwx49drys5naN+9/2+XHTQzr+187HMmRvY3bVbepgypH7XV/tvzjzQwCABPkANLYi1xNa8tpwT X-Received: by 10.98.133.212 with SMTP id m81mr11534053pfk.61.1522782313222; Tue, 03 Apr 2018 12:05:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522782313; cv=none; d=google.com; s=arc-20160816; b=PHSiq644jUmcevHBT9ZXNix8EcHIqA/gq5N7SSSEQ4K89uQPgWT5pK6lg+/wECfcFG 9Qfvnu1fHQMxxg+Ao+kVqDCSjZ2zxCD7xWWMsxbxRp7m06oawQdoUXoqoF9lsNl3M6qz ni2h3ZCw1jMEtGww2+Ls954RXsP5DF6LF8zRz1A9k+IULWmQjkuakgO1/cPKT6cYRe4Z ZAN+llYn0iK/c5yLkQorbg4USE5h4Z2SJgWdvE5QN+XHUDNjuWFIIMGimuw+GulipLfd Tq4EKiZ3Hb5Q/EUsgPJ7Cm5p7VtqFngnJ6wKZvDuaUvEShlUUC/aahdQIuzXZucZ8ped fZsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=1LYpVA7jH3NPpUUSpJMgD5WeYi0UIPXSeuaXuaHTDog=; b=DW2/M1CE1YCprJEnuSg73G+gJ4vRxz2zSl62pNEiklZ33aCNqqNSkfPq8ZD3Q7xiMP 1ekOJe6hqsL63HrTqymRTuCroKgFgaf9Z36VULQnAawaeIZpMkU+W2DiCoMuiC7xD8UP sYJHyZl7DLCkONnugmujGzg6/5/lASpIdSmFvcsDn4t7qg5lHdv3+hHZ1UO42vcO4xx3 RtxSxUUbBgkELXGu6zPL8QDafvkh4NrZWK5NiPhM0/7223sv5jht1LneZp6h2znBfzCk noZzu96SEafMSlmiXKr3uDvPDpkF6PpXkFxmLk1LmzqwbG0qUO2TMWFHSec/C1im3Zpf dvYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LenQdOre; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 14-v6si2127082ple.450.2018.04.03.12.04.58; Tue, 03 Apr 2018 12:05:13 -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=@gmail.com header.s=20161025 header.b=LenQdOre; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753371AbeDCTDG (ORCPT + 99 others); Tue, 3 Apr 2018 15:03:06 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:35250 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752832AbeDCTCg (ORCPT ); Tue, 3 Apr 2018 15:02:36 -0400 Received: by mail-wm0-f66.google.com with SMTP id r82so37510044wme.0; Tue, 03 Apr 2018 12:02:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1LYpVA7jH3NPpUUSpJMgD5WeYi0UIPXSeuaXuaHTDog=; b=LenQdOreGyxnvxHFymuCVhmrurDNA0bw/HZPyk8vTAz88+569xHEwRNqDd8ojPbjQB K11TGwm8ixlqEupFDf7N+4NHJ2YmbJH7WQUmXlJdItxk500MU9JFwob3z1NlylV566u3 OuIfGA/919P07XIYnfljxrqSRLqmSYCgJpPmAFPIKh8XEbFFDYB418plotRTIb9rqqUS Bbmiz/KoGoR6z0diZQ3ErekmB/2w+h8cLgXNbJJSLBrV2r3g+Z9oqPWgrF6whSFIR7bm kZFRmX+J6g5nB7pWxA6NLINL1HR+UVYGo22sELZ9YvHh+Y+cUs2DOVjH56aBdgUN1qfQ +IQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1LYpVA7jH3NPpUUSpJMgD5WeYi0UIPXSeuaXuaHTDog=; b=XN2ImwPDyAQh0BcZQdVy52SF7kVjRWr+w0iX8uUW1Plzo52jSlTtY4VZR2CujqE91g mRDS3RG04B0YQ2+GwGbdm/W9ugMd+O/zCpalZ5VZHGRfGY837We5C0/06/mp3DVmhXHt HMu+iL+HXpaN4ESH/8X9JavJLiehOM0Veo27pzaSR82WVGLRCkOy7RGKk7DcdcI9Y4yk 78gKKfILSFkV8Yo0K9Sis7IMlt5ku6XjD1K4Hc6Ja1urSb79mqj4rXMUuFpx98LScobo NP5k0hEYfcbOGf/mkAvX/U7+1wyYxWK4QU3rC1dwvDnNxjPOElvhQrP79f9HSF2cb3Kq +0Ug== X-Gm-Message-State: AElRT7FXnty/LGrgMcWee/5B2FGo9x/7S5taNSJns4Av8RvIREaZ1q3Y TAHmHpPo6tpSuKVJIorOjswwYCvUWV8= X-Received: by 10.80.152.227 with SMTP id j90mr17864623edb.89.1522782155052; Tue, 03 Apr 2018 12:02:35 -0700 (PDT) Received: from gmail.com (net-93-144-128-215.cust.vodafonedsl.it. [93.144.128.215]) by smtp.gmail.com with ESMTPSA id y6sm2091856edh.3.2018.04.03.12.02.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Apr 2018 12:02:34 -0700 (PDT) From: Paolo Pisati To: Alan Tull , Moritz Fischer , Rob Herring , Mark Rutland Cc: linux-fpga@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v10 1/2] dt: bindings: fpga: add lattice machxo2 slave spi binding description Date: Tue, 3 Apr 2018 21:02:31 +0200 Message-Id: <1522782152-27300-2-git-send-email-p.pisati@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522782152-27300-1-git-send-email-p.pisati@gmail.com> References: <1522782152-27300-1-git-send-email-p.pisati@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add dt binding documentation details for Lattice MachXO2 FPGA configuration over Slave SPI interface. Signed-off-by: Paolo Pisati Acked-by: Rob Herring Acked-by: Moritz Fischer Acked-by: Alan Tull --- .../bindings/fpga/lattice-machxo2-spi.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/fpga/lattice-machxo2-spi.txt diff --git a/Documentation/devicetree/bindings/fpga/lattice-machxo2-spi.txt b/Documentation/devicetree/bindings/fpga/lattice-machxo2-spi.txt new file mode 100644 index 0000000..a8c362e --- /dev/null +++ b/Documentation/devicetree/bindings/fpga/lattice-machxo2-spi.txt @@ -0,0 +1,29 @@ +Lattice MachXO2 Slave SPI FPGA Manager + +Lattice MachXO2 FPGAs support a method of loading the bitstream over +'slave SPI' interface. + +See 'MachXO2ProgrammingandConfigurationUsageGuide.pdf' on www.latticesemi.com + +Required properties: +- compatible: should contain "lattice,machxo2-slave-spi" +- reg: spi chip select of the FPGA + +Example for full FPGA configuration: + + fpga-region0 { + compatible = "fpga-region"; + fpga-mgr = <&fpga_mgr_spi>; + #address-cells = <0x1>; + #size-cells = <0x1>; + }; + + spi1: spi@2000 { + ... + + fpga_mgr_spi: fpga-mgr@0 { + compatible = "lattice,machxo2-slave-spi"; + spi-max-frequency = <8000000>; + reg = <0>; + }; + }; -- 2.7.4