Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752875AbbLNRQi (ORCPT ); Mon, 14 Dec 2015 12:16:38 -0500 Received: from mail-wm0-f46.google.com ([74.125.82.46]:36422 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752228AbbLNRQh (ORCPT ); Mon, 14 Dec 2015 12:16:37 -0500 MIME-Version: 1.0 In-Reply-To: <1449790629-5517-1-git-send-email-atull@opensource.altera.com> References: <1449790629-5517-1-git-send-email-atull@opensource.altera.com> Date: Mon, 14 Dec 2015 09:16:33 -0800 Message-ID: Subject: Re: [PATCH v14 0/7] fpga area and fpga bridge framework From: Moritz Fischer To: Alan Tull Cc: Rob Herring , Josh Cartwright , Greg KH , Michal Simek , Michal Simek , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Jonathan Corbet , Linux Kernel Mailing List , Devicetree List , linux-doc@vger.kernel.org, Pantelis Antoniou , Alan Tull , "dinguyen@opensource.altera.com" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1353 Lines: 38 Hi Alan, On Thu, Dec 10, 2015 at 3:37 PM, wrote: > From: Alan Tull > > For v14 I'm dropping the concept of "simple-fpga-bus" for "fpga-area" > with reworked bindings. I had an offline discussion with Josh Cartwright about his concerns. He brought up a good point on w.r.t to the way FPGA Area (Bus) deals with things. Currently we only support complete status = "okay" vs "disabled" kind of overlays. If now you have say a UART in the FPGA that you don't want to go away and come back on reload, we don't have a good way of expressing this. Is there a good way to express non-mmio FPGA devices? I've been toying around with hacking up struct device to include a FPGA 'domain', and then, similar to power domains allow devices to register suspend() / resume() style callbacks (could call them pre_reload() or something like that ...) I haven't gotten around to think it through. At this point it's just an idea and I don't have real code to show. I realize the issue with that is we'd have to make changes to struct device. Cheers, Moritz -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/