Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4908158ooa; Tue, 14 Aug 2018 12:18:44 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxQ4m7JWWwwbwEow/WLYYEEUkaEGFFqnlpWYx9rih7IYDtFbPrx7x/sSM+c01DF3Cv2VMcY X-Received: by 2002:a62:c699:: with SMTP id x25-v6mr25094152pfk.16.1534274324887; Tue, 14 Aug 2018 12:18:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534274324; cv=none; d=google.com; s=arc-20160816; b=jlmiomk1keRQ4FzoptBw53GBXchqB5F7j2wZjBfgoiNnZ7O/9crpAJxke8fg+0436r jpWx4p8LxwUmY6wMUAEa+P2meWayB+qtDcAoc/4zlcEwLpKmXhp/h7YqhvOHp9JnHvqN PaFQteQbj46MslTgAmkjj1qtRUPIiC6OumP3yfp5RMPcAidf2aJnB+63doy5haSoZ2U5 G+qb+o9is5k4VjKVLHQAMwliuHowSjlLROVWFU7gjSxJnhSX5I32Ex9eePCdFxWY/VOS kNgtbv2Azxv3nSy69Brwlf/nLjkQn951pW0plhNiINR4dpc1ORC9YlShVGXwP8n2twp/ E6HA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=uooR8OMzLMIQUgnsY7NGeG+skNWpGBuW21LqNrXgET8=; b=axfVs67TclQ7sNnmo4z3dKC953xiZZog/aP5DZf9QjX6BVq03qT5luR3y4Dgjb6bsA RyGsOVgAmlhU5ZGXc5p41rfZNT7/kjECu38kDXDx57GXUDD7uPlwOGP7V6PdMUUB4cmH v3CWSLKLpjPSpmlCwiaYXZSJ62aUH248i8SypP6o5Mmwfg2peeb4fCiS2kzcDSUjhxH9 LbAjErbFx/nytG7mTp2/kjy3I4CoAwAju+XJWZDOFP+vOfLjSLx9tG8tKK3Od41lItWc Cu8H9TD0K36+Eek1evSb0pGTYRgy/W1l038c4bTQXy73ExMEpEgLTZKRNuZDzmmw7scn dlRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Oqb7+WuL; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d17-v6si17996588pgp.549.2018.08.14.12.18.30; Tue, 14 Aug 2018 12:18:44 -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=@kernel.org header.s=default header.b=Oqb7+WuL; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729110AbeHNWEJ (ORCPT + 99 others); Tue, 14 Aug 2018 18:04:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:50480 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727755AbeHNWEJ (ORCPT ); Tue, 14 Aug 2018 18:04:09 -0400 Received: from localhost.localdomain (unknown [192.55.54.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 92BFB21728; Tue, 14 Aug 2018 19:15:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1534274132; bh=Rxg8jjDPFGr/FWvE2notugq1IlsYKbV2wefZKAKXDq0=; h=From:To:Cc:Subject:Date:From; b=Oqb7+WuLfZIvRFT1pAS8WiytXT/CAYzZLSXqDzJa6/zr0T//Su7p5L2ZjPnXL6cRQ 6LZr9tjvw4g8QYYmVB93mc5ZBBltftrWe4CsGZGJhloZugWfjrtgKaSzqMrw/7IB0f QK8MI4CDieA8sfnyaV9CZzHQdp4heI38JGMpAtnM= From: Alan Tull To: Moritz Fischer , Jonathan Corbet Cc: Randy Dunlap , linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, linux-doc@vger.kernel.org, Alan Tull Subject: [PATCH 0/8] fpga: Add managed create in FPGA API Date: Tue, 14 Aug 2018 14:15:18 -0500 Message-Id: <20180814191526.3247-1-atull@kernel.org> X-Mailer: git-send-email 2.16.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix one functional FPGA bug. Implement managed devm_fpga_(mgr|bridge|region)_create() functions. More documentation cleanup to make the documentation more helpful and to emphasize the use of FPGA regions for FPGA programming. Fix a few minor documentation corrections. Alan Tull (8): fpga: do not access region struct after fpga_region_unregister fpga: mgr: add devm_fpga_mgr_create fpga: bridge: add devm_fpga_bridge_create fpga: add devm_fpga_region_create dt-bindings: fpga: fix freeze controller compatible in region doc fpga: bridge: fix obvious function documentation error docs: fpga: document fpga manager flags docs: fpga: document programming fpgas using regions .../devicetree/bindings/fpga/fpga-region.txt | 4 +- Documentation/driver-api/fpga/fpga-bridge.rst | 37 ++----- Documentation/driver-api/fpga/fpga-mgr.rst | 121 +++------------------ Documentation/driver-api/fpga/fpga-programming.rst | 103 ++++++++++++++++++ Documentation/driver-api/fpga/fpga-region.rst | 91 ++++++++-------- Documentation/driver-api/fpga/index.rst | 2 + drivers/fpga/altera-cvp.c | 8 +- drivers/fpga/altera-fpga2sdram.c | 8 +- drivers/fpga/altera-freeze-bridge.c | 13 +-- drivers/fpga/altera-hps2fpga.c | 7 +- drivers/fpga/altera-pr-ip-core.c | 9 +- drivers/fpga/altera-ps-spi.c | 11 +- drivers/fpga/dfl-fme-br.c | 11 +- drivers/fpga/dfl-fme-mgr.c | 11 +- drivers/fpga/dfl-fme-region.c | 10 +- drivers/fpga/dfl.c | 6 +- drivers/fpga/fpga-bridge.c | 74 +++++++++++-- drivers/fpga/fpga-mgr.c | 67 ++++++++++-- drivers/fpga/fpga-region.c | 68 ++++++++++-- drivers/fpga/ice40-spi.c | 10 +- drivers/fpga/machxo2-spi.c | 11 +- drivers/fpga/of-fpga-region.c | 9 +- drivers/fpga/socfpga-a10.c | 5 +- drivers/fpga/socfpga.c | 10 +- drivers/fpga/ts73xx-fpga.c | 11 +- drivers/fpga/xilinx-pr-decoupler.c | 4 +- drivers/fpga/xilinx-spi.c | 12 +- drivers/fpga/zynq-fpga.c | 5 +- include/linux/fpga/fpga-bridge.h | 4 + include/linux/fpga/fpga-mgr.h | 22 +++- include/linux/fpga/fpga-region.h | 4 + 31 files changed, 437 insertions(+), 331 deletions(-) create mode 100644 Documentation/driver-api/fpga/fpga-programming.rst -- 2.7.4