Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp316638imi; Thu, 21 Jul 2022 01:05:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tq90yZ19nziVVswjH5Co2ocdJgKe24hUbVRS7YEFW/tvdeafTVJSketyIlWJKKpLAQfEQ2 X-Received: by 2002:a05:6402:48c:b0:43a:8bc7:f440 with SMTP id k12-20020a056402048c00b0043a8bc7f440mr55261045edv.8.1658390707140; Thu, 21 Jul 2022 01:05:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658390707; cv=none; d=google.com; s=arc-20160816; b=03CLD5y36JJoe5OjTBxzyupkmWZ1CgJaiBv0ik44mPfQ/Qoe6DBvng7xcgAdjvt92h p244+e7OCkA9wA6CItKEz2FFFgmYMAdjaT9q4pvG6+8gpnUlu6133w0sjn9GtwE9WejZ VbEacrdyfQoJc6ffbPhnmrAUxaJSvNJ+dtDKiCm6Dg+P9Ldkj5nyLaEXNv0MozD70/O1 s5S4qWuMM+HeR9zRyCIvQfQmQL/fxX7OKeywtm5iD4PPzr1f8+n1QVem3pg9ESc2vpP3 KdkZ4m6/ZtwmzfFjOxs7ivPm/2hhwYiTIpE3FvkG5ggeGn+Ktinl8LF7M9dwgjGxuFQG gGcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=O5VuXctm3qVBdEUahyWAgOCqCNuFPbKr0TU7MVCWtZg=; b=oYZQJMw1QxvZzuzY6+8mnPfyeMmnVqQGAxZmqAaqsUvQxWp4ATwuiZFjgb6JRIySzA oiH4HHxIq2bwloftFBWr9QIhIC3Diww+NtHEQJuP+ziBdjKh82gQsxjeFjPjawfrJWq3 8nez0weVWjyWulArI3vXyUboMORcNe5xONB05MpW+CJcTIgGZDClPADUt5KsK1ExJicO agSgWGUo9EfZUutsYHUmE2iO/2MDYpYOreMmn4Z9TgVxz8i1odshF/71koRQ9LLmlO95 RngMx8VXlxuCa9GIFH6SmWU4UmfVjDN+KNEaXACHaS/FfYql4sd+7qi05FZZxg8Z2wIp ZPzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=H4atNDE3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e28-20020a056402331c00b0043a9bb390d3si1569566eda.278.2022.07.21.01.04.41; Thu, 21 Jul 2022 01:05:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=H4atNDE3; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231330AbiGUHxP (ORCPT + 99 others); Thu, 21 Jul 2022 03:53:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229539AbiGUHxN (ORCPT ); Thu, 21 Jul 2022 03:53:13 -0400 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F3A77CB6B; Thu, 21 Jul 2022 00:53:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1658389992; x=1689925992; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=F/IFKPNNCoSx3pRfE5e/uwKggWX4TPWvNE5TXI91sQ0=; b=H4atNDE37CFGv1CLo43aHD9hoL86ky7eqCTN1Z5t9lOfQ8r22dOhML14 sLbp23ve3hpXlhNtaXjMFm0jYEth1dL593I6S0woHFb1Chhwh1J5GNMX9 hV5xhPqcZ1KUvpX8wGF7mPeQhs+NsL2uWcp9b2IZPUEAE+Zy86XxE/NVQ 0iq6InVs5IA8wtAvGYmylOzusLJCI7HlPX6iGHBP6MbuaV2gHZm/jpe0S mrlln9UG9FNgal0MwW1th84S26Y/D1u1k/rSqJuYLvdqSCDuvFBv8MMvB i5jHbdHi5Nr7r3Ts45GMtyjaH9wyyhW9t+KxYLjCQLr3Az2e/4KMOsjut g==; X-IronPort-AV: E=McAfee;i="6400,9594,10414"; a="288143430" X-IronPort-AV: E=Sophos;i="5.92,288,1650956400"; d="scan'208";a="288143430" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jul 2022 00:53:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,288,1650956400"; d="scan'208";a="626009740" Received: from yilunxu-optiplex-7050.sh.intel.com (HELO localhost) ([10.239.159.165]) by orsmga008.jf.intel.com with ESMTP; 21 Jul 2022 00:53:09 -0700 Date: Thu, 21 Jul 2022 15:44:31 +0800 From: Xu Yilun To: Ivan Bornyakov Cc: mdf@kernel.org, hao.wu@intel.com, trix@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-fpga@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, system@metrotek.ru Subject: Re: [PATCH v5 0/2] Lattice ECP5 FPGA manager Message-ID: <20220721074431.GA1712998@yilunxu-OptiPlex-7050> References: <20220719112335.9528-1-i.bornyakov@metrotek.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220719112335.9528-1-i.bornyakov@metrotek.ru> X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 19, 2022 at 02:23:33PM +0300, Ivan Bornyakov wrote: > Add support to the FPGA manager for programming Lattice ECP5 FPGA over > slave SPI interface with .bit formatted uncompressed bitstream image. I didn't have time to looking into the patches yet, but I have some quick question. Where is the bitstream data writing to? To the FPGA active region or the backup nvmem like flash? After reconfiguration, how to re-enumerate the hardware devices in the newly programmed FPGA region? Thanks, Yilun > > ChangeLog: > v1 -> v2: > * remove "spi" from compatible string > * reword description in dt-bindings doc > * add reference to spi-peripheral-props.yaml in dt-binding doc > * fix DTS example in dt-bindings doc: 4-spaces indentations, no > undersores in node names. > v2 -> v3: > * fix typo "##size-cells" -> "#size-cells" in dt-bindings example > v3 -> v4: > * dt-bindings: reword description > * dt-bindings: revert props order > v4 -> v5: > * dt-bindings: remove trailing dot from title > * dt-bindings: reword description to avoid driver reference > * dt-bindings: add "Reviewed-by: Krzysztof Kozlowski" tag > > Ivan Bornyakov (2): > fpga: ecp5-spi: add Lattice ECP5 FPGA manager > dt-bindings: fpga: add binding doc for ecp5-spi fpga mgr > > .../bindings/fpga/lattice,ecp5-fpga-mgr.yaml | 74 +++++ > drivers/fpga/Kconfig | 7 + > drivers/fpga/Makefile | 1 + > drivers/fpga/ecp5-spi.c | 275 ++++++++++++++++++ > 4 files changed, 357 insertions(+) > create mode 100644 Documentation/devicetree/bindings/fpga/lattice,ecp5-fpga-mgr.yaml > create mode 100644 drivers/fpga/ecp5-spi.c > > -- > 2.37.1 >