Received: by 10.213.65.68 with SMTP id h4csp2478918imn; Mon, 2 Apr 2018 08:16:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx48Y6dDEJRYqTtavwWZrPzkJND5RHGQv/YkgOs8Hc6TQ3e5j51snTgMvIEHNQNu1XnZwZzOq X-Received: by 10.98.31.86 with SMTP id f83mr7743291pff.196.1522682186879; Mon, 02 Apr 2018 08:16:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522682186; cv=none; d=google.com; s=arc-20160816; b=PDkEIoOTiVJJEv49TQMJk1JbCs2DHzEdMpemf9B2LlSDjNyvgCM8mFj8BMyFy24eqa V6isBFqoPoQ/ZSq7vhlqREBs9eHWg15cTlGMLimgh1MiZmR8G8lqH4KwCD3I6QBXcE34 v6uN9PJA22f6ITrU7KTCBgXYAwlHFAFEPrRKGdeYml8q/s06+JaLD/ATySGQix63+5tP PMkYR4WzP5vM7EMtzdVm9o5sWFJcvi4jd+Z1PcI+BFP62QWshiVacFsn67Pq7eUq5f0n OAcIdEfAHs+7KOcVc+zls4FKtNCTTbDMhfvBMCNfyQBcxPiuM4E/tmRoickxosXxqvzz g9uQ== 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=Gn9qKX9xESubuIYwPR2EuW0S9sYxMQmXjSSAQXhfc9bBPKOyXmyjEezKhhTYtaXoNs Wzdr/qxUX53PcF/gF35N22K0gn723ESKa2UhEh2UvqtM/6OzmpLcVcbx8J4BEJAo7N1x qM6uXqbwe1zETBi6peZhrgB3aJ/NaLLfB8EjNaLyO/UW96ME8fNm6kSUE2lvSkvWX+Qv Lt11V0XT/dfqm8t2okkW78SLjiCRwRucMhkQ1pnmNXFnud72Yhz0EY0XPjSDd59mXjyo 9uWEajuIKVMRMj7WynvsTva2E9R+wRz5yTzCn0MupCd99Hpq1n/yjTDpipjlKIdqDQqS WY7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rq5FQ/ZZ; 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 v72si298564pgb.333.2018.04.02.08.16.12; Mon, 02 Apr 2018 08:16:26 -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=rq5FQ/ZZ; 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 S1752663AbeDBPOV (ORCPT + 99 others); Mon, 2 Apr 2018 11:14:21 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:39702 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751990AbeDBPNu (ORCPT ); Mon, 2 Apr 2018 11:13:50 -0400 Received: by mail-wm0-f67.google.com with SMTP id f125so27790068wme.4; Mon, 02 Apr 2018 08:13:49 -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=rq5FQ/ZZFzBUUPGSrTNPuJkA5zXlcQkYzYBC6eK1S7yHjAKpaWwTlwziwvqpi3n80m MAwnNFCAX/YL7ZED4YU7uLVQBNa7c4Mt7xXFHAwyDo5sp9FsIFWquoKyuEplBra36IIf Joi8v9zGAK/zByIXy6t3H0TngcSIHrP6dvnuN+OxiCgdAMJjB7WiJXCzeBUmoWrk0Y5W TtNBchB32NASN5vzTiv7qYy6xikfnO6+UnWC/wnWlyoj/pEk3zoknw9LHIJJl1pleAnZ +Z2x1CODQuciSJtAHPoX9g3Ow+oIDDiLbAMj6CiAXEDZTVIs2T0bQE2Y+X31Y/Mb21j0 Y+Dg== 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=CN+VD3SuYNSHxk3ZjiVq2dMSNSGfPLfaBhZkxIe67CP3uro8ERtjuk+iuDs8u+W8Ng bxd0435kcMWg6JcxEZJWiG/w0YK1Qp54VcKb4Nmx0WT39lqIkV6EFOWJ5A0GLUiNB8uC 0CZtVomdl/6QBrCxBJKl/1KnljGuztA55OnzGV8o+nt9KG24UykwiCC1PuqoVl4WfjyS u5CthFDbnZEBHnBt9AtavzRBdAGa43FL1s4YE9U4lHPRzFzonH36xGlxLrODsqtAeH80 y6ubXmaDilcyR2whqZxAb91BxRcDEXfNWbURD8c13+wYX/pp5mPI5mYC7/L0bZFjv77X 2FXA== X-Gm-Message-State: AElRT7Hh8/yiWWqlJJ4/XuaycQZGkY9gr78FjRt/Adyj5xrERetqMBwj sN0qRhTWhZ5TqEP+VCEISSQ= X-Received: by 10.80.195.6 with SMTP id a6mr13223090edb.178.1522682028909; Mon, 02 Apr 2018 08:13:48 -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 j15sm447227edj.42.2018.04.02.08.13.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Apr 2018 08:13:48 -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 v9 1/2] dt: bindings: fpga: add lattice machxo2 slave spi binding description Date: Mon, 2 Apr 2018 17:13:45 +0200 Message-Id: <1522682026-11395-2-git-send-email-p.pisati@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522682026-11395-1-git-send-email-p.pisati@gmail.com> References: <1522682026-11395-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