Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp4456882imm; Mon, 15 Oct 2018 15:23:33 -0700 (PDT) X-Google-Smtp-Source: ACcGV62miloW50gQxsxnUvP+tuz9Wej/SBtUPi637GijxBIPiL3aA4YoGGnLsQhKAxIY01+L5dxQ X-Received: by 2002:a63:fe13:: with SMTP id p19-v6mr17486011pgh.265.1539642212998; Mon, 15 Oct 2018 15:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539642212; cv=none; d=google.com; s=arc-20160816; b=DwTFa01eB2rZfvizxO2bKAiiXFE8zWcImxqzcNik0SBIDITyXS0zB3S5HKyTuAmx9L uXoG+NktROqOWQuerArpwsy9wmbp2RociQR6x0NGbySiT+ruCTzOC8Q6NphtPG3x5ojo 36yYDcDSKCVQERQghlOUNYwDKa/jJ4l851Cz44pjfVj+0IbRBAtjA/9JrT4iU3smvNTe qBZohld6YxLRmA+NOytQsN71Tylef25VjXBZCH6ob8nIzWnIqffwMnRLpgdHJj5LJ59q CC6xcHjXiuU6L/4FFgEuFp0UAqnzCe18AxwMLUksRGmI+PDl51Q0UctVf/2gMHSOXX5m qIqg== 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; bh=ls61kVY1TBYdJyLVlnRuj2JVZtw1PvHrJ3PzawMfgJA=; b=P0Jgx1kFcFm2ppLGJcPaRc1ZSt/m3ZhTXxpy5Ne6lE3bI/NC0MLlpMntAU/DpvDjZq WYVBghmxk7oUc07o6IjmPcFPcReRde2YxL5IfmarBZwCPC5ddb852Jf0rpUbDVNNfETL xnfOZWQ1x9PpdAdYZ+lMhuaTeaGLCPYrDC9MAec1nXXpATL4FvFjwZHN349Eu6Gn42Gv k2AsO+0+75k8deeWPJVb/j65cPvVT9WGz2sdBOI3j7Y5uVJ/Ta1WmPKz1VICeS1u7qJD LgqefQ+CrUcuTIpTAG5JjGWNd+lf+4rUN6Nk1+4+M7Y0fy9MGuaHZSkmxbTcWckElEKG 8QJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TGI68gOW; 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 t33-v6si11875960pgk.141.2018.10.15.15.23.17; Mon, 15 Oct 2018 15:23:32 -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=TGI68gOW; 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 S1727028AbeJPGHc (ORCPT + 99 others); Tue, 16 Oct 2018 02:07:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:38188 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726771AbeJPGHc (ORCPT ); Tue, 16 Oct 2018 02:07:32 -0400 Received: from localhost.localdomain (user-0ccsrjt.cable.mindspring.com [24.206.110.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8AF122054F; Mon, 15 Oct 2018 22:20:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539642021; bh=oOys1xQ7g8DgQ8xHWOiWf0OAEO6cN+1XJp0XSar3ooo=; h=From:To:Cc:Subject:Date:From; b=TGI68gOWA2jf0slyFBYG2vAwpyV2IRjtJB9BAzI1HcCwIBWQ5svBbjNkuCk/3aSU/ kHl4+QPn9kWULeQxJvKPKJKhmdbqbBrzNDqcQj6hrzGa/Gqrpb4X8uwkTU0vSz9mVv Mu5+mBTgGnDLK+6etVNv4zOHL41e7zkHGZXO0COc= From: Alan Tull To: Greg Kroah-Hartman Cc: Moritz Fischer , Alan Tull , linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org Subject: [PATCH 0/4] fpga: add managed create functions Date: Mon, 15 Oct 2018 17:20:00 -0500 Message-Id: <1539642004-18473-1-git-send-email-atull@kernel.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Greg, Please take these four patches that have been reviewed on the mailing list. They all apply and build cleanly on the current linux-next and char-misc-testing. The first 3 add managed create functions for the FPGA API. The fourth is documentation rework. Alan Alan Tull (4): fpga: mgr: add devm_fpga_mgr_create fpga: bridge: add devm_fpga_bridge_create fpga: add devm_fpga_region_create docs: fpga: document programming fpgas using regions Documentation/driver-api/fpga/fpga-bridge.rst | 37 ++---- Documentation/driver-api/fpga/fpga-mgr.rst | 126 +++------------------ Documentation/driver-api/fpga/fpga-programming.rst | 107 +++++++++++++++++ Documentation/driver-api/fpga/fpga-region.rst | 91 +++++++-------- Documentation/driver-api/fpga/index.rst | 2 + Documentation/driver-api/fpga/intro.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 | 6 +- drivers/fpga/dfl.c | 6 +- drivers/fpga/fpga-bridge.c | 68 +++++++++-- drivers/fpga/fpga-mgr.c | 64 +++++++++-- drivers/fpga/fpga-region.c | 65 +++++++++-- drivers/fpga/ice40-spi.c | 10 +- drivers/fpga/machxo2-spi.c | 11 +- drivers/fpga/of-fpga-region.c | 6 +- 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 | 4 + include/linux/fpga/fpga-region.h | 4 + 31 files changed, 412 insertions(+), 326 deletions(-) create mode 100644 Documentation/driver-api/fpga/fpga-programming.rst -- 2.7.4