Received: by 10.213.65.68 with SMTP id h4csp1613346imn; Mon, 19 Mar 2018 08:45:46 -0700 (PDT) X-Google-Smtp-Source: AG47ELuzzeasuO8VlKBTLpZtHAgEgDi5qm2di7Fl0O4Y/6/tBDAthf+ipIpF17OiUULBhTa5EORq X-Received: by 2002:a17:902:aa83:: with SMTP id d3-v6mr12778495plr.36.1521474346844; Mon, 19 Mar 2018 08:45:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521474346; cv=none; d=google.com; s=arc-20160816; b=I5azjAIN6GmL12NuubnjTeN1a9MG08TvVe+05P8HSZ/3iCCm1AkizrBy68yV06XLxt xwZwaNGoNIrulzHz5j4z+2j4LdHkNWuuuJQlRLAY+Fb4gDPQWxsvBJUwG2SQceb+eLgS W6QfYR95szR3dq6TwRkjHGkvJu4PctfGyKcFpvXk4EZwqRvoNNAV72zKIB5kwUooIlPT ZHX/kP0SF3hPKeoZtWrHOIYberF2FVNCQPXhm4iEsLFP69QdhTWk1i3rwp7JIzpRl/0R H7pYpDNInVCtQxDI5dH4cvrpeDmBONanJOMGXRKtZ/q9JHcQc03DltLOi15G+dtUBCv0 +55A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=RI75049LHNYgPDMM3Wg0JIbz7812KqEwWovNg6DP0ww=; b=T4d7//F6Zea2Xm+6R1r2XiawFLdWRqTFkise4xgSQT9j3zpM7u9kl8bGgATrlxRjxG 2RSDnYa8FujotF8WDJEprOq/74wRpPm6/FqcAcZWs+BMVf9LvjlQpA3mS9aUFgcgEMJZ ZtpGKhmjuJzeoe4l9GYJ5RXfB3Yi7QbKEy1EvYG9jTFrp3MYBmujA4U/EAhGEOkBFmQ1 ngktg9sZTFn5jvLsuRkGU2MR0x5MbZfxdFZD4k0t3PoEzetN7iY84NdyW6QLoqJN5yX6 tLBN8fwD5U8CX7vVgxLLoJJ+UbAeHZi2ZNbdSRjRbsMxMFs7px7rBO8Ej+Fkgreu78eg w11g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h1si141167pfn.266.2018.03.19.08.45.31; Mon, 19 Mar 2018 08:45:46 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755553AbeCSPnO (ORCPT + 99 others); Mon, 19 Mar 2018 11:43:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:42558 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751402AbeCSPnM (ORCPT ); Mon, 19 Mar 2018 11:43:12 -0400 Received: from mail-qt0-f178.google.com (mail-qt0-f178.google.com [209.85.216.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B0973217D6; Mon, 19 Mar 2018 15:43:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B0973217D6 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=atull@kernel.org Received: by mail-qt0-f178.google.com with SMTP id s48so18404811qtb.10; Mon, 19 Mar 2018 08:43:11 -0700 (PDT) X-Gm-Message-State: AElRT7GtzApkmLPT6RWox2mEa+N4RrhBE5wMn0BneyZkM6UQmvX5ONBk FNzSuLTq+s13vKW1mgvhb4mX/TORWCEUoLtJjIg= X-Received: by 10.200.38.217 with SMTP id 25mr18211226qtp.163.1521474190879; Mon, 19 Mar 2018 08:43:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.27.18 with HTTP; Mon, 19 Mar 2018 08:42:30 -0700 (PDT) In-Reply-To: <20180316163107.67gaxcjksn76ztmn@us-sjc-wireless-10-16-34-48.amer.corp.natinst.com> References: <1521215669-23874-1-git-send-email-p.pisati@gmail.com> <1521215669-23874-2-git-send-email-p.pisati@gmail.com> <20180316163107.67gaxcjksn76ztmn@us-sjc-wireless-10-16-34-48.amer.corp.natinst.com> From: Alan Tull Date: Mon, 19 Mar 2018 10:42:30 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] dt: bindings: fpga: add lattice machxo2 slave spi binding description To: Moritz Fischer Cc: Paolo Pisati , Rob Herring , Mark Rutland , linux-fpga@vger.kernel.org, "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 16, 2018 at 11:31 AM, Moritz Fischer wrote: > On Fri, Mar 16, 2018 at 04:54:28PM +0100, Paolo Pisati wrote: >> 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 Thanks, Alan >> --- >> .../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. > Nit: a 'slave SPI' >> + >> +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 >> > > Thanks, > > Moritz