Received: by 10.213.65.68 with SMTP id h4csp498510imn; Fri, 16 Mar 2018 09:34:16 -0700 (PDT) X-Google-Smtp-Source: AG47ELvZwQuXirPXZg9f/1BbmY+TkGlDdJf4K4xKJr8wj4sY1fTBk0b/pJ432+Te1IUewEccNm24 X-Received: by 10.99.44.22 with SMTP id s22mr1941884pgs.111.1521218056641; Fri, 16 Mar 2018 09:34:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521218056; cv=none; d=google.com; s=arc-20160816; b=Oh/QdFHqEWJYgnw+4x1ZgDC6VwLy7Knz1f0DRbvRtmJwAxHNG2YRtrWmyxu9GqHkp1 EIErstw1OwRyXy2CfSHJV/Th5a61HwpphFzscmZWphqujw+PVVnq8NsnnLRqOj2/FAr3 f/Sdw8ezp6ZtXNo5CmYLT17u+upH3SFJTZwQ53ZjB3WnVfxC1kFL6EH1ni/GOdRmWoC2 W0Hn/NyD0EogPFji80IRdBVYS8peAfO5jCYKKdZCd7iFDhFH3ASfm4fnmV3/uiiwx9xD bCgoeKcCDNuRrP3HL41RjqI4MSUVKG3M423rn4ZSSub712IjpdDhy4thitsuTtlml9ze 7A4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=/K30Hnw/486FBZhpHPo8deJDqXLDx1BCilmBWNy5TIM=; b=aMyFM+wLc7/LFv1zdz2Pw5RQcEDmvAF5U4YVLCG4+Zxut7vx//ikrzCwG4mUzj/X0F ihUG7ZGkmr8rQBcTQEPUy5FEifANe+6LbAIMLWL+Jm+I8KhrqyN0d9rmUU2oHC2QKgS1 f3F8TyAhVEqtopulBnyXxeGgfK0QpnNnf5+ZKkwPlxRiinLaU7guYYtZLc533lNzmXH4 LgV97FMMddEpUcokSnjTUr1/5yJgKAhHtl+Ya8M6yKFga5MZPZvpYuw3mvw9Lk66TJ1V b5M26yS/GLvlO+GbCjPWsjskpCXrON/be8+OvLBwPtTSQVq/kjY6OGCLZcJt25sI5GQ2 vP3Q== 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 j61-v6si6513705plb.395.2018.03.16.09.34.02; Fri, 16 Mar 2018 09:34:16 -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 S1753008AbeCPQbM (ORCPT + 99 others); Fri, 16 Mar 2018 12:31:12 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:45116 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752878AbeCPQbJ (ORCPT ); Fri, 16 Mar 2018 12:31:09 -0400 Received: by mail-pl0-f67.google.com with SMTP id v9-v6so6209758plp.12 for ; Fri, 16 Mar 2018 09:31:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=/K30Hnw/486FBZhpHPo8deJDqXLDx1BCilmBWNy5TIM=; b=SXMwogg50kuhjWuOtZDAeDTJw4TiZWtQ1iw6A4mnQ96VoL9z4KsUuthqCdpWJ1bFQD 3OGLVcDALw15tNUNDz+lQZegdU9fCm/QIraVoXNEvF9bZSWToKxyxHC+3ht5xrXyzOo7 FPu/U+9f6xHjr70xwNh0CWB0U0Z2+I52EGF83UNAzwx6DC500ytgt4Rn6vpoAqPbu1tF /Ysyo2WKWaIuegrFU3C728QRsRdpJsAAjY4lhmkSfyBKghJd1sLLbvibVzGALsaQHu81 QCaSaUTHF7w9SOXxLEeOeg/9GwWYWZeZcHnqq7XS7WtBksr7ZcD99voG4rOpqCnfVQL3 dxnQ== X-Gm-Message-State: AElRT7FtBm0uiXry+OfQOx8OyhyeUXYh9s9qMCEoHisMM7UdnJZQkdfR 2MYcSTr+3yGXVh4ar2g/GxSAEw== X-Received: by 2002:a17:902:5489:: with SMTP id e9-v6mr2823068pli.81.1521217868611; Fri, 16 Mar 2018 09:31:08 -0700 (PDT) Received: from localhost (207-114-172-147.static.twtelecom.net. [207.114.172.147]) by smtp.gmail.com with ESMTPSA id y1sm14486832pgs.80.2018.03.16.09.31.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Mar 2018 09:31:07 -0700 (PDT) Date: Fri, 16 Mar 2018 09:31:07 -0700 From: Moritz Fischer To: Paolo Pisati Cc: Alan Tull , Moritz Fischer , Rob Herring , Mark Rutland , linux-fpga@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt: bindings: fpga: add lattice machxo2 slave spi binding description Message-ID: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1521215669-23874-2-git-send-email-p.pisati@gmail.com> User-Agent: NeoMutt/20171215 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 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 > --- > .../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