Received: by 10.213.65.68 with SMTP id h4csp1438419imn; Wed, 21 Mar 2018 10:37:18 -0700 (PDT) X-Google-Smtp-Source: AG47ELtDSGW7B8cEtwRsd36n1RYeRm38FBGZ6jzM7jEhy8jL2maUdWupMvTRE3D7OiirNwtV2BZG X-Received: by 2002:a17:902:68c2:: with SMTP id x2-v6mr12491180plm.129.1521653838440; Wed, 21 Mar 2018 10:37:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521653838; cv=none; d=google.com; s=arc-20160816; b=sMFo5v86ZZ7hiIswbYfXI+d3uGW0snwVL6uVwXCE1wFtSaiNYDpsp/mXPXSnvqvcpn hS4TUM66Ap+oQagtekvTYa0jdjANQJXBCQacS9gHDiqZxFygAot6mYON5EXpCK24c3hn FrBapzqPSe56jG9s+Rl7w/w/mi36SEd8eSvoY3ClLhEW4/aeImQmglmIMMIZNWUC4a9v QR8+JObyJNegdzAV/0oRWs5AdqhXZq4FsehtjJNkZglAPsy19pFf6dQcGaZ0O2/kSUBm TDKYeV8vppwd6Hq3nuus0YxWVpuZ0KDwcPFcg3MdDcS+A0gZDYdkLF7ow0gFrDYf5RH9 teIg== 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=RsYYze/6oS8AgvcgFWJ3eu7Sp6DK/BnetW6OU2s9+e0=; b=EkGDqe7dS9OQliwLCiPEwJGrIO978nB9R48Pp7tIt+Jl5pBn/S9Jv4YGr5sKqvY9OM LAinx/siIsifbUNUTdHYJBgtEC53n1LiyU/jIAeNND/ccW0Gpktnimq+lclcDoGcwYZz fOnN7eAK+AT+wglGZSm/SzadSQ0oE0QPkic7+eYkrD1L5gStV9/ervvF1F4uTxGTh7U/ ctpbUTa0wQx4HANbsm/1BI1PE5/o68rGg47gHgO2ScOy+VisK0cs7Ij98Eqrmj3BpRCz osBiAlTTIOZSVy00MmOcT6r7f6cOEfweV4t6aL114xd3LK9H8UUftnH2thVZaX4CUmUY o3Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WOTz/agn; 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 v34-v6si4086728plg.402.2018.03.21.10.37.02; Wed, 21 Mar 2018 10:37:18 -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=WOTz/agn; 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 S1752478AbeCURfv (ORCPT + 99 others); Wed, 21 Mar 2018 13:35:51 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:33188 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751713AbeCURfa (ORCPT ); Wed, 21 Mar 2018 13:35:30 -0400 Received: by mail-wm0-f67.google.com with SMTP id i189so7396716wmf.0; Wed, 21 Mar 2018 10:35:29 -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=RsYYze/6oS8AgvcgFWJ3eu7Sp6DK/BnetW6OU2s9+e0=; b=WOTz/agnTLP5dH6+rYhGro70QuwyGSZ4y8xiRJGhcg0onGBEdKOeCsGeCtlkDZge91 /RPwmzVMkapLA3XNdVTDboJkYWc5C//oZmkCCTu1GJ6Uuis05AaTQUnzFP78IF4AR/y2 0cI3kly1HXJofLWi55h9+QuV25blAggirEMns6k1fyfeZSgVxDb6LuM3LSgaBMaQYUIb fb2VDVYo5kn6GqTqOYqKJDfL37F5KtA6HxYZvzFQgyqdxWTK53zwZ1lJ1k8tpVuVDF83 8vsGWqZxV7FupeatkPcOImOmvZG1s8XzRZa+zHvpVjgT/fOrSlPtqc9TVU+qqUws4FFm Rs5g== 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=RsYYze/6oS8AgvcgFWJ3eu7Sp6DK/BnetW6OU2s9+e0=; b=uFBkEv2CtqS/t9ta60If0nmmWomiWY+jB/iVp3d5C/RzcVsEx4gYXGVpnkqqVsRt5H 4AO/5Qh83wjMeGhDXrLXINp/8+MkhLwrKza5p4ii8x17lpHLY6MeZHWI+R2Cag0Uavzh Md316P29zno7/C5DfMNEgzEZni2tBjakDp2lnD0fSBpP8/0bh/BfRbVwX5OWvu4HRs79 ZAzlPlTgiSie0HSLVw0V/ZUzBKUuQAh4P1AUn0EyYE/rJwHu44Ks+FfNAST4gEDncmaU 9tnPfgWMvv0HbeF6wRi44GPa+A6gwa+Q8UfC1YORATtd5QkC0nOdzGRd1iE0OztiBF0i I6Fg== X-Gm-Message-State: AElRT7GNMniyVTlEv11i04qqN8BEdh2eSGgGaohvmTrP0IJmKidYUCGF 1awU5xjhydFZf48M765pNFE= X-Received: by 10.80.213.203 with SMTP id g11mr11964517edj.101.1521653728944; Wed, 21 Mar 2018 10:35:28 -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 y46sm1584313edd.77.2018.03.21.10.35.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Mar 2018 10:35:28 -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: Wed, 21 Mar 2018 18:35:25 +0100 Message-Id: <1521653726-24625-2-git-send-email-p.pisati@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521653726-24625-1-git-send-email-p.pisati@gmail.com> References: <1521653726-24625-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 +a '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