Received: by 10.213.65.68 with SMTP id h4csp476499imn; Fri, 16 Mar 2018 08:56:22 -0700 (PDT) X-Google-Smtp-Source: AG47ELuZ/4osjY1fqCaugoSHc0AkgooUvpRyw8EGXcHXpEJmxNasDqAlpVg0gtxYUvfttXRP+RTa X-Received: by 2002:a17:902:5609:: with SMTP id h9-v6mr2651479pli.121.1521215782121; Fri, 16 Mar 2018 08:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521215782; cv=none; d=google.com; s=arc-20160816; b=LpV7j2jsGxg7lySqTYvBIOxg1kQ8P4EnIBpNlnBO34lX/l+U3zmESETKlaiYkvxjU9 iTK3MScbVmNIWdgVGMxPki7GMW5eCtl+1G0kqVGrpiz3Sd9O8kUoi4LqcVJm/Sihiqq5 NZ7fkgS1dczmONTTfZE7UpEP8Tf3jLjSZHjLMFNfO73ibH27PKa1hOopl040qvDrsKtz kVqKtDLNJa4h513O/kCwCTJrUUUyMjrsAMweJyldw4wWAB0FBzQwvDj/7WE/4ByHdmIz vvWebN1/xw58REpRh0CDlGGIFSyXGjmhAXeqE89onfHKJx9bc7Z3LcOYXwYw0wDk54sp KcTQ== 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=w/Q/mu2NjL66PGn/ndKJi3g43FZ5J3e5XKRzsZ/n6uQ=; b=B7xpYQnqYgyTkiKMGIOnwwc3XQ7pUtdYE2N67flXF5rgZghpwnG6XR20rGKRZqAtAv Pgatq8QKh3oSqwbDLC2VhsGI1yDc7fGRzS9bhjX+Xfjq/unuFbZyAC8RrY955uip51kx naceRn7x1/KC30t11GVZsRJGFv9Eq+nSutKpumv1TRouJyfHr9jbf1U6G21MHwE0GXXQ uQN68irXhhqNRf2vTZ9u1R82OshMaj8xOqIjgV/hG7mXiHEH5cYkbYgZD3Ab3dIE3P8B FbGVqwsZlKyg4VkEgTtS5EUJ1kCeXzhV3mPBsYIb+yWMncpHutiK/cU3Jq5wI9GocGja 8PFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aasgCQEx; 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 bb12-v6si6225669plb.164.2018.03.16.08.56.07; Fri, 16 Mar 2018 08:56:22 -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=aasgCQEx; 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 S965427AbeCPPyi (ORCPT + 99 others); Fri, 16 Mar 2018 11:54:38 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35770 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754224AbeCPPyd (ORCPT ); Fri, 16 Mar 2018 11:54:33 -0400 Received: by mail-wm0-f68.google.com with SMTP id 5so3943148wmh.0; Fri, 16 Mar 2018 08:54:32 -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=w/Q/mu2NjL66PGn/ndKJi3g43FZ5J3e5XKRzsZ/n6uQ=; b=aasgCQExYjqd3lP0hSRIjcaKZscGlEHJuurYWJ79OrAqDW5ZqAlyj15KZOdvmkAAO/ Flm2TnXmtnSSSULn/KZBP8lPR8hMK61ssYb3rpNkQo+GtqFoOCl2BjCNNN5t4sVFE4zR 74jmp8DycAAUqIJoj2wK4pif3AplhWKppWzrmAD6ewpBdcudahi9yAI0vLYFBVmosCyw ks7oWDqRfQ3jU4LQglflcvm8nVLeQC5OMaevq2z9avPixw8BAk6OILLhRBWOJpkVNGUw a3iloI2Kg3EnxtwEEvcMH/JpSTyf478FZdb3KwfHAT51mcQ0KjoRdIyJyk4GPVqVVwgT JOBg== 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=w/Q/mu2NjL66PGn/ndKJi3g43FZ5J3e5XKRzsZ/n6uQ=; b=hqXeSe786YlTTeUenLrEgUM8u081aTLD5nKgrUghRFpJsYdvKuwYIYI8dysWmEe+rz qylFOXilWt7q0qMQ3vc0HBPztQTj300MVeQvhJFoyT/ql3jIQjQ/HZUWBqtmtpc+WA+I kBOAyfk+YcdluESkoX3Wh6Ju5nZuRGCPQkNjmzCPgC6heAbdnxEUvrdBEZesDLkWe9+w F3zWPmY8/ewgfjA92uj41pFAIs26cTBja8k4WYC4D37P517dN7tkHOQPhHIlbVaAnNsK 4An3n6cKU5XOSLjWGzvtBLla+i2FF00Qhi/Vc8MCbYecF4T+9rqw8mjZdLk2YT/YOjFH al0w== X-Gm-Message-State: AElRT7HXUb5D6XSUHbBBc408TnwOGeKleM0wYP1J57nay0N7nuX0F/f9 qpqr5soNnAy8ZCBlWP98x2NIyILV60E= X-Received: by 10.80.213.70 with SMTP id f6mr3119659edj.38.1521215671661; Fri, 16 Mar 2018 08:54:31 -0700 (PDT) Received: from gmail.com (net-93-144-128-215.cust.dsl.teletu.it. [93.144.128.215]) by smtp.gmail.com with ESMTPSA id t34sm897515edd.85.2018.03.16.08.54.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Mar 2018 08:54:30 -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 1/2] dt: bindings: fpga: add lattice machxo2 slave spi binding description Date: Fri, 16 Mar 2018 16:54:28 +0100 Message-Id: <1521215669-23874-2-git-send-email-p.pisati@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521215669-23874-1-git-send-email-p.pisati@gmail.com> References: <1521215669-23874-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 --- .../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