Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp948030imm; Wed, 26 Sep 2018 09:12:54 -0700 (PDT) X-Google-Smtp-Source: ACcGV63DdGDsT3mkenS1t/onSw5nAQo4Hi48iy+gA/MEfl23LpwYFLN0jUAYyUJ2Bycbv6BhvyuI X-Received: by 2002:a17:902:292b:: with SMTP id g40-v6mr6702622plb.223.1537978374790; Wed, 26 Sep 2018 09:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537978374; cv=none; d=google.com; s=arc-20160816; b=QL9vQehwp6s2APP28eIL0NNwdW3j73oIDaXE/zuZUvcyk/qh02jCU5uWFcH1FxLqzH iVU17eEqFwnvv7UkwOkPicliULTG5P1RKXv6u2S12x/HJ98xyYzORrgHHGtfZKiji88g 1lKHASZXdNMDVZB8WZH4VGduWG0x/Ue+UZQ8aJekWsNKbF+2IoMTjYm1dXP77CxPch3p LXfMkDp46KpD7aArQPk2+ygiLnj/kQf6fMHH74VvKZyiPORw463l2tsB8UmNSvi/PT5N S3C4FY0+LYTaeGPJCjcy0CrXf2vXlhlmwU1aHpqr7N5Tkw394nR3LvH2ovI1WJuYHXg6 IkhQ== 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=F9z83C35piGasAwPa7wiL48S4wrt2Yve+SwmUw4XSdg=; b=YoXw7I6ucqVkv8pGdRNmy/ItzNTaEd25qfwGnApAdTP41pLix0VBdAMv/jSu9cTFNZ EIQ1mFvE+28UazDZVUi4IXbz0FUbI3hwNtA/Jh1dx0kDSq6SNiv75gzKE9HJMvj6NpYH 322vo8czc1kfvChLBgEGXLKtWsVgj9LPhHkuqkVfWkZqJ5+PodzOIu0wTRCJl6TxqzFZ HwTJ1JZFch9jhZiZus/qbLdQdFXP+KeA/taTXCuIon4gHfpWyySrRYxltK5XHA3zXyHx WxyOr1075VjeEpRiMJUO5MNjLmQ51Iah0+dTRlgV+ksdw9puqzUDOwT3kKTJP4pgDl25 nBOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lM5EReX1; 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 s195-v6si5585438pgs.492.2018.09.26.09.12.38; Wed, 26 Sep 2018 09:12:54 -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=lM5EReX1; 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 S1728488AbeIZW0I (ORCPT + 99 others); Wed, 26 Sep 2018 18:26:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:54452 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727442AbeIZW0H (ORCPT ); Wed, 26 Sep 2018 18:26:07 -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 5F52B2151C; Wed, 26 Sep 2018 16:12:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1537978348; bh=33TV/+XaIUDpufwMbFUhy2R1V/Z01HcvA1T6OInGDRc=; h=From:To:Cc:Subject:Date:From; b=lM5EReX1JX8MwDD2YeJBNChjlxz1dk0N2c4tf7MGqT+kQyJwzeVcKz6BDyZhkWnoM m26Ry9O20/crjeEROgVmsx82javTC+KuPfSHDZMmkbGzDGaUCvU0Q1CkfaxnO3BSvB H0PwHIPgRGN0PlcPZFkBxt9zjlsQH1EGRBGili70= From: Alan Tull To: Moritz Fischer , Jonathan Corbet Cc: Randy Dunlap , Federico Vaga , linux-kernel@vger.kernel.org, linux-fpga@vger.kernel.org, linux-doc@vger.kernel.org, Alan Tull Subject: [PATCH v3 0/4] fpga: add devm managed create APIs Date: Wed, 26 Sep 2018 11:12:18 -0500 Message-Id: <1537978342-17697-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 Implement managed devm_fpga_(mgr|bridge|region)_create() functions. Patchset is dependent on the patches that were acked/sent upstream: https://lkml.org/lkml/2018/9/12/639 v3 changes: * take out unclear explanation fpga_(mgr|br|region)_unregister * Add acks * drop the separately resent "dt-bindings: fpga: fix freeze controller compatible in region doc" * drop some of the acked patches that I send to Greg 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