Received: by 10.213.65.68 with SMTP id h4csp319821imn; Fri, 23 Mar 2018 05:29:08 -0700 (PDT) X-Google-Smtp-Source: AG47ELu/gW+7bug/3Hj+qP4ARUHCPcTsR68s/VdXnscVKIfEoEl6WM9XbRVU0PngVVZSNMSvmlEj X-Received: by 2002:a17:902:6b89:: with SMTP id p9-v6mr4397637plk.265.1521808147962; Fri, 23 Mar 2018 05:29:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521808147; cv=none; d=google.com; s=arc-20160816; b=B7iV4W/0DhAgAQSqJnpuYYk7+xcSJDkYAl/i4OsEoEi/UgOAcvso6SccXrJ2wY0Eii bHHkU0BEPfQsmifyEQBTNqpYCqFDzU6S2y2BkvFV7T6rGNO/wcG/R4pln6Ur001rxkSz nKoJ86EpwN2LpqiNtDMgXowtC6sJ7anYhxf54FYC+2Bicd3x64fDNMXUi4zVcVjGJUC5 ZGePXsyC580Fi3F8PdE+iogYh0j8ZRmNlpvfj2j27f6LHE+AzXGnSuoLNzMVLYquwH0O lsLmzLJNDyBk7dRX60ks1aSBOqsH5dVPaYBB7d2u66P+g5R2rxsVkIHkNpSpw32Jn3VX Eygg== 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=J52iOIHdUnjGTuPM/dUN38r2Jq7Yw0D7q2l9LiBp5I6NVRi5INtojDHb2+z8fKHW+u 6buN5LJnC2M17z4PTNTJZYoU4282cDWH79bj1qN1VTUojrVfKru/KBaP4cj405KrR8Pe cqgVkpa+lFidxEHSrZOtX7xvQmzcWRWg5OeZWDGWbD5M2SBJ8+mGI6EBNTU1eI+E7/WP CIoEtxj3iQWFkUfNGw+gvTuQgc28cOWwtSuxFpVWbFjrC8QRN1aaP6gpwUeA7dtYQpjN 0V5arYbstXIdqpYjQUnOS4damtsRfCKWyM5xYxmohwdLAxTcFiobN/doDmHD/jhcbK9u 1Acg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QW5AESnO; 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 3-v6si8663012plv.323.2018.03.23.05.28.53; Fri, 23 Mar 2018 05:29:07 -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=QW5AESnO; 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 S1752458AbeCWM1q (ORCPT + 99 others); Fri, 23 Mar 2018 08:27:46 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:40744 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752139AbeCWM1Q (ORCPT ); Fri, 23 Mar 2018 08:27:16 -0400 Received: by mail-wm0-f66.google.com with SMTP id t6so3201135wmt.5; Fri, 23 Mar 2018 05:27:15 -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=QW5AESnOs9nxew+qYUMCfsEwaN9E0e/6f7K4ZSZ7quINQf/5sgfvMrqPDMz6ukm7zC EPtyaY/rZ1OEcFnTMFtIeXWhwnV1RYh5x5xrkrx/OjYLuVP11iXx6yCtbJ5R+XgFsMe/ /sOnX4ymnSTUnkaD4j1wWfUZEKVdM7qoc4Ki88GsxJJP9zt7bwHgzKO/024gzJpUbf4n 6NXLUQx0VcS0rfZnYLKFuaGMVotVXe6gK0J7elvFJmi7prujRroW4oPhlH4hMfhteuGQ sfpalA9xFuEbGWiw+NqRTQqaO3Fr7tMgUN6cUKUwXB22R/rel6TWBVdnrS8m+r5wF745 hwsw== 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=dk99/TVapU9VLakDXlE9MmD0sInW9dY+qIIENotCo3gqNjORwtWJZjWTDyzfwFe/gy zV7hM8FcaP+lfptgyKozLjoY2N5KlorG21XGSKi/vIR/vLfHvooH6jBumWfRnWYf1/JV r5pW6SH2UPZe1ikyBeid5bhnrXnXA+JMad4FfD3QIgw7h8+/t2513jtxAx17YxF+emQ0 eQApzrjwsqOiYHZS9i10eZr3UU9Oq/WvKzkLTF6TgnA2kjhi1QpoGtyroBE9R/kCxfud 8nF9BFD+KvkMjfxMrQ+2hiqBVk+27IU1IpdYihYfxHx7e5OrHIGJrqg14yMCPKJLUOlb e2Vw== X-Gm-Message-State: AElRT7Ftg/jKodj4yaLN6wr5PV/oRJ+w1t3QZ+5XjUKnr/+CyJKtBVXJ N2YxIIxL9/tdVxgN40oYCCc= X-Received: by 10.80.174.142 with SMTP id e14mr18396449edd.201.1521808035279; Fri, 23 Mar 2018 05:27:15 -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 a7sm6097817edl.11.2018.03.23.05.27.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Mar 2018 05:27:14 -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, 23 Mar 2018 13:27:11 +0100 Message-Id: <1521808032-29645-2-git-send-email-p.pisati@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1521808032-29645-1-git-send-email-p.pisati@gmail.com> References: <1521808032-29645-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